This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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.
 
 
subject: enum (310-065)