subject

// client application class and service classcreate 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 a class 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 [] args ){/* declare two object references of type student s1 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 s1 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 /* using the equals method and a selection control structure (if statement), compare objects s1 and s2 and output an appropriate message indicating if the objects are equal */ // your code here/* using the appropriate mutator methods on student object s2, change the name, social security number and gpa to the same values as in object s1. use the set methods. */ // your code here /* again, using the equals method and a selection control structure (if statement), compare objects s1 and s2 and output an appropriate message indicating if the objects are equal */ // your code here}}in the student service class code the instructions to define your student service class structure with the appropriate constructors, mutator methods, accessor methods as well as a tostring and an equals method : package studentclient; public class student{/* declare three instance variables to represent the student name, social security number and gpa */ // your code here/* overloaded constructor method: allows client to set beginning values for name, ssn, and gpa. this constructor takes three parameters and calls mutator methods to validate new values */ public student( string newname, string newssn, double newgpa ) { // your code here } /* getname accessor method */ public string getname( ) {// your code here}/* setname mutator method */ public void setname( string newname ){ // your code here } /* getssn accessor method */ public string getssn( ) {// your code here }/* setssn mutator method */ public void setssn( string newssn ){ // your code here }/* getgpa accessor method */public double getgpa( ){ // your code here }/* setgpa mutator method: allows client to set value of gpa and prints an error message if new value is either less than 0 or greater than 4.0. setgpa does not change the value of gpa if newgpa is negative or greater than 4.0 */public void setgpa( double newgpa ){// your code here }/* tostring method returns student name, social security number and gpa */public string tostring( ) { // your code here}/* equals method returns booleancompares two student objects for the same field values returns a boolean, true if this object has the same field value as the parameter object */public boolean equals( object o ){ // your code here }}when your application has been successfully compiled and executed, zip the studentclient project folder. after the studentclient project folder has been successfully compressed, upload the zipped folder to your blackboard account for programming exercise 3.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 17:00
The most efficient way to establish top best possible economize position is to measure
Answers: 1
question
Computers and Technology, 21.06.2019 21:20
Your program will make use of long long int variables for all calculations. note: the use of long long int requires that you have c++11 support. you should have this automatically if you are using a newer version of visual studio. the support is there for gcc as well, but you may need the -std=c++11 or -std=c++0x compiler flag. you first need to read in the total number of seconds. there is no prompt for the read (that is, you just do the cin without using a cout to display a prompt). this is going to seem a little strange when you are running your program in your ide
Answers: 2
question
Computers and Technology, 22.06.2019 13:30
In which phase does software coding and testing happen in the spiral model? the spiral model does not have a separate testing phase. both, software coding and testing occurs during the phase.
Answers: 3
question
Computers and Technology, 22.06.2019 21:30
Write a function named printfloatrepresentation(float number) that will print the floating point representation of a number using the format given below. (sign bit) exponent in binary (assumed bit).significandfor example if the number passed an argument is 71 yourprogram should print (0) 10000101 (1).00011100000000000000000similarly if the number passed to the function as argument is -71 the program should print (1) 10000101 (1).00011100000000000000000
Answers: 3
You know the right answer?
// client application class and service classcreate a netbeans project named studentclient following...
Questions
question
Mathematics, 25.05.2021 01:00
question
Mathematics, 25.05.2021 01:00
question
Mathematics, 25.05.2021 01:00
Questions on the website: 13722363