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 tools can I use to develop .net applications?
What relationship is between a process, application domain, and application?
Explain constructor.
Is .net capable of supporting multi-thread?
What?s different about a Windows service as compared to a regular application?
What is view state in .net?
Why DLL files are needed. & how They are Created in DOTNET?
Write the .net syntax for 'for loop'?
How can we convert XML data into DataBase table IN .Net?
What is an anonymous method?
How does you handle this COM components developed in other programming languages in .NET?
What is smart navigation in .net?