| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What class is used to implement a Throwable array? | | 3 |
| Can we declare static variables in JSP page. | TCS | 3 |
| Iterator in the HashMap is fail-safe means what? | IBM | 9 |
| What classes of exceptions, caught by a catch clause? | | 1 |
| What is a void return type? | | 2 |
| Name the types of 'priority'? | | 2 |
| what is session facade ? | | 2 |
| Name the package that always imported by default? | | 2 |
| where u use Abstraction and Interface in real time | Sonata | 2 |
| What is the middleware? | | 2 |
| What is a native method? | | 2 |
| What is anonymous class? | | 2 |
| In which JDK version event-delegation model is introduced? | | 1 |
| byte a=5;
byte b=5;
byte c=a+b;
System.out.println(c);
whats the o/p? | Wipro | 5 |
| What are command line arguments? | | 2 |
| Write java code to print "Hello how are you"
Thread1 should have "Hello"
Thread2 should have "how are you"
both the threads should start at the same time | Huawei | 2 |
| Can we access private data outside of the class directly in
java programming language? Why There is no runtime checking
in java, which leads to access the private data directly
outside of a class? | Google | 2 |
| What is method Overriding in the perspective of OOPS? | | 2 |
| If two threads call a static method at the same point of
time, what will happen? | KPIT | 1 |
| What is the % operator? | | 2 |
| |
| For more Core Java Interview Questions Click Here |