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 |
How ccw (com callable wrapper) and rcw (runtime callable wrappers) works?
What is the use of Treeview control?
Explain the differences between server-side code and client-side code.
What is Application Domain?
Explain the use of activex control in .net?
How Can Creating Installation Components in .Net?
How to Exchange data between Webservices
i had attended to infosys interview on 17th april 2010...on .net..3+ experience for Technology Analyst .. to my knowledge i did well in technical and hr whether i loose the interview or still processing is taking place..am confused please. what accuatly would be happend?
What is delegation in .net?
Types of evidence in .net with context to CAS
How to load the contents of an xml file into an xmldocument object?
What are the new thee features of com+ services, which are not there in com (mts)?