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

Can a list be null in java?

0 Answers  


What are the differences between processes and threads?

0 Answers  


What is java virtual machine? Explain

0 Answers  


Where are local variables stored?

0 Answers  


What is the method used to get the absolute value of a number?

2 Answers  






How many bytes are there?

0 Answers  


How can we create a synchronized collection from given collection?

0 Answers  


what are the design patterns in struts?

1 Answers  


Does A Class Inherit The Constructors Of Its Superclass?

0 Answers   Wipro,


what is meant by Garbage collection?

0 Answers   Cap Gemini,


Where is const variable stored?

0 Answers  


Why is logger singleton?

0 Answers  


Categories