• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 37. Developing Java Applets > Leveraging Java Classes and Packages

Leveraging Java Classes and Packages

Although operators and data types are obviously very important in Java, classes are where the real action is.

A class is a group of objects with similar properties (attributes), common behavior (operations), common relationships to other objects, and common semantics. An object, on the other hand, is an instance of a class, dynamically created by the program during runtime. In other words, classes define objects; objects, on the other hand, are specific, concrete instances of a class.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint