Solved

Looking for output.

Posted on 1998-03-11
3
151 Views
Last Modified: 2010-04-16
Here is a dumb question.  I just started to learn Java and a book I bought, 1001 Java Programmer's Tips, has been very helpful.  In the book it uses a method for debugging.

System.out.println("displayed text");

I never see the text "displayed text."  The book says it displays in the "console."  I don't know what they are referring to as the console.

I am using the Java which came with my Borland C++ 5.01 and running the applet through Netscape Navigator 4.0.

Thanks for your help.

AJY
0
Comment
Question by:youngs101497
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
jpk041897 earned 20 total points
ID: 1233514
System.out.println() is usualy used for "Console" applications, i.e.: not for appletts but for programs that run inside a DOS box.

Foutunatley, Netscape provides a way to see the output of this call. Select the Communicator menu and choose Java Console. You will see the text there.
0
 

Author Comment

by:youngs101497
ID: 1233515
See I told you the question was dumb
0
 
LVL 6

Expert Comment

by:jpk041897
ID: 1233516
No such thing as a dumb question! Answers on the other hand ... :-)

BTW, don't discard this technique only because its generaly not used for applets. Sometimes it works out as a grat debuffing tool.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
The viewer will learn how to implement Singleton Design Pattern in Java.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question