When do you use codebase in appletCore Java Interview Questions When the applet class file is not in the same directory, codebase is used. Total Views: 36,496