Hi All,
I am new to this forum/java programming so I apologise in advance if I explain this incorrectly
I have a main method that takes values from the scanner and passes them to the customer object
}
When I run this code the customer object is instantiated but it is set to default field values and not to the values that are picked up by the scanner.
I have found a similar thread
https://coderanch.com/t/408970/java/java/passing-arguments-constructor
but don't quite understand what is going on.
I would really appreciate it, if somebody could spare time to have a look and help me out
Thanks
Nigel
I have attached the associated Customer code below in case it is needed.