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 |
Explain About GDI object ?
What is the difference between Dataset and DataReader? Can u breif me ADO.net classes and architecture
Differentiate between managed and unmanaged code?
Is there any inbuilt tool or command provided by .NET to view the code inside the assembly?
What is difference between .net core and .net standard?
i have an array of 10 objects whose values are from 1-10 randomly inserted. i have deleted one array object. tell me what is that value? write the logic of it.
2 Answers Deloitte, Srp Khanij,
Explain the garbage collection process?
What is dot net and its uses?
What is the microsoft .net?
Explain how to stop a thread?
What?s Singleton activation mode?
Can you write a class without specifying namespace?