Multiple Inheritance and Packages

  1. span style="color: #006699;">pack2"pass""fail""Rollno: ""Name: ""mark1: ""mark2: ""mark3: ""Total : ""Result: "+result);
  2. }
  3. }
  1. span style="color: #006699;">pack1java.io.*
  1. span style="color: #006699;">pack1.*pack2.*java.io.*"Enter sports name""Enter sports mark""Sports name :""Sports Mark :""Karthik""student details");
  2. res.display();
  3. }
  4. }