The first parameter should be used to set the value of a


Write out a constructor for a class called Person. The constructor should take two parameters. The first is of type String and is called my Name. The second is of type int and is called my Age. The first parameter should be used to set the value of a field called name, and the second should set a field called age. You don't have to include the definitions for the fields, just the text of the constructor.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: The first parameter should be used to set the value of a
Reference No:- TGS02169795

Expected delivery within 24 Hours