Is an integer an object?
difference between jsp and java script?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
Define interface?
What’s the difference between callable and runnable?
for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }
Is a class subclass of itself?
what is custom tags with example?
How do you do exponents in java?
What is the difference between math floor and math round?
Why is java called java?
Is it possible to specify multiple jndi names when deploying an ejb?
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.