Wrox Programmer Forums
|
BOOK: Ivor Horton's Beginning Java, Java 7 Edition
This is the forum to discuss the Wrox book Ivor Horton's Beginning Java, Java 7 Edition by Ivor Horton ; ISBN: 978-0-470-40414-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Java, Java 7 Edition section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 12th, 2014, 10:34 AM
Registered User
 
Join Date: Sep 2014
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default error: cannot find symbol

I bought this book last night and while going through the first chapter I encounter error while compiling my first codes. Can someone help me on this..

Code:
public class OurFirstProgram {

	public static void main(String[] args) {
	System.out.print1n("Krakatoa, East of Java??");
	}

}

Error in cmd promt below:

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Boyet\Documents\JavaProj\MyFirstApplet>ja vac OurFirstProgram.java
OurFirstProgram.java:4: error: cannot find symbol
System.out.print1n("Krakatoa, East of Java??");
^
symbol: method print1n(String)
location: variable out of type PrintStream
1 error
 
Old September 12th, 2014, 07:45 PM
Registered User
 
Join Date: Sep 2014
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Issue closed!!

Typo error in "print1n"





Similar Threads
Thread Thread Starter Forum Replies Last Post
"error LNK2001: unresolved external symbol" occured at my second debug,but first not! Waterharbin C++ Programming 1 January 10th, 2011 07:48 AM
relocation error: undefined symbol stat64 d.buxtehude C++ Programming 1 July 12th, 2007 09:00 AM
error LNK2019: unresolved external symbol tinawalt VS.NET 2002/2003 3 August 9th, 2005 07:59 AM
Error-cannot resolve symbol Rusk JSP Basics 1 February 18th, 2004 09:20 AM
Error: Cannot resolve symbol "Beginning JSP" amcp2002 Wrox Book Feedback 2 July 22nd, 2003 03:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.