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


Please Help Members By Posting Answers For Below Questions

Will the jvm load the package twice at runtime?

805


What is super in java?

757


What is the null?

760


What is command line argument

917


How do you sort a set in java?

708


What do you mean by hashing?

836


What is an exception in java?

859


What is a copy constructor in java?

802


What do you understand by looping in java? Explain the different types of loops.

782


What are the restriction imposed on a static method or a static block of code?

796


What does int argc char * argv [] mean?

711


What is finally block?

741


What is floor in java?

781


What is the difference between integer parseint and integer valueof?

744


What is variable and example?

710