Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class polyRun {
- //polymorphism
- //dito naka compile ang 3 class(studName. studCourse. studSection)
- public void polyRun(){
- studName studentInfo = new studName();
- studName course = new studCourse();
- studName section = new studSection();
- studentInfo.studInfo();
- course.studInfo();
- section.studInfo();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement