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 are the collections you've used?
Who is using .net core?
Tell us what is json data, and what is one way that .net developers can work with json?
How to convert a .NET object into COM operabililty?
0 Answers Petranics Solutions,
Compare client server application with n-tier application
Hi, Requirement is: try { \\SQL Query } catch(Exception i) { print a } catch(SQLQueryException e) { \\SQL Query } Got Exception in "try" block. Which "catch" throws exception and Why??? Please provide the answer in detail.. Thanks for the help!!!
What is the lapsed listener problem?
What is use of ContextUtil class?
How to prepare parametrized (with more than one parameters) crystal report.pls tell me the code procedure, if any body can?
How to get the number after decimal point in .net?
What is .net technology?
Explain dataset.acceptchanges and dataadapter.update methods in .net?