File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "enum (310-065)" Watch "enum (310-065)" New topic

enum (310-065)

Santiago Ennis

Joined: Nov 05, 2009
Posts: 9

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


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

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


Really stupid question by me.

Anyways, thanks.
I agree. Here's the link:
subject: enum (310-065)
It's not a secret anymore!