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 |
Explain how to load the contents of an xml file into an xmldocument object?
What are The Main Difference Between Client-server Based Applications and Web Based Applications
What are Satellite Assemblies? How you will create this? How will you get the different language strings?
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
Differences between datagrid, datalist and repeater in .net?
How to implement datagrid in.net? How would you make a combo-box appear in one column of a datagrid? What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for datagrid methods. What is the access specifier used for that methods in the code behind file and why?
Do you know what's the difference between .net and laravel?
Explain about .net?
What is lambda expressions in c#?
What is equivalent for regsvr32 exe in .net ?
What is the difference between user control an custom control? Advantages/disadvantages?
What is the difference between asp.net and asp?