Answer Posted / ravikiran(aptech mumbai)
JVM is the java virtual machine which will convert the byte
code into user understandable code
| Is This Answer Correct ? | 13 Yes | 9 No |
Post New Answer View All Answers
Differences between C and Java?
Explain when classnotfoundexception will be raised ?
What is sorting in java?
How can you say java is object oriented?
Difference between overriding and overloading in java?
What is the default execution method in java?
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
why are there separate wait and sleep methods? : Java thread
What is the purpose of a default constructor?
What is thread start?
What is the difference between stored procedure & function?
How to provide security in java
How do you declare an empty string?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
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.