Announcements

7/7/99


Click here to start


Table of Contents

Announcements

Today�s Topics

Review

Why Static?

Use �static�

Example

Picture of Previous

How this works

In Practice. . .

Private and Static

Final and Static

Review so far. . .

Static Methods

So, why is main static?

Example of static method

Math class - lots of static methods

How to call these methods?

Where to find this stuff?

Conditional Operator

Example of conditional operator

Another example of ternary op

Floats and Doubles

Precision in Java wrt floating point values

Wrapper classes

Author: millett

Email: millett@cs.cornell.edu

Home Page: http://www.cs.cornell.edu/cs100-su99/

Other information:
CS 100 Summer 1999 Lecture Notes