Vote count:
0
In the following code:
A tat = new P();
P bat = (P) tat;
Is typecasting tat like so: P bat = (P) tat;
the same as saying: P tat = new P();
Can you also say in theory that: P bat = ( P tat = new P(); )
asked 1 min ago
Object Typecasting
Aucun commentaire:
Enregistrer un commentaire