answersLogoWhite

0


Best Answer

The lang package contains classes for data types like Boolean, String etc and also some other classes like Thread.

http://java.sun.com/j2se/1.4.2/docs/api/java/lang/package-summary.html

Refer this for complete details.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

JOptionPane

Currency

DateFormat

SimpleDateFormat

DateFormatSymbols

ChoiceFormat

MessageFormat

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explain classes of java.lang package
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Which keyword can protect a class in a package from accessibility by the classes outside the package?

default


What is package in oop object oriented programming?

A package is basically a group of related classes.


Name the following-A key word to use the classes defined in a package?

To access the classes which are present in other packages, we have to import the package to our program using the keyword 'import'. Eg: import packagename.subpackage.Class; OR import packagename.subpackage.*; /*Adds all the class which are present in package*/ 'extends' is the keyword used to inherit the classes defined in other packages.


What is package Explain steps to Create Package?

you intend to create a document using word processor package. explain the steps you will follow and the tools and features provided by the application you will apply


What is Definition of java package with example?

A package is a mechanism for grouping related classes into a "group", called package. The package keyword identifies a file as belonging to a certain package.Example: Put the following at the beginning of your Java source code:package samplePackage;A package is a mechanism for grouping related classes into a "group", called package. The package keyword identifies a file as belonging to a certain package.Example: Put the following at the beginning of your Java source code:package samplePackage;A package is a mechanism for grouping related classes into a "group", called package. The package keyword identifies a file as belonging to a certain package.Example: Put the following at the beginning of your Java source code:package samplePackage;A package is a mechanism for grouping related classes into a "group", called package. The package keyword identifies a file as belonging to a certain package.Example: Put the following at the beginning of your Java source code:package samplePackage;

Related questions

What is a collection of related classes called in java?

a package


How can you design package in java?

it's a collection of classes is called a package .its a collection classes and interfaces which provides high level of security


Which keyword can protect a class in a package from accessibility by the classes outside the package?

default


What is package in oop object oriented programming?

A package is basically a group of related classes.


What is package and how is different from packaging?

A Package refers to the grouping of related Classes together. If you create a group of classes related to soccer, then all classes can be stored in the soccer package.Accessing a particular class then would be like asking the program to go to the soccer package and find the class related to offside.// Example codeimport soccer.offside;// To import all classes of a package use an asterisk *import soccer.*;


Import from forbidden package netbeans 6.1?

all classes from the sun.* package are marked as forbidden


Name the following-A key word to use the classes defined in a package?

To access the classes which are present in other packages, we have to import the package to our program using the keyword 'import'. Eg: import packagename.subpackage.Class; OR import packagename.subpackage.*; /*Adds all the class which are present in package*/ 'extends' is the keyword used to inherit the classes defined in other packages.


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


What is package Explain steps to Create Package?

you intend to create a document using word processor package. explain the steps you will follow and the tools and features provided by the application you will apply


What is Definition of java package with example?

A package is a mechanism for grouping related classes into a "group", called package. The package keyword identifies a file as belonging to a certain package.Example: Put the following at the beginning of your Java source code:package samplePackage;A package is a mechanism for grouping related classes into a "group", called package. The package keyword identifies a file as belonging to a certain package.Example: Put the following at the beginning of your Java source code:package samplePackage;A package is a mechanism for grouping related classes into a "group", called package. The package keyword identifies a file as belonging to a certain package.Example: Put the following at the beginning of your Java source code:package samplePackage;A package is a mechanism for grouping related classes into a "group", called package. The package keyword identifies a file as belonging to a certain package.Example: Put the following at the beginning of your Java source code:package samplePackage;


How a general-purpose application package is different from a specialized application package?

Explain how a general-purpose application package is different from a specialized application package.


What are the usage of java package?

They are basically used to group related classes.