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 the difference between user control an custom control? Advantages/disadvantages?
What?s Singleton activation mode?
What are virtual destructures?
What is an EXE?
What is the difference between an abstract class and an interface?
What is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?
Why inheritance is important?
What is gac in .net?
What is CLR? How it will work?
Explain memory-mapped files.
What are the drawbacks for Model-View-Controller Architecture?
What is RunTime Polymorphism?
5 Answers Deloitte, eClerx, Horizon, Intel, Pragna Technologies,