what is a package?

Answer Posted / mahipal reddy.kaitha,hyd

A Package is a collection of Classes Interfaces that
provides a high-level layer of access protection and name
space management.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java lang string?

540


When should we create our own custom exception classes?

576


Give reasons supporting that string is immutable.

491


What are the 4 versions of java?

551


Why does java doesnt suuport unsigned values?

1788






can I implement my own start() method? : Java thread

544


What is meant by interface?

558


What is the effect of keeping a constructor private?

469


What is singleton class and how can we make a class singleton?

656


What are different ways of object creation in java ?

564


What are assembly attributes?

537


Why charat is used in java?

534


In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?

564


Can an interface extend another interface?

588


Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.

1576