Question: Package Activity1; public class Activity1 { String studname, dept; int studid; // Constructor initialized public Lab04-C (String studname, int studid, String dept) { this.studname =

Package Activity1; public class Activity1 { String studname, dept; int studid; // Constructor initialized public Lab04-C (String studname, int studid, String dept) { this.studname = studname; this.studid = studid; this.dept = dept; } public static void main(String[] args) { //Object created Lab04-C John = new Lab04-C("John", 8886, "Computer Science"); Lab04-C Steven = new Lab04-C("Steven", 888611, "Computer Science"); System.out.println("Student's Record #1:"+John.studname+" "+John.studid+" "+John.dept+" "); } }

Modify the above program to have the sample out below and submit on VPL for automatic grading

Sample run:

NAME ID DEPT TEST ASSIGN PROJECT TOTALMARK

Student's Record #1:John 8886 Computer Science 8 17 29 54

Student's Record #2:Steven 888611 Computer Science 18 27 19 64

Student's Record #3:Tessy 18886 Computer Science 7 11 19 64

Student's Record #4:Jane 811886 Computer Science 18 27 21 66

Student's Record #5:Saima 22886 Computer Science 16 27 22 65

Student's Record #6:Pius 223886 Computer Science 12 19 32 63

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!