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
What is java lang string?
When should we create our own custom exception classes?
Give reasons supporting that string is immutable.
What are the 4 versions of java?
Why does java doesnt suuport unsigned values?
can I implement my own start() method? : Java thread
What is meant by interface?
What is the effect of keeping a constructor private?
What is singleton class and how can we make a class singleton?
What are different ways of object creation in java ?
What are assembly attributes?
Why charat is used in java?
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?
Can an interface extend another interface?
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.