Question: Given the following classes definitions, which visibility modifiers causes the code in class B to be compiled when filled in the blanks (instead of the
Given the following classes definitions, which visibility modifiers causes the code in class B to be compiled when filled in the blanks (instead of the question marks) in class A? package p1: public class A int ; package pi; public class B extends A public void ml(String[] args) System.out.println(i): O: 1 void 0 Select one or more a static mb protected c. private d. public defoult
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
