can you create interface instance ?
Answer Posted / sankar
Wov that was amazing Uday
| Is This Answer Correct ? | 6 Yes | 25 No |
Post New Answer View All Answers
What is an i/o filter?
What is the use of volatile in java?
What is the replace tool?
How do you declare a string variable?
What are peerless components in java programming?
Why are pointers not secure?
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.
How many types of methods are there in java?
What is temp in java?
What makes a function well defined?
What is t in parametric equations?
How do you write a scanner class in java?
What is the use of static methods?
What is the difference between a factory and abstract factory pattern?
What are the different types of garbage collectors in java?