What gets printed when the following program is compiled and run. Select the one correct answer class B { public static void main(String[] args) { int a=10; if(a=10) System.out.println("tomcat"); else System.out.println("root"); } }
tomcat
root
Compile time Error
Run Time Error