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

How to make a class immutable?

Answer Posted / teja

dont provider setters and provide the parameter constructor

Is This Answer Correct ?    10 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why collection is called framework in java?

928


What is oop principle in java?

1051


Difference between class#getinstance() and new operator ?

1138


What is another word for methodology?

970


what is ststic with example

2002


What is double data type?

893


Is an array a vector?

962


What is difference between core java and java ee?

849


What are the important features of Java 10 release?

954


What is arrays fill in java?

947


What is the difference between preparedstatement and statement in java?

1053


What is the basic concepts of OOPS?

1129


what is anonymous class in java?

977


How do you use parseint in java?

936


What is instance means in java?

992