MDT 168
JCHJava Community | Help. Code. Learn.
•Created by MDT 168 on 11/22/2024 in #java-help
Detecting only the first letter in a scanner
I made a course (Like it teaches and Tests Users Knowledge). And I just want to detect the first part of what they write. Like I made commands such as
/start
or /learn
. But if they add a space or adds anything. It won't be able to detect it using switch
. Is it possible to just detect the first part? Or the first letter? Because The Exams to answer the exam. You just put a letter like a, b, c, d. If they add a space it will say Unknown input.4 replies
JCHJava Community | Help. Code. Learn.
•Created by MDT 168 on 11/19/2024 in #java-help
IntelliJ or Visual Studio Supporting Java
How do I make Visual Studio/IntelliJ support java, like I can run the code and the terminal shows up. and contain Auto Complete, etc.
4 replies
JCHJava Community | Help. Code. Learn.
•Created by MDT 168 on 10/26/2024 in #java-help
Expected Identifier
I am new to java. so don't blame me for my little knowledge. I tried creating something and when I run it. it says
Project.java:5: error: <identifier> expected
what is that?7 replies