Question: What is wrong in the following code? class Machine { Strings: public Machine () { System.out.println(Object is created); this (null); 1 public Machine (String s)
What is wrong in the following code? class Machine { Strings: public Machine () { System.out.println("Object is created"); this (null); 1 public Machine (String s) { this.s = Si }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
