what is difference between class and object?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / ekta choudhary
ex of class is fruit mango
ex of object is car .
Is This Answer Correct ? | 5 Yes | 27 No |
What is difference between overloading and overriding in java?
what is polymorphism?
What is the benefit of abstract class?
How will you compute size of a structure?
What is comparator in java?
What is the difference between actual and formal parameters?
what is Assertion?
how a marker interface gets its functionality and when we implements a marker interface how it got invoked
What are variable arguments or varargs?
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?
What is the functionability stubs and skeletons?
Can we have more than one package statement in source file ?