what is difference between class and object?
Answer Posted / ayisha shoukat
CLASS:
A class is a collction od data members and member
functions.in class data members are private usually
and member functions are private.
And
A class is also like a data type therefore it is used to
declare variabes in oop.
OBJECT:
The variables of a class are objects.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the steps involved to write rmi based programs?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
Tell us something about an iterator.
Is hashset ordered?
What are the basic interfaces of java collections framework?
What is a jagged array in java?
What are the rules for naming an array?
Can a class with private constructor be extended?
if u open login & logout ,how can udisplay the timelogin & logout members ?
Can you give names of Container classes?
Is simpledateformat safe to use in the multithreaded program?
What is the use of arrays tostring () in java?
What is use of inner class in java?
Explain the importance of throwable class and its methods?
What is application tier?