ITI 1121 Lecture 1: Basics 1

173 views1 pages

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)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents