| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is an virtual function | TCS | 2 |
| What are Font and FontMetrics classes? | | 1 |
| How can we handle runtime exceptions? write one sample
program? Can we write runtime exceptions beside the throws
key word? if yes write sample program? | Huawei | 1 |
| whats the life cycle of jsp
| Satyam | 11 |
| Accenture NJ mostly ask question on Collection like
1)How to sort Objcts and how treeset sort them
2)Explain mechanism of Hashcode finding in Java
3)Name some of the Sorted collection. | Accenture | 2 |
| Hi Friends, can u give code to convert ArrayList to
HashMap and HashMap to ArrayList. | | 1 |
| what is auto boxing | UHG | 1 |
| when a servlet sends request for first time it uses the
follwing methods
a)init
b)doget()
c)dopost()
d)service | Accenture | 2 |
| What is Interface? | BMC | 5 |
| How to create an instance of a class if the class has
private constructor? | | 2 |
| can we create object for static class in java | Marlabs | 5 |
| In Inheritence concept, i have a static method in super
class and i am inheriting that class to one sub class.in
that case the static method is inherited to sub class or
not???? | Accenture | 8 |
| why the constructor should be used in class,if there is no
constructor what will happen? | | 4 |
| How to validate the request (Eg:user name and password) in
session(http session)? not in LDAP server ? | Saksoft | 1 |
| Write a program to create a binary Tree ? | | 1 |
| what is difference between excute query ()and execute update
()? | Symphony | 5 |
| what is the use of abstract class and interface with example? | DNS | 2 |
| What happens if an exception is not caught? | | 4 |
| Explain pass by reference and pass by value? | Wipro | 5 |
| String is a immutable objects . it means that string does
not change...........
But it will be chang.........
{
String s="kapil";
String s1="raj";
String s=s1;
then print(.......)
The String has been changed ..
how it is possible and why its called immutable objects | | 3 |
| |
| For more Core Java Interview Questions Click Here |