What are the Object and Class that classes used for?
Answer Posted / ravikiran(aptech mumbai)
class is the template for members and methods to get declared
and object is the physical reality for a class and is used
to call the members and methods those are declared inside a
class
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are the different ways to handle exceptions?
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
Explain thread life cycle in java?
What is the difference between jfc & wfc?
What is finally in Java?
Why are parameters used in functions?
What is the right data type to represent a price in java?
Difference between abstract and concrete class ?
What is the generic class?
What is incompatible types in java?
what is a thread pool in java and why is it used?
Why is java multithreaded?
How would overload a function based on return type?
5 Coding best practices you learned in java?
Explain notifyall() method of object class ?