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
Define how objects are stored in java?
What is the common usage of serialization?
How can you make a class serializable in java?
What happens when a thrown exception is not handled?
What is off heap memory?
What is the base class in java from which all classes are derived?
How do I get a substring?
How can you traverse a linked list in java?
What does the append?
Explain about anonymous inner classes ?
If you are given the name of the function at run time how will you invoke the function?
define the terminology association.
What is a ternary operator in java?
What is difference between public static and void?
What is mvc in java?