Class: Class is a plan of software object our computer is going to create
Class is having three types of meanings
1.Actual Meaning
2.Design Meaning
3.Usage Meaning
Actual Meaning:
class is a plan of software object our computer is going to create
class is a logical representation(Imaginary representation)
Design Meaning:
Grouping smiler variables and methods doing so called classification
Usage Meaning:
it is a user defined data type,it is also called as complex data type bcoz it contains multiple variables and methods
Object:
It is a physical representation of a class(Actual representation)
software objects represented in the computer memory is called RAM
Diff b/w Class and Object:
Class is a logical representation(Imaginary representation)
Object is a physical representation(Actual representation)
Diff b/w two objects:
Two objects in the computer memory differentiated by their memory locations or memory address
software objects nothing but a Real-Time objects in the computer memory
For any given class we can create n no of objects depends on the availability of computer memory
No comments:
Post a Comment