Java Scanner String Input Not TRUE [duplicate]

This question already has an answer here:

How do I compare strings in Java?

23 answers

I just try code using Scanner for String variable.

This is my code and the output

enter image description here

What is the problem from my code? Why I try a equals b is not TRUE.

Please help

I use NetBeans 8.2


Read More »

By: StackOverFlow - Tuesday, 13 March

Related Posts