wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Problem with System.out.print Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Problem with System.out.print" Watch "Problem with System.out.print" New topic

Problem with System.out.print

Rohit chandra

Joined: Jun 23, 2007
Posts: 15

The System.out.println in class pdos throws error as
C:\Java>javac Pdog.java
Pdog.java:12: cannot resolve symbol
symbol : method name ()
location: class Dog
If i swap the dg.name with "hello". then the compiler doesn't throws any error.
Rohit chandra

Joined: Jun 23, 2007
Posts: 15
I am sorry...i figured out the mistake.
I agree. Here's the link: http://aspose.com/file-tools
subject: Problem with System.out.print
Similar Threads
Using ObjectOutputStream....but want to switch
method overloading
variables not found with OOP
confusion about value attribute expression in <jsp:setProperty>