Advertisement
Guest User

Untitled

a guest
Sep 19th, 2020
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. package lecture13_1;
  2.  
  3. public class Main extends Company{
  4.  
  5. public void main(String[] args) {
  6.  
  7. Company companyObject = new Company();
  8. companyObject.companyInfo();
  9.  
  10. CompanyST companySTObject = new CompanyST();
  11. companySTObject.companySTInfo();
  12.  
  13. }
  14.  
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement