answersLogoWhite

0

You would use the import command. For example:

import java.lang;

To do this with custom classes, it requires two things:

  1. These classes are grouped inside a package, so the java program can use them
  2. These packages are included inside the program, just like the java jdk
User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Import statement in java?

import PackageName.SubPackage.ClassName.SubClass; or import PackageName.SubPackage.*; \\ this will import any class in the package note : it's very simple, consider the packages are like folders, as the are.


What is the mission statement of the Volkswagen Auto Group?

The internal mission statement of the Volkswagen Auto Group is not available to the public. But in 2010 the company joined several other German auto makers in a collaborative mission statement entitled a "mission statement for responsible actions in business".


What do you call a program or group of programs that is created by a community of developers and is made available to the public for free?

Freeware - or shareware.


What is virgin group mission statement and what is the vision statement?

Our mission statement is to help everyone


Statement of faith in christianity?

A statement of faith is the basic or foundational principles that a person or group accepts to be true. What is "the" statement of faith would depend upon the individual person or group.


What are the available options for bike ride classes in the area?

You can find bike ride classes at local gyms, fitness centers, or specialized cycling studios in the area. Some options include spin classes, outdoor group rides, and virtual cycling classes. Check online schedules or contact the facilities directly for more information.


What statement executes a group of statements only if a certain condition is true?

The if statement.


What is statement and blocks?

A statement is a single instruction in a language; a block is a group of instructions.


What statement about control group is false?

the control group is recieving the medication


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.*;


What is java compound statement?

A compound statement is a group of statements enclosed in braces, i.e curly brackets. A compound statement is a group of statements enclosed in braces, i.e curly brackets.


Do they have a specific workout program that they use?

Their work out specifics for the navy seals or Army is similar to a boot camp workout. this is usually group fitness classes that promote fat loss with intense workouts.