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: Newline Question
Name: MrBsktbll Date: October 10, 2005 at 21:15:23 Pacific OS: Windows XP CPU/Ram: 1Gb
Comment:
How would i go about creating: A method named toString that accepts no parameters. toString returns a String consisting of the value of title , followed by a newline character, followed by the value of author . What would that code look like?
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: 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 statemen...
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...