Quiz
Answer the following questions to test your knowledge of this chapter:
- Select all of the correct statements:
- An IDE executes Java code without compiling it.
- An IDE uses installed Java to execute the code.
- An IDE checks the code without using the Java installation.
- An IDE uses the compiler of the Java installation.
- Select all of the correct statements:
- All the classes that are used by the application must be listed on the classpath.
- The locations of all the classes that are used by the application must be listed on the classpath.
- The compiler can find a class if it is in the folder that’s listed on the classpath.
- The classes of the main package do not need to be listed on the classpath.
- Select all of the correct statements:
- All the
.jar
files that are used by the application must be listed on the classpath. - The locations of all the
.jar
files that are used by the application must be listed on the classpath. - The JVM can only find a class if it is in the
.jar
file that...
- All the