Java PPT-1
Java PPT-1
KM NITHYA
II M.COM (FCA)
18COMB21
MEANING
A class, in the context of Java, are templates that are used to
create objects, and to define object data types and methods.
Core properties include the data types and methods that may be
used by the object. All class objects should have the
basic class properties.
A class is an entity that determines how an object will behave
and what the object will contain. In other words, it is a blueprint
or a set of instruction to build a specific type of object.
What is Class
Modifiers
Class name
Superclass
Interfaces
Body
Modifiers : A class can be public or has default access