What is an accessor?



What is an accessor?..

Answer / ritesh pal

An accessor is a class operation that does not modify the state of an object. The accessor functions need to be declared as const operations

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is meant by packages?

4 Answers  


what modifiers are used with top-level class?

2 Answers  


What is java console application?

0 Answers  


What does string [] args mean?

0 Answers  


Does java support function overloading, pointers, structures, unions or linked lists?

0 Answers  






What is t in generics in java?

0 Answers  


What is the difference between jdk and jre?

0 Answers  


What is class array in java?

0 Answers  


hoe can u call a constructor of a private classs to other inherited claa??

1 Answers  


What is variable and its types?

0 Answers  


Hi, This is ravi i have a question like this i have string "UNDERSTAND" now i want to count the letters how many times it occures.i.e from the above string the out put should be like this U-1,N-2,D-2,E-1,R-1,S-1,T-1,A-1. how can i achieve this Thnaks in advance for your response ..

7 Answers  


What is the need of "creating and throwing an UserdefinedException" when the "Exception" class is already available?

4 Answers  


Categories