Create a class that can be used to test data structure - similar to the StudentA.java example found shown below: StudentA.java Note that this class will be used in the projects in the rest of this course to test various data structures and algorithms The

computer science

Description

Create a class that can be used to test data structure - similar to the StudentA.java example found shown below: StudentA.java Note that this class will be used in the projects in the rest of this course to test various data structures and algorithms 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. 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 to make this easy, assume that the first line of the file is the number of elements in the file make the file one line per entry use spaces as field delimiters in the files 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: use buttons to control the functions available use JFileChoose for selecting input and output files use a JTextArea and JScrollPane to create a scrolling text area for output 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.


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.