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
Can arraylist hold different types java?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
What is the byte range?
what is use of functional interface in java 8?
What is the access scope of a protected method?
What is adapter in java?
Explain the differences between static and dynamic variables?
What about features of local inner class?
Can we define static methods inside interface?
What is an empirical question?
What is a parameter in a function?
Is empty .java file name a valid source file name?
What is the difference between a checked and an unchecked exception?
Explain jdk, jre and jvm?
What is string pool?