1 / 5

Eclipse, Java basics, and Sox

Eclipse, Java basics, and Sox. 2014.1.14 Iris Jianghong Shi. Java concepts. Interface: DStack. Interface Specify functions Dstack ListStack ArrayStack Why interface? Division of task Simplify code for different implementations. implements. implements. Class: ListStack. Class:

darryl
Download Presentation

Eclipse, Java basics, and Sox

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. Eclipse, Java basics, and Sox 2014.1.14 Iris Jianghong Shi

  2. Java concepts Interface: DStack • Interface • Specify functions • Dstack • ListStack • ArrayStack • Why interface? • Division of task • Simplify code for different implementations implements implements Class: ListStack Class: ArrayStack DStack Interface Specify functions implements ArrayStack Class A One realization extends SuperArrayStack Class B Inherits above and does more

  3. Eclipse startup • Starting with hw1 • Create project • Implement classes • Run • More about Eclipse: http://courses.cs.washington.edu/courses/cse143/11wi/eclipse-tutorial/

  4. Using Sox • Take a .wav sound file • Convert it to a .dat file:  • sox secret.wav secret.dat • Manipulate it with the java program • Convert it back to a .wav file • sox secret.dat secret.wav • Listen to it

  5. Q&A • Thank you for coming!

More Related