| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| 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 mean by method signature? | Satyam | 5 |
| strings in java are objects.why? | | 2 |
| what is Vector class? | | 2 |
| What do you mean by the term transient? | Ericsson | 4 |
| what are the different access specifiers that can be used
by interfaces and abstract classes? can anyone give me
detailed description on this | | 7 |
| whays is mean by inner class? | HCL | 3 |
| Which is not Object in Java? | Honeywell | 7 |
| How to make class immutable | | 5 |
| What is hypertext? | | 1 |
| WHAT IS THE MEANING OF ALL TYPE OF BUZZWORDS? | | 4 |
| How to create two different thread class inside a main function? | | 1 |
| what do you meant by Platform-Independent? | Persistent | 4 |
| Can a for statement loop indefinitely? | | 3 |
| What modifiers can be used with a local inner class? | | 2 |
| Same common question what is Map,Set,HashMap,List???? | Symphony | 3 |
| what is the life cycle of jsp? | Photon | 2 |
| What are the names of interfaces that doesn't consists of
method/s ? | | 3 |
| what is the use of servlet engine? | Photon | 2 |
| What is a package? | | 2 |
| |
| For more Core Java Interview Questions Click Here |