J2EEOnline
GofPatterns OOPortal
prev next
  Course navigation
Importing classes from packages - Exercise
   
Objective: Use the import keyword to import classes from packages.
Exercise scoring:
This exercise is worth a total of 1 point. You do not have to submit your code to receive credit for this exercise.
Instructions
  1. Write code to import the standard Java API Graphics class, which is part of the java.awt package.
  2. Write code to import all of the classes in the standard java.math package.
After completing the exercise, click the Submit button and the system will award you full credit.