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 |
How do you instantiate a complex number?
What is the difference between odbc and ado?
Sql Queries: A Table will be given Omiting Duplicate rows and adding a new column
What is nmake tool?
What's singlecall activation mode used for in .net?
Tell me about secure socket layer? How to make use of the technology?
Explain about the features and elements present in Visual studio.NET IDE?
Explain what is immutability, what is it for and how is it codified?
What are the advantages of .net core?
Explain what does managed mean in the .net context?
Is there built-in support for logging?
What is reflection in microsoft .net context?