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
If two threads have same priority which thread will be executed first ?
Can an interface have a class?
What is the method to declare member of a class static?
What is the difference between object oriented programming language and object based programming language?
Can you pass functions in java?
What is a dynamic array in java?
Can we use return in constructor?
Explain the importance of throwable class and its methods?
What is the difference between this() and super() in java?
What is data string?
What is output buffer?
how do I create a runnable with inheritance? : Java thread
What are different ways of object creation in java ?
What is oop principle in java?
What is the use of predicate in java 8?