A class is a blueprint or prototype from which objects are created.
In a class we can have class variables and methods.
Through these methods we can do operations on variables as per the requirement.
A class can be public private.
public class can access outside the package also but not the private class
A class can be abstract, final static.
In a class we can have class variables and methods.
Through these methods we can do operations on variables as per the requirement.
A class can be public private.
public class can access outside the package also but not the private class
A class can be abstract, final static.
No comments:
Post a Comment