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
What is nested loop? What is dangling else condition in it?
Can private method static?
What is a blocking method in Java?
Can we overload run() method in java?
What is string in java?
What is derived datatype?
Explain about the performance aspects of core java?
What is == and === in javascript?
What is a function argument in java?
What is difference between static and final?
Why we do exception handling in java and how many types of exceptions are there?
How many types of design patterns are there?
Are arrays primitive data types?
What is the purpose of a parameter?
Does a class inherit the constructors of its superclass in java programming?