2551.p3.Fall2010

2551.p3.Fall2010 - COP 2551 Intro to OOP Program#3 Due 27...

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: 27 October 2010 (Wednesday) Using NetBeans 6.7.1 or later version, 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 String methods for accessing inputs Provide student with exposure to static attributes and static methods. Functionality: Using States.Fall2010.txt, you are to do the following: You are to read data from an input file using the Buffered Reader class and String operations (see the String class), create objects from each input line and display each of these objects to the screen. You will gain essential practical knowledge of Javadoc, as well as undertake architectural design (UML). Assignment does not include use of arrays (next assignment). You will not be writing to an output sequential file. Step 1. Access the External File. You are to access a file named States.Fall2010.txt of seven records (you may look at the file). Step 2. Create seven state objects. For each line (record) read, you are to create an object of type State. (This will entail creating a new class called State. This is in addition to your accustomed class, Main.) Since this assignment precedes our learning of arrays, you may call the objects state1, state2, etc. You will need to do file I/O to read
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.

This note was uploaded on 07/26/2011 for the course COP 2551 taught by Professor Roggio,r during the Summer '08 term at UNF.

Page1 / 3

2551.p3.Fall2010 - COP 2551 Intro to OOP Program#3 Due 27...

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