create a simple GUI-based program called ChooseSaveFile.java that has no components, but creates an instance of itself within main and has the usual window-closing code (also within main).

Using class Personnel from Section 4.9, create a simple GUI-based program

 

called ChooseSaveFile.java that has no components, but creates an instance of

itself within main and has the usual window-closing code (also within main).

Within the constructor for the class, declare and initialise an array of three

Personnel objects (as in program VectorSerialise.java from Section 4.9) and

write the objects from the array to a file (using an ObjectOutputStream). The

name and location of the file should be chosen by the user via a JFileChooser

object. Note that you will need to close down the (empty) application window

by clicking on the window close box.

find the cost of your paper

prepare a lead container of mass 1.5 kg and pour 0.65 kg of water into it, both at the room temperature of 20.5°C.

You are at a restaurant eating lunch with a friend. After the meal, your friend realizes they left their wallet at home. Your friend gives you a piece of silver….

Given the above information, how many people did McKinsey and BCG hire in the year 2013?

There are two big consulting firms in Melbourne, McKinsey and Boston Consulting Group (BCG); assume that their clients view them as providing identical consulting services. They hire people on yearly….

write a program that reads a file and displays all of the words in it that are misspelled.

A spell checker can be a helpful tool for people who struggle to spell words correctly. In this exercise, you will write a program that reads a file and displays….