Define reflection.



Define reflection...

Answer / Neha Agrawal

Reflection in Java is a powerful feature that allows programs to examine and manipulate the runtime structure of classes, objects, methods, fields, etc. It enables runtime binding and introspection.nnFor example, using Reflection API, you can access private members or invoke private methods that are not accessible through normal means.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What are the various access specifiers for java classes?

1 Answers  


What is matcher in java?

1 Answers  


Differentiate between static and non-static methods in java.

0 Answers  


Why unicode is important?

1 Answers  


What is a parameter in a function?

1 Answers  


What is the purpose of garbage collection in java?

1 Answers  


What are the different access modifiers available in java?

1 Answers  


How to change the priority of thread or how to set priority of thread?

1 Answers  


What is a databasemetadata?

1 Answers  


What is callablestatement? How you can call stored procedure to pass in parameter?

1 Answers  


In the below Java Program, how many objects are eligible for garbage collection?

1 Answers  


what is d difference between deep cloning and shallow cloning in core java?

3 Answers   Satyam,


Categories