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
Which types of exceptions are caught at compile time?
What methodology can be utilized to link to a database?
What is general methodology?
What’s the difference between constructors and other methods?
Why do we need variables?
Can we have multiple classes in a single file?
Can abstract class have private constructor?
Explain restrictions for using anonymous inner classes?
How do you end a program?
What are voids?
What is the difference between a local variable and an instance variable?
How much ram can a 64 bit processor theoretically?
Explain about fail fast iterators in java?
Why java is considered as platform independent?
Explain creating threads by implementing runnable class?