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 java full form?
What is the difference between delete and delete[]
What is immutable data?
Difference between keyword and identifier.
Which class should you use to obtain design information about an object in java programming?
What is the difference between and ?
What is a bubble sort in java?
What is data type modifier?
Outline the major features of java.
Which containers use a flowlayout as their default layout in java programming?
what is meant by Garbage collection?
Why java doesn’t support multiple inheritances?
What does sprintf return?
Is there any difference between synchronized methods and synchronized statements?
What is the use of default method in interface in java? Explain