Java Programming Language MCQ Declaration and Access Control in Java
⚠ Report ✓ Question Verified Copy Link
package subPackage; public class A { } package anotherPackage; // line 1 public class B{ public static void main(String[] args){ // line 2 } }1. At line1 add noting; At line2 add: new A();
Learn More MCQ Questions from Java Programming Language MCQ Declaration and Access Control in Java