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 for setter/ write-only methods



Give an example for setter/ write-only methods..

Answer / hrindows@gmail.com

// A write-only class in Java
public class Student{
//private data member
private String institute;
//setter method for institute
public void setInstitute (String institute)
{ this.institute=institute;
}
}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

How do you instantiate a complex number?

0 Answers  


What is the difference between odbc and ado?

0 Answers  


Sql Queries: A Table will be given Omiting Duplicate rows and adding a new column

0 Answers  


What is nmake tool?

1 Answers  


What's singlecall activation mode used for in .net?

0 Answers  


Tell me about secure socket layer? How to make use of the technology?

0 Answers  


Explain about the features and elements present in Visual studio.NET IDE?

0 Answers  


Explain what is immutability, what is it for and how is it codified?

0 Answers  


What are the advantages of .net core?

0 Answers  


Explain what does managed mean in the .net context?

0 Answers  


Is there built-in support for logging?

0 Answers  


What is reflection in microsoft .net context?

0 Answers  


Categories