Learning Java 7: Packages

10 terms by JeffreyRocks Plus

Create a new folder

Advertisement Upgrade to remove ads

classes, interfaces, enumerations, annotation types

types refers to c____, i______, e_______, and a______ t___

function

The types that are part of the Java platform are members of various packages that bundle classes by _____

Draggable

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.

types

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.

types

classes, interfaces, enumerations and annotation types are called.

Enumerations, annotation,

__________ and _____ types are special kinds of classes and interfaces

classes, interfaces

Enumerations and annotation types are special kinds of _____ and ______

Temporary.java

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 _____

static

In Java, main is a _____ method.

object1 var1;

Declare a variable called var1 refers to an Object called object1;

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 above and try again

Example:

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

NEW! Voice Recording

Create Set