help guys!

i got an error stating within this line "unclose string literal"

System.out.println("Balance at the Month " +count+ " is " +Balance+ " after making a payment of " +RepaymentPerMonth");

But i cant suss it out!

please get back to me


Recommended Answers

You have an extra " at the very end

Jump to Post

All 3 Replies

You have an extra " at the very end

i got an error "unclosed string letirals"
heres the code
k= Integer.parseInt(JOptionPane.showInputDialog("Enter number of

start a new thread, instead of reviving a dead one
post your complete error message and your complete code, for I doubt this to be the line that actually causes the error.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.