No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
- PC Specs
- CPU: Intel i5 3570k OC 4.0 CPU cooling: Coolermaster Hyper 212 Evo MOBO:MSI Z77A-GD65 Gaming RAM:G.Skill…
Newbie programmer here. I want to really learn C#. Other than VS what other IDE's are there? |
|
So I'm teaching myself Java. I'm creating a text based game. I have an if statement that i want to check users input so its like this: if(sc.next() = "help"){ System.out.println("info"); } else if(sc.next() = "item"){ System.out.println("info"); } Etc. But it wont work. What would be the proper way to … |
|
Creating a text based game. I have a method for each of the following: Race, profession, name. So for instance: public static void main(String[] args) { // TODO code application logic here intro(); name(); System.out.println("Welcome " + name); } public static void String name(){ System.out.println("Enter Name:"); String name = sc.next(); … |
|
Using netbeans IDE 8.0, and have JDK 1.8. Created a project and file that does this. public class Tutorial { public static void main(String[] args) { // TODO code application logic here system.out.println("Hello World!"); } } and when running i get this error... Exception in thread "main" java.lang.RuntimeException: Uncompilable source … |