Answer Posted / hrindows@gmail.com
// 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 |
Post New Answer View All Answers
Explain about the features and elements present in Visual studio.NET IDE?
Explain what do the terms “boxing” and “unboxing” mean?
Is .net core stable?
What is difference between .net core and .net standard?
How do you trigger the paint event in system.drawing?
Is it true that objects don't always get destroyed immediately when the last reference goes away?
I'm having some trouble with cas. How can I troubleshoot the problem?
What are an object and a class?
Explain what is an anonymous method and how is it different from a lambda expression?
What are the types of assemblies in .net?
Difference between class and interface in .net?
Do you know what is .net standard?
What's wrong with a line like this? Datetime.parse(mystring);
How anonymous method is different from a lambda expression?
Explain me how does linq work?