| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Can Applet have constructors? | | 3 |
| What is the ResourceBundle? | Elementus-Technologies | 2 |
|
33. try {
34. // some code here
35. } catch (NullPointerException e1) {
36. System.out.print(”a”);
37. } catch (RuntimeException e2) {
38. System.out.print(”b”);
39. } finally {
40. System.out.print(”c”);
41. }
What is the result if a NullPointerException occurs on line
34?
1 c
2 a
3 ab
4 ac
| | 2 |
| what is mean by method signature? | Satyam | 5 |
| Which One is optimal to choose ?
Syncronized hash map or Hash table with single thread model?
How can a hash map syncronized with out using syncrozed
blocks in programm?
| Four-soft | 3 |
| What is a package? | | 2 |
| Name the class that used to read objects directly from a
stream? | Wipro | 2 |
| Explain Event handling in AWT? | TCS | 1 |
| Difference between canvas class & graphics class? | | 1 |
| program to validate the IP address? Validity range should be
0 to 255 | Huawei | 1 |
| Explain the relationship between the Canvas and Graphics
class? | | 1 |
| what is the difference between Java Command Line and C
command Line? | | 1 |
| Hi Friends, I am new to java. Can u explain about thread
concept.How i know one thread is locked, and how can i force
or acquire another thread for lock . Finally how to know
thread is released from lock. Explain types of lock(like
method level and block level) in thread. | | 1 |
| can any one tell me when do u go for inheritance and
polymorphism | | 1 |
| wahts is mean by thread? | HCL | 14 |
| How many ways can an argument be passed to a subroutine? | | 2 |
| Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces. | Hewitt | 13 |
| What is the % operator? | | 2 |
| why ,we are using jsp and html.which one is better? | Photon | 1 |
| Name the methods in mouse listeners ? | | 3 |
| |
| For more Core Java Interview Questions Click Here |