Which way to create an object when inputting data?
it helps some times I have class Person and I want to input data form the
user like first name, age, sex, weight, etc. (I wantto use the Scanner
class.) , I suggest using Builder design pattern. It looks like:
Date : November 19 2020, 11:01 PM , By : John Reynolds