Solved

Looking for output.

Posted on 1998-03-11
3
150 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

770 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