Page 1 of 1

About Question enthuware.ocpjp.v7.2.1153 :

Posted: Tue Oct 15, 2013 4:46 am
by icepeanuts
For the code rs.getString(0)

Why does the compiler think it is valid? It should report this error it at compile time.

Re: About Question enthuware.ocpjp.v7.2.1153 :

Posted: Tue Oct 15, 2013 8:18 am
by admin
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.

Re: About Question enthuware.ocpjp.v7.2.1153 :

Posted: Sat Oct 26, 2013 7:24 pm
by icepeanuts
u r right