Lecture10 - Java Programming, 3e Concepts and Techniques...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Java Programming, 3e Concepts and Techniques Chapter 3 Manipulating Data Using Methods (II) ICTN 2730 Lecture 10 02/04/2008
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Chapter 3: Manipulating Data Using Methods 2 Assignments Read Chapter 3 Type, compile and run BodyMass.java, BodyMassVer5.java and BodyMassSwing.java in TextPad (See BodyMass.pdf in Week4 folder on Blackboard. No need to submit the code) Homework 3 is due Wednesday. Homework 2 grades are available. The samples solutions will be posted and discussed Wednesday. Quiz 1 is due 9 pm tonight. Selected questions will be discussed Wednesday.
Background image of page 2
Chapter 3: Manipulating Data Using Methods 3 Tip of the Day Text Editor under Linux - Nano nano – a clone of the pico text editor To edit a file: nano filename e.g. nano WelcomeApplet.java Use arrow keys to move the cursor ^W (Ctrl+W): Where is - search for text ^C (Ctrl+C): Cursor Position - identifies line and column number ^X(Ctrl-x): Exit; answer y to save the changes Usage: http://www.indiana.edu/~uitspubs/b103 SSH and Xming are available in the Rawl Lab. If your computer is temporarily out of service. You can go to Rawl 108 to do the homework.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Chapter 3: Manipulating Data Using Methods 4
Background image of page 4
Chapter 3: Manipulating Data Using Methods 5 Example: BodyMass.java
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Chapter 3: Manipulating Data Using Methods 6 Example: BodyMassVer5.java
Background image of page 6
7 The BodyMass Program Declaration section: Variables are declared and constructed. All variables must be declared before being referenced. All variables must be initialized before being used unless they have default values. Assigning Values section: print prompts and get
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/29/2008 for the course ICTN 2730 taught by Professor Li during the Spring '08 term at East Carolina University .

Page1 / 27

Lecture10 - Java Programming, 3e Concepts and Techniques...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online