ITI 1121 Lecture 1: Basics 1
Document Summary
The class can be seen as the blueprints of the object itself. Here is where all the code for the object is written. If for say, you were to make a bicycle by using the object we made previously, we would say that we have made an instance of the class bicycle. The following class can be seen as an implementation of the bicycle: In java, every application must have the main method. Public and static can be written in any order but the above convention is used. It is the entry point for your application and starts every class or method of. There are many diferent objects in real life which could be shown in computers. Real-world objects share two characteristics: they have states and behaviors. Ex/ dogs have states (name, colour, hungry, etc. ) and they have behaviours (bark, fetch, eat)