+ 1

I want to display once Malick Diagne in my program. How can i do it? Thank you.

Display once Malick Diagne. https://code.sololearn.com/cUN31aKliAw4/?ref=app

12th Jun 2020, 6:06 AM
Malick Diagne
Malick Diagne - avatar
1 Resposta
0
Remove this line from method Commander and put it inside the constructor. System.out.println (firstname + lastname );
12th Jun 2020, 8:35 AM
Avinesh
Avinesh - avatar