aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes enum (310-065) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "enum (310-065)" Watch "enum (310-065)" New topic
Author

enum (310-065)

Santiago Ennis
Greenhorn

Joined: Nov 05, 2009
Posts: 9
Zone.java

TestState.java

Compilation Error:
cannot find symbol symbol : constructor City(java.lang.String,constant.clazz.State.City.StateZone)
location: class constant.clazz.City
City baroda = new City("Baroda", State.City.StateZone.NORTH);
1 error

Why is there a compile-time error? How do I resolve it?

- SE
Minhaj Mehmood
Ranch Hand

Joined: Jan 22, 2007
Posts: 400

change it to




-Minhaj


SCJP6 96% | SCWCD5 81% | SCDJWS5 79%
Santiago Ennis
Greenhorn

Joined: Nov 05, 2009
Posts: 9
Minhaj kaimkhani wrote:change it to




-Minhaj


Really stupid question by me.

Anyways, thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: enum (310-065)
 
Similar Threads
overriden method
few scenarios in JAVA where instinct doesn'n play right
help, cannot find symbol - variable (using hashmaps)
Enum illegal forward reference (compiles in Java 5 but not Java 6)
Can't get an ActionListener to change a JLabel text