MCQs > IT & Programming > Java > Is it possible to make entity as read only ?

Java MCQs

Is it possible to make entity as read only ?

Answer

Correct Answer: Declare your fields as "protected" and provide only public getter.

Explanation:

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it