What is the difference between C++ & Java?
Answer Posted / dsr
C++ java
pointers no pointers
multiple inheritance multiple inheritence with interface
platform dependent plotformindependent
| Is This Answer Correct ? | 86 Yes | 7 No |
Post New Answer View All Answers
Can we instantiate interface in java?
How hashmap increases its size in java?
What are the differences between processes and threads?
How does a for loop work java?
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.
Is string an object?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
What are basic keywords?
worst case complexities of Quick sort and Merge sort.
What is the use of bufferedreader?
What is final method in java?
Which language is java?
What is a line break?
what is mena by object block any what is the use of that
When is the finally clause of a try-catch-finally statement executed?