what is the diffrence between class and object?

Answer Posted / saravana kumar.s

class is a template for attribute and operation of an objects.
object is a instance of class .
object is use to calling class

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are variable arguments or varargs?

583


Explain thread in java?

675


How infinite loop is declared?

551


What is anti pattern in java?

523


How do you create a first line indent?

516






Can we have this () and super () together?

622


What is the use of beaninfo?

593


What is the importance of hashcode() and equals() methods?

591


What is the main functionality of the remote reference layer?

1428


What are some alternatives to inheritance?

569


State one difference between a template class and class template.

632


Why does java not support operator overloading?

674


What is the difference between an interface and an abstract class?

548


Will the jvm load the package twice at runtime?

585


What are access specifiers in java ?

599