1 / 11

Encapsulation

Encapsulation. 2013/05/16. Encapsulation( 封裝 ). An information hiding mechanism. Encapsulation( 封裝 ). If you don’t went to share your source code If some values or function, you don’t went to be changed Users don’t care the code Reduce redundant It looks cool!

caia
Télécharger la présentation

Encapsulation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Encapsulation 2013/05/16

  2. Encapsulation(封裝) • An information hiding mechanism

  3. Encapsulation(封裝) • If you don’t went to share your source code • If some values or function, you don’t went to be changed • Users don’t care the code • Reduce redundant • It looks cool! • The program looks more complete • Types of Encapsulation on Java • .jar • .exe

  4. Example

  5. Export Jar

  6. Export Jar Export Project

  7. JSmooth • http://jsmooth.sourceforge.net/ • JSmooth is a Java Executable Wrapper. • It creates native Windows launchers (standard .exe) for your java applications.

  8. JSmooth

  9. JSmooth

  10. JSmooth

  11. JSmooth 2. 1.

More Related