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...

why static class in java or what is use of static class in java

Answer Posted / jyotiranjan jena

JVM can call the static method without creating instance of this class.We can save memory if we create class as static

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a vector contain heterogenous objects?

1112


what is the volatile modifier for? : Java thread

1056


Is it possible to write a regular expression to check if string is a number?

1068


How does the garbage collector works in java?

1142


What is meant by distributed application? Why are we using that in our application?

985


Which is better singleton or static class?

1024


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

1115


What are "methods" and "fields"?

1063


What is the byte range?

1072


What is locale?

1083


Why we use multi threading instead of multiprocessing?

1117


Is the empty set a singleton?

1024


Who is founder of java?

1036


What are static blocks in java ?

1143


What is the purpose of using java.lang.class class?

1056