The class definition of a java is given below
A class is a way of binding the data and associated methods in a single unit.
Syntax to declare class:
Class class name
{
Variables declaration;
Methods declaration;
}
No comments:
Post a Comment