What are possible key words, we can use to declare a class?
Answer Posted / ambadas
public final strictfp default abstract
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
What was java originally called?
What is a numeric literal?
Can we have two methods in a class with the same name?
Can we create our own wrapper class in java?
What are the new features in java 8?
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.
What are the different types of java?
What are inbuilt functions in java?
What technique is carried out to find out if a particular string is empty?
How does hashset work in java?
Write a program to check for a prime number in java?
How to sort an unsorted array in java?
How many bytes are there?
Why hashcode is used in java?