| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Explain about GridBag Layout? | | 1 |
| what is difference between validation.xml & validation
rules.xml? | BirlaSoft | 5 |
| How Array List can be Serialized. | Polaris | 5 |
| What is a deadlock ? | | 5 |
| how can i cal servlet from jsp page?how can i pass
variablesfrom the jsp that servlet can access? | Verizon | 1 |
| What is difference between abstract class & final class | | 4 |
| int a=1;
float b=1.0;
System.out.println(a==b);
| Honeywell | 8 |
| what is mean by String and StringBuffer?
What is mean by Methooverriding and Overloading?
| Satyam | 3 |
| how to transactions(Bank transactions) in business process
in ejb? | Photon | 1 |
| "We cannot create an object of interface but we can create a
variable of it". Discuss the statement with the help of an
example.
(Plz help us to provide immediately.) | | 2 |
| Who developed JScript language? | | 3 |
| 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 purpose of the finally clause? | | 3 |
| explain about jre and jvm | | 2 |
| class A{
class B{
}
}
in which name u save the file,its the program compile? | HCL | 6 |
| Explain the term serialization? | Wipro | 6 |
| Under what circumstances an object reference be cast to an
interface reference? | | 3 |
| Explain Connection Pooling? | | 3 |
| What is data abstraction? Elaborate with example? | BMC | 3 |
| Explain about Superclass and Subclass? | | 4 |
| |
| For more Core Java Interview Questions Click Here |