Question: //-------------------------prisoner.java---------------------------------------------------------------------------------> Create a new Java project. Create a PrisonTest class with a main method Create a Prisoner class based on the description in the previous

 //-------------------------prisoner.java---------------------------------------------------------------------------------> Create a new Java project. Create a PrisonTest class witha main method Create a Prisoner class based on the description in

//-------------------------prisoner.java--------------------------------------------------------------------------------->

Create a new Java project. Create a PrisonTest class with a main method Create a Prisoner class based on the description in the previous slide. Instantiate two prisoners and assign them the following properties: Variable: bubba Name: Height: 6'10" (2.08m) Sentence: 4 years Variable: twitch Name: Height: 5'8" (1.73m) Sentence: 3 years Bubba Twitch

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!