. Advertisement .
..3..
. Advertisement .
..4..
I am trying to get string from console in java but I’ve not found a solution for it yet. Can someone share with me your experience?
Here is a suggestion from ITtutoria team for youString str = System.console().readLine();
1 Answer