Solved

Looking for output.

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
array6 challenfge 6 62
json example 39 111
Free Alternative to JIRA 4 55
Image decoding from Camera 3 44
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now