For the code rs.getString(0)
Why does the compiler think it is valid? It should report this error it at compile time.
About Question enthuware.ocpjp.v7.2.1153 :
Moderator: admin
-
- Posts: 53
- Joined: Thu Nov 22, 2012 12:01 am
- Contact:
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1153 :
Compiler doesn't care about actual values. It just checks if you are passing an int to a method that requires an int. This is OCA stuff
-Paul.
-Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 53
- Joined: Thu Nov 22, 2012 12:01 am
- Contact:
Who is online
Users browsing this forum: No registered users and 226 guests