Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Can a constructor be protected?

1085


How does the garbage collector works in java?

1087


Why generics are used in java?

1031


Does java runtime require a license?

1058


What about member inner classes?

1092


What is the difference between break and continue statements?

1033


What is java Applet?

1094


What is ternary operator in java?

1062


Which of the following classes will have more memory allocated?

1014


Write a program to find maximum and minimum number in array?

989


Which package is used for pattern matching with regular expressions?

1102


what are the methods in object?

1144


Can a java program have 2 main methods?

1044


What is widening and narrowing in java? Discuss with an example.

1035


How to create a base64 decoder in java8?

1050