Sail E0 Webinar
Question
What can directly access and change the value of the variable qusNo?
package com.mypackage;
public class Test{
private int qusNo = 100;
}
Options:
A .  Only the Test class.
B .  Any class.
C .  Any class in com.mypackage package.
D .  Any class that extends Test.
E .  None of these
Answer: Option A

Submit Your Solution Below and Earn Points !

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers