Question: Can someone compile in java?? Class 1 public class Person ( private string name; public Person( string n t this.name n; system . out.print(#1 );
Class 1 public class Person ( private string name; public Person( string n t this.name n; system . out.print("#1 "); public class student extends Person t public student O t this ("Student") system , out.print("#2 "); Class 2 t public student ( string n super (n) ; System.out.print( "#3 "); student s new Student ): Create this method (Te
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
