-
-
Save uncoded-ro/d0f17bb5713673da4022550464de45c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ro.virtualcampus.person; | |
class Aplicatie { | |
public static void main(String[] args) { | |
Persoana vp = new Persoana("Virgil Popescu", 45, 1.68); | |
Student db = new Student("Doria Banciu", 35, 1.67, 7.80, "ETTI"); | |
vp.sePrezinta(); | |
db.sePrezinta("Buna zua"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment