Question: In line 5 3 replace XXXX with code that prints out the student's id on the console . 6 7 9 2 0 1 2

In line 53 replace XXXX with code that prints out the student's id on the console.6792012121315161718//////Student. javapackage app;import java.util.Random;public class Student {private int id; private int age; private String name;public Student (int age, String name){this.age = age;this.name = name;Random rndGen = new Random ();id = rndGen.nextInt() ;public int getId(){return id;17public void setId(int id){this.id = id:

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 Programming Questions!