06.01.2015 Views

IMPARARE IL C++ in 6 ore? - INFN

IMPARARE IL C++ in 6 ore? - INFN

IMPARARE IL C++ in 6 ore? - INFN

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Data-Hid<strong>in</strong>g<br />

‣ Con l’encapsulation si effettua anche una data<br />

hid<strong>in</strong>g:l’<strong>in</strong>gegnere necessita delle caratteristiche<br />

esterne del resist<strong>ore</strong> ma non di come lavora al<br />

suo <strong>in</strong>terno (una black box), né delle proprietà<br />

<strong>in</strong>tr<strong>in</strong>seche che appunto sono <strong>in</strong>capsulate nell’<br />

oggetto resist<strong>ore</strong>.Bisogna solo saper usare<br />

questo oggetto <strong>in</strong> base alle nostre necessità.<br />

‣ In <strong>C++</strong> encapsulation e data-hid<strong>in</strong>g sono<br />

r<strong>in</strong>chiuse <strong>in</strong> un oggetto chiamato classe

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!