• Adventure
  • Auto
  • Culture
  • Entertainment
  • Home & Garden
  • Money
  • Science
  • Tech
  • Video
  • Shows
  • Blogs
  • Quizzes
  • Games
  • Random Article
  • Computer
  • Electronics
  • Home > 
  • Tech > 
  • Computer > 
  • Computer Software > 
  • Programming

by Marshall Brain

Print
Cite This!
Close 
Please copy/paste the following text to properly cite this HowStuffWorks article:

Brain, Marshall.  "How Java Works"  01 April 2000.  HowStuffWorks.com. <http://computer.howstuffworks.com/program.htm>  11 February 2012.
Cite
Feedback

Future of Computers

Watch now
Watch now
Inside this Article
  1. Introduction to How Java Works
  2. A Little Terminology
  3. Downloading the Java Compiler
  1. Your First Program
  2. Understanding What Just Happened
  3. Bugs and Debugging
  4. See more »
    1. Variables
    2. Looping
    3. Lots More Information
    4. See all Programming articles

Lots More Information

Related HowStuffWorks Articles

  • How C Programming Works
  • How Perl Works
  • How CGI Scripting Works
  • How Boolean Logic Works
  • How Web Pages Work

More Great Links!

  • The Java Tutorial
  • Java FAQ
  • The Java Language Environment: A White Paper
  • Introducing Java - Your First Applet
  • Java: the new language for Internet applications
  • New to Java Programming Center

VIDEO: Check out these videos about 3D Software and 11 incredible CAD videos. >>
Previous Page

Popular Tech Topics

The Ultimate Computer History Quiz
The Ultimate Computer History Quiz
Top 5 Myths About the Internet
Top 5 Myths About the Internet
How to Connect Your Computer to Your TV
How to Connect Your Computer to Your TV
How Capacitors Work
How Capacitors Work
How Cloud Computing Works
How Cloud Computing Works
Take a look at Computer Videos

You Might Also Like

The Basics of C Programming

If you are a programmer, or if you are interested in becoming a programmer, there are a couple of benefits you gain from learning Learn how to write computer programs in C.

How Adobe AIR Works

is well-known for Flash, Photoshop, Illustrator and other design software. So why did the company release AIR, a software development platform?

Popular Articles

  • How to Edit Functions in Excel 2010 Formulas
  • How to remove vocals from songs on iTunes
  • Tech Talk: Java Quiz
Inside this Article
  1. Introduction to How Java Works
  2. A Little Terminology
  3. Downloading the Java Compiler
  4. Your First Program
  5. Understanding What Just Happened
  1. Bugs and Debugging
  2. Variables
  3. Looping
  4. Lots More Information
  5. See all Programming articles
Previous Page

Popular Tech Videos

FPO
  • Cell Phone Tricks
  • Electronics Deconstructed
  • Ultimate Computer Hardware
  • How It's Made
  • Its All Geek To Me
  • See more»

New HSW Games

FPO
  • Storm Tracker
  • Memory Matrix
  • Crab Fishing Game
  • Volcano Explorer
  • Cannon Challenge
  • Speed Match
  • Lost in Migration
  • Word Bubbles
  • Color Match

Related Content

Prices: Java Books

  • Java After Hours: 10 Projects You'll Never Do at Work
    Java After Hours: 10 Projects You'll Never Do at Work

    Take your Java programming skills beyond the ordinary. Java After Hours: 10 Projects You'll Never Do at Work will make Java your playground with ten detailed projects that will have you exploring the various fields that Java offers to build exciting new programs. You'll learn to: Create graphics interactively on Web servers Send images to Web browsers Tinker with Java's Swing package to make it do seemingly impossible things Search websites and send e-mail from Java programs Use multithreading, Ant and more! Increase your Java arsenal by taking control of Java and explore its possibilities with Java After Hours.

    $27.04

  • Java Concurrency in Practice
    Java Concurrency in Practice

    "I was fortunate indeed to have worked with a fantastic team on the design and implementation of the concurrency features added to the Java platform in Java 5.0 and Java 6. Now this same team provides the best explanation yet of these new features, and of concurrency in general. Concurrency is no longer a subject for advanced users only. Every Java developer should read this book."--Martin BuchholzJDK Concurrency Czar, Sun Microsystems"For the past 30 years, computer performance has been driven by Moore's Law; from now on, it will be driven by Amdahl's Law. Writing code that effectively exploits multiple processors can be very challenging. Java Concurrency in Practice provides you with the concepts and techniques needed to write safe and scalable Java programs for today's--and tomorrow's--systems."--Doron RajwanResearch Scientist, Intel Corp"This is the book you need if you're writing--or designing, or debugging, or maintaining, or contemplating--multithreaded Java programs. If you've ever had to synchronize a method and you weren't sure why, you owe it to yourself and your users to read this book, cover to cover."--Ted NewardAuthor of Effective Enterprise Java"Brian addresses the fundamental issues and complexities of concurrency with uncommon clarity. This book is a must-read for anyone who uses threads and cares about performance."--Kirk PepperdineCTO, JavaPerformanceTuning.com"This book covers a very deep and subtle topic in a very clear and concise way, making it the perfect Java Concurrency reference manual. Each page is filled with the problems (and solutions!) that programmers struggle with every day. Effectively exploiting concurrency is becoming more and more important now that Moore's Law is delivering more cores but not faster cores, and this book will show you how to do it."--Dr. Cliff ClickSenior Software Engineer, Azul Systems"I have a strong interest in concurrency, and have probably written more thread deadlocks and made more synchronization mistakes than most programmers. Brian's book is the most readable on the topic of threading and concurrency in Java, and deals with this difficult subject with a wonderful hands-on approach. This is a book I am recommending to all my readers of The Java Specialists' Newsletter, because it is interesting, useful, and relevant to the problems facing Java developers today."--Dr. Heinz KabutzThe Java Specialists' Newsletter"I've focused a career on simplifying simple problems, but this book ambitiously and effectively works to simplify a complex but critical subject: concurrency. Java Concurrency in Practice is revolutionary in its approach, smooth and easy in style, and timely in its delivery--it's destined to be a very important book."--Bruce TateAuthor of Beyond Java"Java Concurrency in Practice is an invaluable compilation of threading know-how for Java developers. I found reading this book intellectually exciting, in part because it is an excellent introduction to Java's concurrency API, but mostly because it captures in a thorough and accessible way expert knowledge on threading not easily found elsewhere."--Bill VennersAuthor of Inside the Java Virtual MachineThreads are a fundamental part of the Java platform. As multicore processors become the norm, using concurrency effectively becomes essential for building high-performance applications. Java SE 5 and 6 are a huge step forward for the development of concurrent applications, with improvements to the Java Virtual Machine to support high-performance, highly scalable concurrent classes and a rich set of new concurrency building blocks. In Java Concurrency in Practice, the creators of these new facilities explain not only how they work and how to use them, but also the motivation and design patterns behind them.However, developing, testing, and debugging multithreaded programs can still be very difficult; it is all too easy to create concurrent programs that appear to work, but fail when it matters most: in production, u

    $34.86

  • Beginning Java 2
    Beginning Java 2

    What is this book about?The Java language has been growing from strength to strength since its inception in 1995. It has since proved to be both powerful and extraordinarily easy to learn and use. This is what makes it ideal for the beginner. With dramatic changes to the handling of files, and the introduction of native support for XML, Java has been updated to work faster and to be current with the incredible rise of XML as a medium for communicating data.This edition of the Beginning Java books outlines everything the beginning programmer needs to know to program with the Java programming language and the 1.4 Java Developer Kit (JDK). With the release of JDK 1.4, programmers can look forward to the most stable edition yet, and even better performance than was available previously.Over the course of the book, you will build an example application called Sketcher — a simple drawing tool — that teaches you how to build an interactive user interface with Java, how to save and open files, how to use color, and how to respond to user input.What does this book cover?Teaches the Java language from scratchObject-oriented Programming in JavaHandling errors and exceptions in applicationsManipulating data and filesConcurrent programming and threadsA comprehensive introduction to Swing, the graphical user interface API for JavaPrinting in JavaAn introduction to XMLWho is this book for?Ivor's inimitable style has proved to be a hit with nearly half a million people with its easy to learn approach and the many useful examples. Regularly voted the most popular Java programming book, this book teaches Java from scratch and assumes no previous knowledge. It is also suitable for those who have got some programming experience, especially C or C++, which will make learning easier.

    $37.02

HOWSTUFFWORKS
  • Adventure
  • Auto
  • Culture
  • Entertainment
  • Health
  • Home & Garden
  • Lifestyle
  • Money
  • Science
  • Tech
MORE STUFF
  • Blogs
  • Games
  • HSW Tools
  • RSS
  • Maps
  • Podcasts
  • Quizzes
  • Newsletters
  • Video
OUR WEBSITES
  • Animal Planet
  • Consumer Guide Auto
  • Consumer Guide Products
  • Discovery Channel
  • Discovery Fit & Health
  • HSW Brazil
  • HSW China HowStuffWorks China
  • Investigation Discovery
  • Oprah Winfrey Network
  • Planet Green
  • Science Channel
  • TLC
  • Discovery Education
  • Store
CUSTOMER SERVICE
  • Advertising
  • Contact Us
  • Help
CORPORATE
  • About Us
  • Careers @ Discovery
  • Privacy Policy
  • Visitor Agreement
TAKE US WITH YOU
FOLLOW US
© 1998-2012 HowStuffWorks, Inc