| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Hi Friends, can you explain instance in java. In general
instance means "occurence of something" . In java what is
instance. | | 2 |
| How to initialize an Applet ? | TCS | 6 |
| What is the difference between serialization and
deserialization? | ABC | 2 |
| What are access modifiers in Java ? | | 5 |
| What is difference between static method and static
variable? | | 6 |
| What is a void return type? | | 2 |
| Explain the difference between scrollbar and scrollpane? | | 1 |
| what is difference between abstract and interface?
can i give real time example for the two topics? | | 6 |
| watz the difference between abstract class and interface?
Which one u ill choose as a designer? | Sonata | 1 |
| Explain about global variables in Java? | | 2 |
| What is Transient and volatile | iFlex | 9 |
| heavy components means what? | | 4 |
| 84. try {
85. ResourceConnection con =
resourceFactory.getConnection();
86. Results r = con.query(”GET INFO FROM CUSTOMER”);
87. info = r.getData();
88. con.close();
89. } catch (ResourceException re) {
90. errorLog.write(re.getMessage());
91. }
92. return info;
Which is true if a ResourceException is thrown on line 86?
1 Line 92 will not execute.
2 The connection will not be retrieved in line
85.
3 The resource connection will not be closed
on line 88.
4 The enclosing method will throw an exception
to its caller.
| | 1 |
| How the elements are organized in BorderLayout? | | 4 |
| explain System.out.println | IBM | 41 |
| Difference between Web-based applications,Client-
Server applications and Distributed applications? | Infosys | 2 |
| What is multiple inheritance & can we implement it in java? | Satyam | 4 |
| can u override the start() method of Thread class | | 4 |
| What is the difference between static and non-static
variables? | | 2 |
| what is the difference b/w PUT and POST method to send data
to the server | Mind-Tree | 2 |
| |
| For more Core Java Interview Questions Click Here |