What is class in JAVA - Tecnew

Home Ads

What is class in JAVA

What is class in JAVA

Share This
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