| Author |
Problem with System.out.print
|
Rohit chandra
Greenhorn
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 System.out.prinln(dg.name()); If i swap the dg.name with "hello". then the compiler doesn't throws any error.
|
 |
Rohit chandra
Greenhorn
Joined: Jun 23, 2007
Posts: 15
|
|
|
I am sorry...i figured out the mistake.
|
 |
 |
|
|
subject: Problem with System.out.print
|
|
|