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 mutable classes?
What is difference between array and arraylist in java?
Can you declare a private method as static?
What is ++ a in java?
Java is pass by value or pass by reference? Explain
Is the milky way in a void?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
What is module in project?
Write a function for palindrome and factorial and explain?
Does java return by reference?
What is the final keyword?
What is the synchronized method modifier?
What is a numeric literal?
What are different types of multitasking?
What do you understand by access specifiers in Java?