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


Please Help Members By Posting Answers For Below Questions

What is the java project architecture?

1778


What is byte data type?

541


Explain when classnotfoundexception will be raised ?

563


What are the differences between getting and load method?

534


Name few java 8 annotations ?

558






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.

7405


What is final int?

520


Is .net better than java?

548


What is identifier with example?

564


Can a class declared as private be accessed outside it’s package?

506


What is numel matlab?

642


What is meant by null and void?

526


What is the different types of functions?

551


How to restrict a member of a class from inheriting by its sub classes?

791


How can we run a java program without making any object?

535