Solved

Looking for output.

Posted on 1998-03-11
3
152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Suggested Solutions

Title # Comments Views Activity
hibernate insert example 13 39
jsp error 6 45
jmeter usage 4 36
Hibernate Inheritance Strategy for Abstract Base class and two concrete classes 3 19
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

749 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