Write a super class program called lastNameFirstNameInitialSuperPgm3 containing: ??a) methodOne ??that acce
Need help with this assignment?Get an original answer from a qualified tutor — from $10/page.
Get it written →
Write a super class program called lastNameFirstNameInitialSuperPgm3 containing:
a) methodOne that accepts one int and can not be inherited displaying the
the int value received.
b) methodTwo that accepts two strings and displays I am super methodTwo
c) methodThree that accepts nothing and displays I am super methodThree
2) Worth 2 point
Write a sub-class named lastNameFirstInitialSub1
that inherets all methods from your super class in question 1 ( lastNameFirstNameInitialSuperPgm3 )
3) Worth 2 points
Write a sub-class program called lastNameFirstInitialSub2 containing
all inheritable methods from your super class in question 1 ( lastNameFirstNameInitialSuperPgm3 )
overloading methodTwo by displaying "Hello I am sub class Two"
4) Worth 2 points
Write a DRIVER class (with a main method) named lastNameFirstNameInitialPgm3
using all methods in all classes from questions 1, 2 and 3
Get a plagiarism-free answer to this question
Send us your instructions and we’ll match you with the best writer in your subject.
- 100% human-written, zero AI
- Turnitin report included
- Confidential — we never share your data
- Free revisions & refunds