Question: Consider the following class declarations. public class Iteml . public class Item2 extends Iteml ...) Which of the below statements is true? I. Item2 can

Consider the following class declarations. public class Iteml . public class Item2 extends Iteml ...) Which of the below statements is true? I. Item2 can directly access the private variables in Item1 Il. Item2 can have additional methods not in ltem1 II. Item1 is the parent class for the child class Item2. l. Item2 can directly access the private O IlI only I, II, and IlI and Ill only Il and II only Ionly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
