Declaration and Access Control
You have the following code in a file called Test.javaclass Base{ public static void main(String[] args){ System.out.println("Hello"); }}public class Test extends Base{}What will happen if you try to compile and run this?

Compiles and runs printing
Compiles and runs with no output.
Runtime error
It will fail to compile.

ANSWER DOWNLOAD EXAMIANS APP