Hi, I have a java problem. I need your help!!!! Thanks Implement a class Address
ID: 3534578 • Letter: H
Question
Hi, I have a java problem. I need your help!!!! Thanks
Implement a class Address. An address has a house number, a street, an optional apartment number, a city, a state, and a postal code. Supply two constructors: one with an apartment number and one without. Supply a print method that prints the address with the street on one line and the city, state, and postal code on the next line. Supply a method public boolean comesBefore (Address other) that tests whether this address comes before another when the addresses are compared by postal code.
Explanation / Answer
Can i see some other answers for this question
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.