Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Java noob question
Name: thermopylae0480 Date: December 17, 2005 at 20:33:26 Pacific OS: Ubuntu Linux 5.10 CPU/Ram: Celeron D 2.8ghz / 512mb
Comment:
I am new to Java and programming in general, just starting to take a class in the fall. I have two questions. Is there a way to print out a message and make a program stop, like in an if/else statement? example:
if (num1 == 3) System.out.println ("num1 = 3"); else { System.out.println ("num1 != 3"); --command to end program-- }
Also, I programmed in BASIC for about a week and remember a command called GO TO. Is there anything like that in Java?
Summary: Hello, I have just started taking Java (programming III/IV) at my high school, and was wondering if any of you can give me a better explanation of the following question, than what my teacher had told...
Summary: In Java, when I read a line by executing .readLine(), the pointer gets to point the begining of the next line in a stream. My question is if there is any way to go back to the begining of the previou...
Summary: Got a question for those who'd be willing/able to answer. My question is on "adding to" the VM. (yes, this is a concept question) How would/is it possible for one to extend the VM, e.g. add a package ...