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

What is java full form?

727


What is the difference between delete and delete[]

943


What is immutable data?

823


Difference between keyword and identifier.

783


Which class should you use to obtain design information about an object in java programming?

872


What is the difference between and ?

698


What is a bubble sort in java?

738


What is data type modifier?

719


Outline the major features of java.

811


Which containers use a flowlayout as their default layout in java programming?

731


what is meant by Garbage collection?

831


Why java doesn’t support multiple inheritances?

789


What does sprintf return?

810


Is there any difference between synchronized methods and synchronized statements?

815


What is the use of default method in interface in java? Explain

751