1

What can directly access and change the value of the variable qusNo? package com.mypackage; public class Test{ private int qusNo = 100; }

Correct Answer: Only the Test class.

Make the most of this question

This page focuses on one JAVA MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

JAVA MCQs MCQ: What can directly access and change the value of the variable qusNo? package com.mypackage; public class Test{ private int qusNo = 100; } | Extra Education