what is difference between class and object?
Answer Posted / shingala ankit
The class is a main entity in which all the data members and member functions are defined and objects is one by which we can access these data members and member function in order to achieve a task.
each class can have one or more objects of its own but each and every objects can have only one and only one class.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the basic concept of java?
What is a class object?
Write a program to search a number in the given list of numbers.
If you are given the name of the function at run time how will you invoke the function?
Explain java code for recursive solution's base case?
Can we inherit inner class?
Is java a virus?
What is starvation?
What is numeric function?
Explain about the security aspect of java?
Where can I find jdk in my computer?
How many types of parsers are there?
What is java string pool?
What does mean in regex?
What is gc()?