Reference no: EM131069307
The following are requirements for this homework:
- Unique index integer fields
- Use at least 5 other fields of various, including at least one of each of String, int and double types.
o assume that the String's have no spaces within them
- Write a method that will create an array of N random instances of this class, where N is an integer parameter to this method
- Provide a toString method that will format an instance of this class nicely
- Provide appropriate constructors
- Write methods that will write and read text files of this class
o to make this easy, assume that the first line of the file is the number of elements in the file
o make the file one line per entry
o use spaces as field delimiters in the files
o use the toString method of the class to write to the file
- Provide a good GUI interface to control and test this class, at a minimum:
o use buttons to control the functions available
o use JFileChoose for selecting input and output files
o use a JTextArea and JScrollPane to create a scrolling text area for output
o the window should resize nicely - use BorderLayout with the text area in the center
Submit your java file(s) along with your test plan and demonstration of successful compilation and running for all test cases to the homework 1 submission area
Convicted for selling a copy of the novel
: In some countries bans on 'Lady Chatterley's Lover' had been lifted by 1964, but in that year bookseller Ranjit Udeshi was charged and convicted for selling a copy of the novel. In which country did this occur?
|
Discuss why a stronger dollar could enlarge the us balance
: Discuss why a stronger dollar could enlarge the U.S. balance of trade deficit and why a weaker dollar could affect the U.S. balance of trade deficit.
|
Design a replacement building for st paul
: The Great Fire of London in 1666 destroyed large parts of the city, including St Paul's Cathedral. To which famous architect did the fire grant the opportunity to design a replacement building for St Paul's?
|
Possible candidate for being elizabeth father
: Most of England believed Anne Boleyn was unfaithful, and many people had their own theories for who was the father of Anne's daughter. Which of these men was never a possible candidate for being Elizabeth's father?
|
Create an array of n random instances
: Write a method that will create an array of N random instances of this class, where N is an integer parameter to this method and provide a toString method that will format an instance of this class nicely
|
Governor of the land of judah
: Which native-born Hebrew served as both a cupbearer or wine taster to Artaxerxes, the king of Persia (modern-day Iran), and as the "Tirshatha" or governor of the land of Judah?
|
What would be the impact on npv and irr
: What would be the impact on NPV and IRR if the "worst case scenario" occurs? Would this alter Grant and Samantha's decision whether to invest in the brewpub? Describe how you found this result (also show in the spreadsheet).
|
Instances of animals carrying on conversations
: There are at least two instances of animals carrying on conversations with people according to the Bible. One conversed with a woman; the other spoke to a man.
|
Important for architects since ancient greek times
: Ionic, Doric and Corinthian are all orders of what important structure, important for architects since ancient Greek times?
|