JAVA Constructors and Methods
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 ) ; } }

None of these
2.0
Compile time error
0

ANSWER DOWNLOAD EXAMIANS APP