Java Objects : Java Lab 2

Java classes and objects

The class is defined as the blueprint a specific object.

The object consists by the “method” and “property”.

  • A property is attributes of an object. It is like an adjective.
  • A method is something we do to or on an object. It is like a verb.

To become a Java programmer we must learn two things: how to use classes that other people have created and how to create our own Java classes.

コメントはまだありません

コメントする