- 4

Java

1. Write a small Java program that demonstrates constructor chaining using a hierarchy of three classes as follows: A is the parent of B which is the parent of C. Modify your definition of A so that it has exactly one constructor that takes an argument, and show how B and/or C must be changed to work with it.  2.         Add methods to “set” and “get” the instance variables in the Student class. These would consist of: getIdNum, getGPA, setIdNum, and setGPA.

22nd Feb 2017, 7:45 PM
idris
3 odpowiedzi
+ 13
We don't like homework!😂 Try to write it on your own, we will help you if you don't know what to do anymore🙄
22nd Feb 2017, 8:52 PM
Kamil
Kamil - avatar
+ 3
Hey! So...cool that's your homework, in what can we help you? You want us to do it? Or you have a question? It's better if you paste your code
22nd Feb 2017, 8:36 PM
Dago VF
Dago VF - avatar
0
yea it is...I need help with the codes...I just started java class and still finding it tough
23rd Feb 2017, 11:15 AM
idris