Question
What is the output of the above program ?class Num { Num(double x ){ System.out.println( x ) ; } }public class Test extends Num { public static void main(String[] args){ Num num = new Num( 2 ) ; } }
Answer: Option C
Submit Your Solution Below and Earn Points !
Submit Your Solution Below and Earn Points !
Submit Solution