answersLogoWhite

0

Because, the java.lang package contains some of the most commonly used classes and utility functions of Java. As a result, almost all classes will be using some or all of those features. So, the creators of Java automatically imported this package in every class that you create to avoid the explicit import action for java developers

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you run a java program which has import javalang commands?

Just like any other java program. Actually speaking importing the java.lang package is not required. But, importing it doesnt make any difference. The program will work just fine with or without those statements


Why you use user defined package in java?

Because, we dont have the package which we want perform the specific task in the lib. Thatz why we need to create packages own and importing it.


How do you import a self created class in java?

It's the same as importing any other class: import [package name].[class name];


What are the penalties for importing prescription drugs?

Depends on what you are importing. If you're importing Astelin, probably confiscation and a fine. If you're importing schedule II narcotics with intent to distribute, 25 to life.


How does importing help consumers?

Importing gives consumers more choices of what to buy.


Are you importing car?

no


What software packages allow video to be imported from a Sony DCR camcorder to a PC?

ArcSoft ShowBiz 5 is one such software package that not only allows for importing at the best quality but also editing of the video. This program has a cost of $80.


What does importing a video game mean?

Importing a game means releasing it for a system when it already exists for another.


What were some of the industries of the Middle colonies?

Importing and Exporting


Give you a sentence for explicitly?

He explained the topic explicitly.


What is the opposite to importing?

Export


What is the importance of presentation?

importing