Computer Science, asked by Angelene39741, 1 year ago

What can directly access and change the value of the variable qusNo?

package com.mypackage; public class Test{ private int qusNo = 100; }
A.Only the Test class.
B.Any class.
C.Any class in com.mypackage package.
D.Any class that extends Test.

Answers

Answered by Neeraj723
0
______✨ HEY MATE ✨_____

➡️ Option (a) is the right answer ✔️

✌✌Hope it's help u ✌✌
Answered by Anonymous
26
A. Only the test class.

Hope it helps u.
Similar questions