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
How do you control extraneous variables?
Explain about the security aspect of java?
How do I print a “?
What are the main uses of this keyword?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
What are the common uses of "this" keyword in java ?
What is string in java?
Can list have duplicates in java?
What is the difference between an object-oriented programming language and object-based programming language?
Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?
What are the various access specifiers in java?
What is singleton service?
Explain about java sdk?
What is __ init __ functions?
What is a qms manual?