what is difference between class and object?
Answer Posted / lolo
OBJECT
A software bundle of related state and behavior. Stores the
state in fields and express its behavior through methods.
The methods operate on an object's internal state. Object
is a Physical reality.
CLASS
We can define a class as a blueprint from which the
individual objects are created. Uses a new operator to
create the instance of the class. Class is a logical
construct.
Is This Answer Correct ? | 84 Yes | 22 No |
Post New Answer View All Answers
What is the java project architecture?
What is byte data type?
Explain when classnotfoundexception will be raised ?
What are the differences between getting and load method?
Name few java 8 annotations ?
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
What is final int?
Is .net better than java?
What is identifier with example?
Can a class declared as private be accessed outside it’s package?
What is numel matlab?
What is meant by null and void?
What is the different types of functions?
How to restrict a member of a class from inheriting by its sub classes?
How can we run a java program without making any object?