Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Programmer Certification (OCPJP)
Import
Alexsandra Carvalho
Ranch Hand
Posts: 75
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi guys,
In the exam, must I worry about de import statements? If a code does not have one import and shoud then I must consider compile error?
Thanks,
Alexsandra
ranjitsingh thakurratan
Greenhorn
Posts: 18
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
well depends on the type of question
usually there are two different classes but which do not have any import in them, yet they use each other, however its good to stick to the rules and watch out for imports!
this is a good question though!
Burkhard Hassel
Ranch Hand
Posts: 1274
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Yes.
If an import would be necessary to compile and it is missing, it is a compile time error.
Bu.
all events occur in real time
There are 10 kinds of people in this world. Those that understand binary get this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How to compile source in different packages?
could not locate mysql driver using Javabean!!!
hbm file version working but annotation not
Exclusively Swing
Using HashMap
More...