File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Cannot resolve symbol... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Cannot resolve symbol..." Watch "Cannot resolve symbol..." New topic
Author

Cannot resolve symbol...

sonir shah
Ranch Hand

Joined: Nov 01, 2001
Posts: 435

I tried running the program but ut gives a compile time error saying that cannot resolve symbol "IOException"..
Can any one explain me ...I feel that 1 should be the output..
Sonir
bill williams
Ranch Hand

Joined: Jan 15, 2002
Posts: 94
did you import java.io.*?


Yet Another SCJP2
sonir shah
Ranch Hand

Joined: Nov 01, 2001
Posts: 435
Oopps!!
sorry Bill.
I dont know why am I not able to figure out such things..and this thing really makes me scared for the exam..
By the way, the output should is 0.
Dont you think it should be 1?
Sonir
bill williams
Ranch Hand

Joined: Jan 15, 2002
Posts: 94
u definetly need some sleep.
of course it is 0.
good luck wiht your test
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot resolve symbol...