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


Please Help Members By Posting Answers For Below Questions

Give an example of call be reference significance.

822


What is string array?

851


Are there structures in java?

753


Can singleton class be serialized?

743


What are different types of states exist for a thread?

808


What is multithreading and its advantages?

833


What is public static void main?

818


What is matcher in java?

748


Is java an ide?

752


How do you sort words in java?

740


What is array pointers ?

822


What are recursive functions? Give some examples?

882


What is the difference between a window and a frame in java programming?

880


What is instance synchronization?

837


what do you mean by marker interface in java?

780