Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Beginning Java and the fly likes What does it mean? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What does it mean?" Watch "What does it mean?" New topic

What does it mean?

Hui Zhao
Ranch Hand

Joined: Jul 09, 2007
Posts: 116

It doesn't mean import anything of awt, right?
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24189

It means that any classes directly in the package java.awt can be used in this file without using their package names; nothing more, nothing less. So, for example, if you include this like you can say "new Button()" instead of "new java.awt.Button()" which you'd be require to say without it.

[Jess in Action][AskingGoodQuestions]
Have you tried LearnNowOnline?
subject: What does it mean?