can we create object for static class in java

Answer Posted / sriragv

There is no need to instantiate the object to make a copy
of the class in your system because already there is a copy
of the class will be available in the JVM we can directly
access them by 'class.member'

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you control extraneous variables?

516


Explain about the security aspect of java?

583


How do I print a “?

586


What are the main uses of this keyword?

609


Will the compiler creates a default constructor if I have a parameterized constructor in the class?

589






What are the common uses of "this" keyword in java ?

575


What is string in java?

570


Can list have duplicates in java?

533


What is the difference between an object-oriented programming language and object-based programming language?

581


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

570


What are the various access specifiers in java?

572


What is singleton service?

518


Explain about java sdk?

583


What is __ init __ functions?

562


What is a qms manual?

552