What will be the output of the following program? Type the answer in the correct case. public class MyParameterizedConstructor { private String name; public MyParameterizedConstructor(String str) { this.name=str; System.out.print(name); } public static void main(String a[]) { MyParameterizedConstructor mpc= new MyParameterizedConstructor("constructor"); } }
Answers
Answered by
0
It should print
constructor
constructor
Answered by
0
Answer:
rttt
gvvsjdjfjjfkfkfjufjfjjfjcifkrmkfkfj
Similar questions