You are on page 1of 1

1. 2. 3. 4. 5. 6. 7.

In a program, one class and one main method should be included. Classes include methods, methods include statements Java starts executing from the braces after methods String[], define a string array Index starts from 0 An object knows things (instance variables) and does things (methods). When you create a class, you may also want to create a separate test class which you will use to create objects of your new class type.

You might also like