| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Name the methods in mouse listeners ? | | 3 |
| What is Servlet? | | 8 |
| What are the parameters used in Connection pooling? | IBM | 1 |
| Why cant we define System.out.println() inside a class
directly? | | 4 |
| How many bits are allocated to represent character of
character sets - Unicode, ASCII, UTF-16, UTF-8? | | 1 |
| What is the diff. b/w Interfaces & Abstract class? | Ericsson | 4 |
| What is the relationship between a method?s throws clause
and the exceptions that can be thrown during the method?s
execution? | | 2 |
| What are wrapper classes? | Noah-Solutions | 6 |
| Different types of modifiers? | RoboCom | 3 |
| What is the difference between a public and a non-public
class? | | 2 |
| What is an Iterator interface? | | 2 |
| Difference between local and global transaction ? | iFlex | 1 |
| 11. static class A {
12. void process() throws Exception { throw new Exception();
}
13. }
14. static class B extends A {
15. void process() { System.out.println(”B”); }
16. }
17. public static void main(String[] args) {
18. new B().process();
19. }
What is the result?
1 B
2 The code runs with no output.
3 Compilation fails because of an error in
line 12.
4 Compilation fails because of an error in
line 15. | | 1 |
| what is difference between Action messages and Action errors? | TCS | 1 |
| Difference between Web-based applications,Client-
Server applications and Distributed applications? | Infosys | 2 |
| What is the immediate superclass of Menu? | | 1 |
| Difference between the paint() and repaint() methods? | | 1 |
| What is the use of bin and lib in JDK? | | 3 |
| What is a deadlock ? | | 5 |
| What is the difference between serialization and
deserialization? | ABC | 2 |
| |
| For more Core Java Interview Questions Click Here |