This site requires JavaScript, please enable it in your browser!
Greenfoot back
divinity
divinity wrote ...

2016/8/18

tell me what I am missing here, practicing but need some help

1
2
danpost danpost

2016/9/2

#
divinity wrote...
do I n to remove this: Loan loan = new Loan()
No. But if you want anything to print to the terminal, the 'details' method needs to be called. After that line, you could then add this:
loan.details();
to print out the field values. I only show this as an example of having the values printed to the terminal -- but, I am quite sure you are wanting to do quite a bit more than that.
You need to login to post a reply.
1
2