Kizspy | Question: 18
(Choose 1 answer)
What is the output of the following Java program?
class A { int variableOne = 100;
} class B extends A { int variable Two = 200;}
public class Main { public static void main(String[] args) { A objA = new B();System.out.println(objA.variableOne);}}
A. 100
B. 200
C. 300
D. 0
FUOVE