| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the USE of Null interfaces ??...if thers nothing
inside these interfaces how are they used and WHy are they
used ???? No 1 has given a proper description yet | | 1 |
| can we have function for truncating the sign as like abs in
oracle. | | 1 |
| Have you worked on bits programming? examples?What is bit?
How many bits are there in the byte? | | 1 |
| What is Applet Flickering ? | Persistent | 1 |
| Different types of modifiers? | RoboCom | 3 |
| what is multithreading? | Virtusa | 4 |
| What is a thin-client application? | Adobe | 5 |
| What is the default modifier in Interface? | | 4 |
| What is the difference between jsp and servlet? | Symphony | 5 |
| IS method overriding is Duplication of Methods? | CybAge | 4 |
| what is features of jdk 1.5? | TCS | 2 |
| What is deadlock and how to avoid this? | | 2 |
| What error occurs if a try-catch-finally statement sequence
does not have a catch clause? | | 2 |
| what is the use/perpose of having a method antive? | | 2 |
| How can we handle runtime exceptions? write one sample
program? Can we write runtime exceptions beside the throws
key word? if yes write sample program? | Huawei | 1 |
| how session will be expired? | Infosys | 4 |
| What is Marker interface in java? and what is clone? | Wipro | 7 |
| 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 difference between a public and a non-public
class? | | 2 |
| What modifiers are used for interface declaration? | | 3 |
| |
| For more Core Java Interview Questions Click Here |