Question: Using JAVA Create a class Realestate.java with the following fields: location, price, and description. Create a class RealestateFinder.java that reads in real estate data from
Using JAVA
Create a class Realestate.java with the following fields: location, price, and description. Create a class RealestateFinder.java that reads in real estate data from a file. Then provide the user with the following options: Sort per Price, Sort per Location, and Exit. Use ArrayList and Arrays.sort to perform the sorts and display the data to the user.
Create a class StudentFinder that reads in a list of students from a file. The Student.java class will contain name, ID, and GPA. The user will be prompted to enter the first letter of a student's name. Then by using Java 8 Streams, filter the list of students based on the user's input and print the filtered list.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
