what is meant by package in java?

Answer Posted / manoj kumar sahu(secon pvt.ltd

Package is nothing but it can be call as container of all
related class.All *.class files are stored in a package for
that we can implement the require *.class files in our
program.In java one package can be implement by using the
keyword import.The syntex is
import java.<packagename>.*;

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of java?

526


Can keyword be used as identifier?

543


Can a function return a function?

548


What is an inner class in java?

523


Explain scope or life time of local variables in java?

557






How do I write a self declaration?

549


What is close method? How it's different from Finalize & Dispose?

559


Which eclipse is best for java?

518


Is string a class in java?

509


What is the synchronized method modifier?

590


Explain the scope of a variable.

627


What is difference between pointer and reference?

502


What are the advantages of assembly language?

497


Explain method overloading?

568


What is a buffer in computer?

506