| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is difference between validation.xml & validation
rules.xml? | BirlaSoft | 5 |
| What is the protocol is used in type4 driver? | CMC | 2 |
| jdbc drivers? | Wipro | 7 |
| how session will be expired? | Infosys | 4 |
| What is an enumeration class? | | 2 |
| Write program to print Hello World and print each character
address in that string and print how many times each
character is in that string?
Ex: H: 0 & 1
e:1 & 1
l :2,3,8 & 3
o:4,6 & 2
w:5 & 1
r: 7 & 1
d 9 & 1 | Huawei | 3 |
| To set the position and size of a component, which methods
are used? | | 2 |
| Why we use static and synchronized in method for single
thread model
example:
public static synchronized add(){} | | 1 |
| What is the exact difference in between Unicast and
Multicast object ? | Accenture | 1 |
| How many statements can be created with one connection in jdbc? | Polaris | 2 |
| what is Assertion? | Wipro | 2 |
| if two references are having same hash codes,is that means
those are refering to same object? | CTS | 4 |
| what is the difference between the "protected and default"
modifiers? | | 4 |
| Hi friends, i am new to java. can you explain how java is
secured. | | 1 |
| Is there is any error if you have multiple main methods in
the same class? | Wipro | 9 |
| can we create object for static class in java | Marlabs | 5 |
| What modifiers can be used with a local inner class? | | 2 |
| Program to output as below formate:
1
2 3
4 5 6
7 8 9 10 | Huawei | 2 |
| What are wrapped classes? | | 6 |
| 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 |
| |
| For more Core Java Interview Questions Click Here |