| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What are the OOAD concepts in java explain with examples? | Aricent | 4 |
| What class is used to implement a Throwable array? | | 3 |
| what is jndi? | TCS | 1 |
| How to re-get an object that is collected by garbage
collector? | | 1 |
| How will you convert an ArrayList to Arrays? | KPIT | 3 |
| Explain Global variables in Packages? | | 2 |
| When finally clause is executed? | | 3 |
| What is I/O Filter? | TCS | 1 |
| diff between abstract methods and interfaces with programing
(code) example? | | 2 |
| 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 |
| Difference between String and String Buffer? | | 3 |
| In Inheritence concept, i have a static method in super
class and i am inheriting that class to one sub class.in
that case the static method is inherited to sub class or
not???? | Accenture | 8 |
| is java support call by reference and call by value, if
supports please explain? | | 3 |
| What is the difference between Trusted and Untrusted
Applet ? | IBM | 1 |
| what is finalmethod & final variable with example? | HP | 2 |
| What is the difference between getCodeBase and
getDocumentBase methods? | | 1 |
| What is multiple inheritance & can we implement it in java? | Satyam | 4 |
| What method is used to know the status of Checkbox(i.e it
is checked or unchecked)? | | 1 |
| What is the difference between the >> and >>> operators? | | 1 |
| What is Marker interface in java? and what is clone? | Wipro | 7 |
| |
| For more Core Java Interview Questions Click Here |