Question: Create a Java NetBeans project named StudentClient with the main class named StudentClient. Add a service class to the project named Student. This program will

Create a Java NetBeans project named StudentClient with the main class named StudentClient. Add a service class to the project named Student. This program will encapsulate the concept of a student, assuming a student has the following attributes (instance variables): a name, a social security number and a GPA (e.g., 3.5).For the Student class you will write the constructors, accessors and mutators, and toString and equals methods. In the client application class you will instantiate student class objects and write instructions (method calls) to test the methods in your student service class. Follow the instructions in the attached file below to complete.

Create a Java NetBeans project named StudentClient with the main class namedStudentClient. Add a service class to the project named Student. This programwill encapsulate the concept of a student, assuming a student has the

// Client application class and service class Create a NetBeans project named StudentClient following the instructions provided in the Starting a NetBeans Project instructions in the Programming Exercises/Projects Menu on Blackboard. Add alass named Student to the StudentClient project following the instructions provided in the Starting a NetBeans Project instructions in the Programming Exercises/Projects Menu on Blackboard. After you have created your NetBeans Project your application class StudentClient should contain the following executable code package studentclient; public class StudentClient public static void main(String args) Your service class should contain the following executable code package studentclient; public class Student In the StudentClient application class main method code the instructions to perform the tasks indicated in the remarks package studentclient; public class StudentClient public static void main( String [1 args /Declare two object references of type Student sl and s2 and instantiate two Student objects passing three arguments to the constructor for the class. Use different values for each class object / Your code here Output the name, social security number and GPA of the student from object reference sl using the appropriate accessor methods to obtain the data */ Your code here Output the name, social security number and GPA of the student from object reference s2 using the toString method to return the data / Your code here

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!