What is an object????
Answers
Answered by
5
Answer:
An object is an ínstance of a class. For example
class Abc{ —– This is a class
int a; —— This is a variable
public Abc(); —- This is contractor
public static void main (String args[]) ——- This is a method
{Abc a= new Abc(); —— This is object creation where ‘a’ is the reference variable or object name}}
Answered by
2
Answer:
An object is an abstract data type with the addition of polymorphism and inheritance.
May it help you
Mark me as brainliest
Please drop some thanks
Similar questions