Give an example program for Getter /read-only methods in JAVA
Read-only:
//A Read-only class in Java
public class Student{
//private data member
private String institute ="MKG";
//getter method for institute
public String getInstitute (){
return institute;
}
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Which server tag comes from server when we submit any data
Explain me what is the difference between an abstract class and an interface?
Explain about the Common Language Runtime?
Name the classes that are introduced in the system.numerics namespace.
Why SOAP is required?
Resource Files: How to use the resource files, how to know which language to use?
What are the fundamental objects in ADO.NET?
How to write an MMC snap-in for my Windows service?
Explain how to rename a table using sql queries?
What's a windows process in .net?
What is boxing?
What are data types in .NET?