Question: Compiler-time errors are detected at O a. Program termination O b. Runtime c. Program compilation d. Program execution Find the type of inner class :


Compiler-time errors are detected at O a. Program termination O b. Runtime c. Program compilation d. Program execution Find the type of inner class : class Outer_cls { public void Num_fun { int num=20; class Inner_cls { public void print() { System.out.print("inner class:"); System.out.println(num); } O a. Method - Local Inner Class b. Static Class - Anonymous Inner Class O c. Nested Method - Anonymous Inner Class d. Anonymous Inner Class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
