Question: Only Correct Answers please no need for Full explanation. Waiting for 15 Clear correct answers. Thank in advance each, 30pts) 1. Please fill in the



each, 30pts) 1. Please fill in the execution result of the program in the blank: class People String name; public People() { System.out.print(1): 3 public People(String name) { System.out.print(2); this.name = name; } class Child extends People People father, public Child(String name) { System.out.print(3); this.name = name; father = new People(name + ":F"): } public Child System.out.print(4): 1 7 public class test public static void main(String[] args) { new Childo: output is System.out.println(); new Child("mike"); output is 3 } 2 2. Please fill in the execution result of the program in the blank: class MyString public String getString(Strings) { StringBuffer str=new StringBuffer(); for(int i=0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
