can we create object for static class in java
Answer Posted / kapil dalke
yes you can create an object of a static class.........
but there is no meaning ..........
because we used an static class when we dont want to create
an object.........
you can used these data members and methods without create
an object...........
otherwise u directly create an object without used the
static class ok
........
Thank You
| Is This Answer Correct ? | 51 Yes | 11 No |
Post New Answer View All Answers
What is multiple inheritance? Is it supported by java?
Why string is not thread safe?
Is arraylist ordered in java?
What are the different tags provided in jstl?
What is bigger kb or mb?
What is jvm? How its run?
If a method is declared as protected, where may the method be accessed in java programming?
Which data type is a class in java?
Explain purpose of sleep() method in java?
What exactly is a .class file?
Can an unreferenced object be referenced again?
How can you set the applet size?
What is method overloading in JAVA? Why is it not present in C ?
Can java run on google chrome?
How are destructors defined in java?