Tuesday, April 21, 2009

Classes and Data Types in Java

After a closer look at the HelloWorld program (see presentation: How Java Programs work?) we are transferring our knowledge about classes from Alice to Java today.
By doing that you will also learn about variables and primitive data types in Java. You have seen data types for parameters of methods in Alice, but we have never talked about variables.
Variables can be used to store and manipulate values for the properties of a class. Those properties are called attributes in Java.

The presentation Java Classes and Data Types will help you to understand the details.

No comments: