Question: JAVA: The Student.java file consists of the text that is already in the screenshot so I did not feel the need to include it. Appreciate

JAVA:

JAVA: The Student.java file consists of the text that is already in

The Student.java file consists of the text that is already in the screenshot so I did not feel the need to include it.

Appreciate the help, thank you!

Please follow the directions in each of the problems below. You are to turn in 2 separate files one for each of the problems below. The class names (file names) are given in the problems below. These files should be complete Java classes (and possibly complete, working programs), complete with documentation. (The points for each problem are listed next to the problem number.) 1. (15 pts) Construct a Java class named CscStudent which inherits from (i.e. extends) the Student class presented below (The Student.java file is included in Canvas). Your new class should add the additional private data members of a String named advisor and a double named average. Write a constructor for your class which takes 3 strings and a double. The first two strings should be passed to the super class constructor to be assigned properly. The third String should be assigned into the advisor field and the final double value should be assigned into the average field. You should write a class and file named CscStudent.java. You should properly test your CscStudent class, although, you do NOT need to turn in a working program with a main method. public class Student i protected String name; protected String ssnum; public Student (String name, String ssnum) this.namename; this.ssnumssnum; 2. (15 points) Write a recursive method that converts a decimal number into a binary number as a string. The method header is: public static String dec2Bin(int value) Write a test program that prompts the user to enter a decimal number and displays its binary equivalent. This should be a fully operational, runnable program. Call your class Problem2 and your filename Problem2.java

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!