Author Specification Program Practicing Use Classes Constructors Helper Methods Operator I Q37182303

/*—————————————————————————
// AUTHOR:
// SPECIFICATION: This program is for practicing the use ofclasses, constructors,
// helper methods, and the this operator.
// INSTRUCTIONS: Read the following code skeleton and add your owncode
// according to the comments
//————————————————————————-*/

import java.util.Scanner;

public class
{
public static void main(String[] args)
{
// Let’s make two students using all two constructors
// Write code to create a new student alice using constructor#1
//–>
Student alice =

// Write code to create a new student bob with name “BobBrown”,
// age 23 and GPA 3.8 using constructor #2
//–>

// Let’s get user input to change the missing or defaultvalues
Scanner scan = new Scanner(System.in);

// Get user input and set Alice’s full name
System.out.print(“Enter full

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.