what is difference between class and object?
Answer Posted / tamanna yesmin(jagannath unive
Objects contain data and code to manipulate that data where
the entire set of data and code of an object can be made a
user defined data type using the concept of a Class.
A class
may be thought of as a"data type" and an object as
a"variable"of that data type
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Why scanner is used in java?
What are dot operator queries?
What are white spaces in java?
What is a java string?
Can a static class have a constructor java?
What 4 doubled?
What is the public field modifier?
Why stringbuilder is not thread safe?
How can we make a class singleton?
Explain about member inner classes?
What are the advantages of unicode?
What is Mutex (Mutual Exclusion Object) ?
Describe 2 different ways to concatenate two strings.
What’s the difference between the methods sleep() and wait()?
What is an off by one error in java?