| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| In the HashMap, we know the values but we dont know the key,
then how can we get the key from HashMap ????? | Kanbay | 3 |
| why Runnable interface is preferable than extending the
Thread class? | Wipro | 5 |
| Howmany classes that package java.applet.* contains? | TCS | 1 |
| what is difference between Action messages and Action errors? | TCS | 1 |
| What is the difference between throw and throws?
What is the similarity between try and throw? | | 2 |
| What is the life cycle of an Applet ? | | 1 |
| what is the use/perpose of having a method antive? | | 2 |
| What is a void return type? | | 2 |
| what is jdk1.5 features? | Virtusa | 2 |
| what is abstract method with example? | Virtusa | 5 |
| Can u write constructor in abstract.If yes den when it will
be invoked. | SunGard | 3 |
| 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 |
| What is inheritance? | | 4 |
| what is business objects? | | 1 |
| how cani read a command line argument?(usingfile object). | | 3 |
| What are Font and FontMetrics classes? | | 1 |
| wht is customised exception? | Prudential | 1 |
| Package1 and Package2 both have a method name lets say
"methodA" with different implementation. When I import both
the packages in a java class how can I use both the methods? | Ericsson | 3 |
| what is the difference between static block and static
method | Huawei | 9 |
| What is Session and cookies?Explain in detail with an
example? | CTS | 2 |
| |
| For more Core Java Interview Questions Click Here |