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
Give an example of call be reference significance.
What is string array?
Are there structures in java?
Can singleton class be serialized?
What are different types of states exist for a thread?
What is multithreading and its advantages?
What is public static void main?
What is matcher in java?
Is java an ide?
How do you sort words in java?
What is array pointers ?
What are recursive functions? Give some examples?
What is the difference between a window and a frame in java programming?
What is instance synchronization?
what do you mean by marker interface in java?