what is difference between class and object?

Answers were Sorted based on User's Feedback



what is difference between class and object?..

Answer / ravikiran

class is the template for members and methods
Object is the physical reality to access the members and
methods

Is This Answer Correct ?    31 Yes 40 No

what is difference between class and object?..

Answer / talha ameer

Class is an idea which is we think in our mind after we
create its oject which is consist on coding.

Is This Answer Correct ?    4 Yes 18 No

what is difference between class and object?..

Answer / ekta choudhary

ex of class is fruit mango
ex of object is car .

Is This Answer Correct ?    5 Yes 27 No

Post New Answer

More Core Java Interview Questions

What is difference between overloading and overriding in java?

0 Answers  


what is polymorphism?

5 Answers   Zensar,


What is the benefit of abstract class?

0 Answers  


How will you compute size of a structure?

0 Answers   Amdocs,


What is comparator in java?

0 Answers  






What is the difference between actual and formal parameters?

0 Answers  


what is Assertion?

4 Answers   Wipro,


how a marker interface gets its functionality and when we implements a marker interface how it got invoked

3 Answers   Mind Tree,


What are variable arguments or varargs?

0 Answers  


1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?

2 Answers   TCS,


What is the functionability stubs and skeletons?

0 Answers  


Can we have more than one package statement in source file ?

0 Answers  


Categories