Java Programming Language MCQ Declaration and Access Control in Java
⚠ Report ✓ Question Verified Copy Link
class 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?
Learn More MCQ Questions from Java Programming Language MCQ Declaration and Access Control in Java