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

Explain how to spawn a thread?

0 Answers  


Different levels of priority provided by .net.

0 Answers  


Can u any body send the DotNet Interview questions and answers to my mail please....... mindukuru@yahoo.com

1 Answers  


What is the Difference between a sub and a function?

9 Answers   Wipro,


How to get the number after decimal point in .net?

0 Answers  


How can you assign an rgb color to a system.drawing.color object?

0 Answers  


How WSDL is stored ?

1 Answers   PPS, TCS,


Is .NET a runtime service or a development platform?

2 Answers  


What is WSDL? Explain its architecture?

0 Answers   Amdocs,


Explain about managed heap?

0 Answers  


Explain about .NET services?

0 Answers  


Explain what does managed mean in the .net context?

0 Answers  


Categories