[cpl] Răspuns: [CPL][Tema2] Mostenire

Maxim Domentii domentiimaxim at yahoo.com
Wed Dec 2 09:54:05 EET 2015


Salut Marius,
Verifica lista de discutii ca s-a discutat deja acest aspect.
Max



    În Miercuri, 2 Decembrie 2015 0:54:40, Marius-Cristian E?EANU via cpl <cpl at cursuri.cs.pub.ro> a scris:
 

 

Salut,

Am o nelamurire.

Daca am :

class Int inherits IntModel ....

Care dintre urmatoarele situatii vor genera erori ? 

1. Int x = new IntModel
2. IntModel y = new Int
3. Int x
    IntModel y
    if ( x == y )

Multumesc,
Cristi
_______________________________________________
cpl mailing list
cpl at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/cpl


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/cpl/attachments/20151202/fd2c9ed5/attachment.html>


More information about the cpl mailing list