20110921

20110921 - Week 3 Object-Oriented Programming Team Project...

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

View Full Document Right Arrow Icon
Office of Instructional and Research Week 3 Object-Oriented Programming Team Project I – 20 Favorites ITI 202
Background image of page 1

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

View Full DocumentRight Arrow Icon
Office of Instructional and Research Using java.util.Scanner package Think of a package as a toolbox – where is the tool I need? Class What type of tool do you need? method() How do you want to use that tool? boolean tight = false; while (tight == false) { handyman.toolbox.Screwdriver.twist(right); }
Background image of page 2
Office of Instructional and Research A diversion - Anatomy of a Class handyman.toolbox . Screwdriver . twist(right) ; package This is the directory structure of the Class from your base directory. (c:\users\whittaker\202\handyman\toolbox) Class The pre-generated code that you want to execute or include from that directoy. (screwdriver.java) method() The function within that code you would like to execute specifically.
Background image of page 3

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

View Full DocumentRight Arrow Icon
Office of Instructional and Research Using java.util.Scanner (continued) Three ways to use a package in your program: Explicit call Scanner myScanner = java.util.Scanner();
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/20/2012 for the course 547 202 taught by Professor Crosbie,w during the Fall '08 term at Rutgers.

Page1 / 9

20110921 - Week 3 Object-Oriented Programming Team Project...

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

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