Give an example for setter/ write-only methods
// 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 |
What is your observations between vb.net and vc#.net?
How many design patterns can be created in .net?
What is "common language specification" (cls) in .net?
Why is .net used?
What is a design pattern and what is it for?
How many languages .NET is supporting now?
38 Answers Dreamtech, IBS, Microsoft, Polaris, RDT, Softcon, Viscus Infotech,
What tools is used to develop .NET applications?
What are the contents of assembly?
Name some of the languages .NET support?
Explain how to spawn a thread?
What is the difference between a namespace and assembly name in .net?
What does SCM do?