ExamVeda
Login
Home
Server Side and Client Side Scripting
?

What does Rhino do when the getter and setter methods exist?

Answer & Solution
Correct Answer: Option A
Rhino allows JavaScript code to query and set the static fields of Java classes and the instance fields of Java objects. Java classes often avoid defining public fields in favor of getter and setter methods. When getter and setter methods exist, Rhino exposes them as JavaScript properties.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.