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


Give an example program for Getter /read-only methods in JAVA



Give an example program for Getter /read-only methods in JAVA..

Answer / hrindows@gmail.com

Read-only:
//A Read-only class in Java
public class Student{
//private data member
private String institute ="MKG";
//getter method for institute
public String getInstitute (){
return institute;
}
}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What is assemblies in .net?

0 Answers  


What is .net and why it is used?

0 Answers  


Difference between VB.NET and C#. Which is faster ?

16 Answers   TCS,


Can you configure a .NET Remoting object via XML file?

1 Answers  


What is .net3.5?

0 Answers  


what is the meaning silverligt control

0 Answers  


What is the root class in .net?

0 Answers  


What are the fundamental objects in ADO.NET?

1 Answers  


What is singlecall activation mode used for in .net?

0 Answers  


Explain me how does linq work?

0 Answers  


What does stateless mean?

0 Answers   BirlaSoft,


1 mor thing guyz....can i go for C# directly without C++ /JAVA knowledge for dot net ..???

3 Answers  


Categories