Tuesday, August 20, 2019

Class in JAVA

A class is simply a representation of a type of object; think of it as a blueprint that describes the object.

Just as a single blueprint can be used to build multiple buildings, a class can be used to create multiple copies of an object.

It defines the attributes and behaviors of objects.

It is the blueprint that defines an object

Class Contains Five elements:-

Class Test
{
1. variables
2. methods
3. constructors
4. instance blocks
5. static blocks
}

No comments:

Post a Comment

AME (Approval Management Engine)

AME (Approval Management Engine) : AME Stands for Oracle Approval Management Engine. AME is a self service web application that enables...