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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.