| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the difference between Abstract Class and Interface | AMDOC | 6 |
| static inner classes means..? | | 1 |
| can you program for reverse string? | IBM | 5 |
| Can a lock be acquired on a class? | | 2 |
| whats the diff between jsp and servlets? | HCL | 9 |
| What are command line arguments? | | 2 |
| Can we have a abstract class withought any method? What is a
purspose of this? | | 1 |
| What is the difference between pageContext and page
implicit objects in jsp? | Merrill-Lynch | 6 |
| what is difference between excute query ()and execute update
()? | Symphony | 5 |
| In what type of containers, Border layout is a default
layout? | | 3 |
| why is multiple inheritance not allowed in java? | Elementus-Technologies | 5 |
| Difference String and String Buffer
| | 3 |
| How the elements are organized in BorderLayout? | | 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 |
| What is the root class for all Java classes? | | 4 |
| Why can't we make jsp as a controller and action
servlet in struts? | TCS | 6 |
| whats the life cycle of jsp
| Satyam | 2 |
| What is compile time polymorphism? | Elementus-Technologies | 6 |
| How do u provide security in java | | 1 |
| what is dynamic method dispatch ? | Fidelity | 11 |
| |
| For more Core Java Interview Questions Click Here |