adplus-dvertising
frame-decoration

Question

How private method can be called using reflection?

a.

getDeclaredFields

b.

getDeclaredMethods

c.

getMethods

d.

getFields

Answer: (b).getDeclaredMethods

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How private method can be called using reflection?