Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while (employee[i]!=null){
- if (employee[i] instanceof Manager)
- here is my problem"!!
- i want to sysout a Manager atribute "Name"
- sysout("Name: "+employee[i].name)
- ((Manager)employee[i]).name
- (Manager)employee[i].name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement