what is difference between class and object?
Answer Posted / santosh
objects basic runtime entities.object tack up space in memory.
when program executed the objects are sending messages each other.
class contain so many objects.class is set of data members and member functions.we invoke class must create object.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain the difference between private, public, package and protected in java?
What are 3 boolean operators?
Write a program to find the whether a number is an Armstrong number or not?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?
Why vector class is used?
What is meant by class loader? How many types are there? When will we use them?
Explain java coding standards for interfaces?
What are dot operator queries?
Is java jre still free?
What is the purpose of a parameter?
Can vector have duplicates in java?
What are the properties of thread?
Justify your answer that you can't define a method inside another method in java, if you can then how?
What is return code?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?