Hey so despite a youtube video telling me what to do, when I try to run my scanner program, it won’t work.
Code:
Error:
MyProgram.java.8: error: non-static method next() cannot be referenced from a static context
String response = Scanner.next();
^