I have the majority of the program working now with all the classes.
Currently working on the addEntry() method within the AddressTextUi.
All the classes compile and i am able to show the menu, when you enter the right option it goes to add entry
it then asks for each of the data variables to be entered forename, surename, street address so on. However once it gets to the end on the last input i get an error message
I'm just trying to get the AddressBook class working, i only really need the menu in the text ui i think.
The search by last name and print all contacts work fine but looking at the add entry which was taken from the old it doesn't link at all with the other classes, I really need help sorting this am getting a bit flustered as i only have a couple days left to finish, Please help
Thanks i'll have a read, are these methods essential for this to work then because this is the first i've seen any of this. Also nothing happens when you call the void main(Stringargs) method from the postcodedemo
yeah i thought that and didn't have a parameter for the get method before i must of read something wrong and put it in for some reason. I've cleared it up now so it's less confusing with the postcode class and the type.
Still having this issue in my address class though when typing in a postcode
So this is the current code in the address class, it compiles now but when you try and set the postcode i get an error - found java.lang.string but expected Postcode, the get postcode method seems to work fine but as i can't seem it set it i only return a null each time which is expected