SHARE
TWEET

Untitled

a guest Nov 12th, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class polyRun {
  2.     //polymorphism
  3.     //dito naka compile ang 3 class(studName. studCourse. studSection)
  4.     public void polyRun(){
  5.         studName studentInfo = new studName();
  6.         studName course = new studCourse();
  7.         studName section = new studSection();
  8.        
  9.         studentInfo.studInfo();
  10.         course.studInfo();
  11.         section.studInfo();
  12.     }
  13.    
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top