2551.p3.Summer2007

2551.p3.Summer2007 - COP 2551 Intro to OOP Program #3 Due:...

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

View Full Document Right Arrow Icon
COP 2551 – Intro to OOP Program #3 Due: 24 July 2007 Using NetBeans 5.5, you are to write a Java program using OOP principles to accommodate the following functionality Assignment # 3 Objectives : Provide student with opportunity in doing file input output. Provide student with exercises in learning UML Provide student with exercises in Javadoc and its various formats Provide student with opportunity to create objects and develop a number of methods within their own objects Provide student with opportunity to use StringTokenizer for tokenizing inputs Provide student with exposure to static attributes and static methods. Functionality: Using States.Summer2007.txt, you are to do the following: You are provided the opportunity to read data from an input file using StringTokenizer method, but objects and some specific methods within each object, display objects to the screen as well as write them to an output sequential file, gain practical knowledge of Javadoc, as well as undertake architectural design (UML) and detail design (pseudocode). Assignment does not include use of arrays. (Next assignment) 1. You are to access a file names States.Summer2007.txt of unknown number of records (you may look at the file, but do not code your program dependent upon the number of records you will read. 2. For each line (record) read, you are to create an object of type State. You may call the objects state1, state2, etc. You will need to do file I/O to read the file. I will present examples on how to do this. You will also need StringTokenizer to read each
Background image of page 1

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

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

Page1 / 3

2551.p3.Summer2007 - COP 2551 Intro to OOP Program #3 Due:...

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

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