Technology
Search
SiteMap
GofPatterns
OOPortal
Java 2 Certification
Java Readers Writers
Java Streams
Java-TM-I
Java-TM-II
Java-OO Programming
Java Programming Language
Packages Interfaces
Java Graphics
Multithreaded Java Programming
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
Write code to import the standard Java API Graphics class, which is part of the java.awt package.
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.