Eclipse, Java basics, and Sox 2014.1.14 Iris Jianghong Shi.

Slides:



Advertisements
Similar presentations
OO Programming in Java Objectives for today: Overriding the toString() method Polymorphism & Dynamic Binding Interfaces Packages and Class Path.
Advertisements

CLASS INHERITANCE Class inheritance is about inheriting/deriving properties from another class. When inheriting a class you are inheriting the attributes.
Java Review Interface, Casting, Generics, Iterator.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
1 Chapter 6: Extending classes and Inheritance. 2 Basics of Inheritance One of the basic objectives of Inheritance is code reuse If you want to extend.
Advanced Programming in Java
Sadegh Aliakbary Sharif University of Technology Fall 2010.
ORACLE Lecture 1: Oracle 11g Introduction & Installation.
Numbers
Java Threads Part II. Lecture Objectives To understand the concepts of multithreading in Java To be able to develop simple multithreaded applications.
Interact: RETSINA’s Agent Editor Provides a GUI interface to agent’s task and reduction libraries Allows –quick development of new libraries –easy extensions.
CS 225 Section 1 Spring Topics Software design Correctness and Efficiency Inheritance Data structures –Lists, Stacks, Queues –Trees –Sets, Maps.
Slides prepared by Rose Williams, Binghamton University ICS201 Lecture 24 : Collections King Fahd University of Petroleum & Minerals College of Computer.
Slides prepared by Rose Williams, Binghamton University Chapter 16 Collections and Iterators.
Basic Definitions Data Structures: Data Structures: A data structure is a systematic way of organizing and accessing data. Or, It’s the logical relationship.
Threading in Java – a Tutorial QMUL IEEE SB. Why Threading When we need to run two tasks concurrently So multiple parts (>=2) of a program can run simultaneously.
Emerging Platform#4: Android Bina Ramamurthy.  Android is an Operating system.  Android is an emerging platform for mobile devices.  Initially developed.
Lecture Objectives To understand how Java implements a stack To learn how to implement a stack using an underlying array or linked list Implement a simple.
Java Programming, 3e Concepts and Techniques Chapter 3 Section 65 – Manipulating Data Using Methods – Java Applet.
IAdaptable Interface and Its Usage Te-Hsin Shih 03/26/2013.
Rensselaer Polytechnic Institute CSCI-4210 – Operating Systems David Goldschmidt, Ph.D.
Java Meets Fine-grain Multithreading Yoshihiro Oyama Kenjiro Taura Akinori Yonezawa University of Tokyo.
Multithreading in Java Project of COCS 513 By Wei Li December, 2000.
CSS446 Spring 2014 Nan Wang.  To be able to declare and use interface types  To appreciate how interfaces can be used to decouple classes  To learn.
Welcome To Eclipse. Basic Concepts Workspace – directory where your projects are stored –Projects grouping of related works –Resources generic term to.
1 Command Design Pattern Rick Mercer. Command Design Pattern The Command Pattern encapsulates a request as an object, thereby letting you queue commands,
CSE332: Data Abstractions Section 1 Hye In Kim Winter 2013.
Interfaces Chapter 9. 9 Creating Interfaces An interface is a contract. Every class that implements the interface must provide the interface’s defined.
Computer Science 209 Software Development Inheritance and Composition.
CS 210 Iterator Pattern October 31 st, Example to motivate discussion We have two lists (of menu items) one implemented using ArrayList and another.
Scientific Technologies Corporation Stefanie Handrick Tyrus Peace Nathan Winchester.
CSE332: Data Abstractions Section 1 HyeIn Kim Spring 2013.
Computer Science 209 Software Development Refactoring.
Example to motivate discussion We have two lists (of menu items) one implemented using ArrayList and another using Arrays. How does one work with these.
Java Programming, Second Edition Chapter Twelve Advanced Inheritance Concepts.
Extending Eclipse General concepts and Project related APIs Yearly project, Winter 05/06 The Technion.
Getting ready. Why C? Design Features – Efficiency (C programs tend to be compact and to run quickly.) – Portability (C programs written on one system.
Chapter 10 - Writing Graphical User Interfaces1 Chapter 10 Writing Graphical User Interfaces.
“The desire for safety stands against every great and noble enterprise.” – Tacitus Thought for the Day.
Reflections CSC207 – Software Design. Background Turing's great insight: programs are just another kind of data. Source code is text that is interpreted.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Computer Science 209 Software Development Packages.
10-1 人生与责任 淮安工业园区实验学校 连芳芳 “ 自我介绍 ” “ 自我介绍 ” 儿童时期的我.
Sections 3.4 Formal Specification
Java SWING and Model View Controller (MVC)
Advanced Programming in Java
Advanced Programming in Java
Welcome to Adv. Java Programming
Interfaces.
Chapter 5: Threads Overview Multithreading Models Threading Issues
Software Development Inheritance and Composition
Big Data Analytics: HW#3
Dynamic Updates for Videogames
Testing and Exceptions
Yahoo Mail Customer Support Number
Most Effective Techniques to Park your Manual Transmission Car
How do Power Car Windows Ensure Occupants Safety
Chapter 5: Threads Overview Multithreading Models Threading Issues
Interfaces.
Interface Needs Model Diagrams Review
THANK YOU!.
Java External Libraries & Case Study
Objectives In this lesson you will learn about: Need for servlets
Advanced Programming in Java
Thank you.
Abstract Classes and Interfaces
Midterm Review CSE116A,B.
Emerging Platform#3 Android & Programming an App
COE-485 Senior Design Project
Presentation transcript:

Eclipse, Java basics, and Sox Iris Jianghong Shi

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

Eclipse startup Starting with hw1 – Create project – Implement classes – Run – More about Eclipse: /11wi/eclipse-tutorial/

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

Q&A Thank you for coming!