Where does a Person come from?

  • 8
  • Locked
n the Person class, declare the following variables: String name, int age, int weight, int money. In the main method, create a Person object and store a reference to it in the variable person. Hint: Use the following construct to create a Person object and assign a reference to that object to the va
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Hoist
Level 26 , San Diego, United States
7 January, 02:13
This code runs fine. Read slowly -- one line at-a-time to solve. This is the Hint given of the syntax the solve a piece of the quest. VariableType variableName = new TypeOfObjectBeingCreated ( ); Person person = new Person ( );