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 the top .net class that everything is derived from?
What is the difference between a debug and release build?
What is different between webusercontrol and in webcustomcontrol?
What are the different types of remote object creation mode in .net?
Why do we use msmq?
Write the .net syntax for 'for loop'?
How do you trigger the paint event in system.drawing?
Sql Queries: A Table will be given Omiting Duplicate rows and adding a new column
Do I have any control over the garbage collection algorithm?
When should I use .net core?
Explain what is the difference between constants and read-only variables?
What is the use com component in .net?
Explain about .net assemblies?
Explain Different kinds of methods?
Tell us the differences between an interface and an abstract class in .net?