Create an account
classes, interfaces, enumerations, annotation types
types refers to c____, i______, e_______, and a______ t___
The types that are part of the Java platform are members of various packages that bundle classes by _____
Suppose you write a group of classes that represent graphic objects, such as circles, rectangles, lines, and points. You also write an interface, _____, that classes implement if they can be dragged with the mouse.
You should bundle these classes and the interface in a package for several reasons, including the following:
1. You and other programmers can easily determine that these types are related.
2. You and other programmers know where to find ____ that can provide graphics-related functions.
3. The names of your types won't conflict with the type names in other packages because the package creates a new namespace.
4. You can allow types within the package to have unrestricted access to one another yet still restrict access for types outside the package.
The main method must appear within a class, but it can be any class. So here is the above main method enclosed in a class called Temporary. This would normally be in a file named _____
Please allow access to your computer’s microphone to use Voice Recording.
Having trouble? Click here for help.
We can’t access your microphone!
Click the icon above to update your browser permissions and try again
Reload the page to try again!Reload
Press Cmd-0 to reset your zoom
Press Ctrl-0 to reset your zoom
It looks like your browser might be zoomed in or out. Your browser needs to be zoomed to a normal size to record audio.
Please upgrade Flash or install Chrome
to use Voice Recording.
For more help, see our troubleshooting page.
Your microphone is muted
For help fixing this issue, see this FAQ.
Star this term
You can study starred terms together