Home : Course Map : Chapter 2 :
Chapter 2: Java Elements
JavaTech
Course Map

Introduction
Essentials
Structure

Keywords
Primitive Types
Comments
Literals
Expressions
Operators
Statements
Casts & Mixing
Strings
Console Output 
   Demo
Exercises

    Supplements
Conditional: if-else
Repetitions
Flow Control

Java vs C/C++
JVM Instructions 1

     About JavaTech
     Codes List
     Exercises
     Feedback
     References
     Resources
     Tips
     Topic Index
     Course Guide
     What's New

The biggest challenge of learning a new computer language deals with the fact that to do anything you must understand a number of new things all at once; but humans normally only learn one thing at a time.

You overcome this conundrum by just diving in and starting to write programs without understanding all the parts. You must use examples as guides until you get your arms fully wrapped around what is going on.

In this chapter we present many different elements of the language. However, you don't need to understand all of them now but can pick up the general aspects of the topics enough to write some simple programs. You will then come back to these topics again and again as your gain experience and familiarity with the language deepens.

Topics

Java

Supplements:

Tech presents the basic mathematical and numerical aspects of Java. Much of the detailed material here is for later reference:

Physics uses ordinary differential equations to illustrate some basics of numerical methods and simulation:

Latest update: Oct. 14, 2004

            Tech
Arithmetic Ops
Math Class
More on Integers
FP : Overview
FP : Java  
  
Demo 1
More Mix/Cast
  Demo 2
Exercises

           Physics
Differential Eq.
Euler Method
  
Demo 1
Predictor-Corrector
  
Demo 2
Exercises

  Part I Part II Part III
Java Core 1  2  3  4  5  6  7  8  9  10  11  12 13 14 15 16 17
18 19 20
21
22 23 24
Supplements

1  2  3  4  5  6  7  8  9  10  11  12

Tech 1  2  3  4  5  6  7  8  9  10  11  12
Physics 1  2  3  4  5  6  7  8  9  10  11  12

Java is a trademark of Sun Microsystems, Inc.