can we create object for static class in java
Answer Posted / shishir
for a top level class a static but you can create a inner
class static and make an object of same, but it will be of
no use as static class you can use with out instantiating.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What do you mean by light weight and heavy weight components?
Why we use multi threading instead of multiprocessing?
Is boolean a data type in java?
How are this() and super() used with constructors in java programming?
What is functional interface in java?
How do we access static members in java?
What is the escape character in java?
Why java strings are immutable in nature?
Is string is a data type?
What is pojo class in java?
List some features of the abstract class.
Explain about serializable interface in java?
What are the restrictions that are applied to the java static methods?
Can we execute a program without main() method?
What is the range of the short type?