| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| how session will be expired? | Infosys | 4 |
| What enableEvents() method do? | | 1 |
| Can an anonymous class be declared as implementing an
interface and extending a class? | | 1 |
| what is sendredirect? | TCS | 3 |
| Explain, why the constructor is required in implemented
class? | | 2 |
| Which class should you use to obtain design information
about an object | | 2 |
| I have one Shopping cart application, i that i have
selected some items, while clicking submit button by
mistake i have clicked twice or trice, that time items are
selected twice or trice. Actually i want only one copy of
items but its selected twice or trice. So how can we avoid
this problem? | Honeywell | 2 |
| Different types of modifiers? | RoboCom | 3 |
| in a constructor what happen if u call super and this in
the same class? i know that it is not possible to call
both in the same one? if we call what will happen? | ITC-Infotech | 6 |
| What is the order of method invocation in an Applet? | | 1 |
| What is the return type of readLine() when end of a file is
reached? | | 1 |
| What is the difference between Trusted and Untrusted
Applet ? | IBM | 1 |
| explain System.out.println | IBM | 41 |
| my method "abc" return array of interface "xyz"
and "pqr" is abstract class implements abc
and class "jkl" extends pqr
My problem
1) when i call abc it retrun array xyz how can i do this
hint
xyz refer_xyz = new jkl();
but i can't create array.
2)I want to access method of jkl using reference of xyz??
| | 1 |
| A class can be a subclass of itself? | Genesis | 2 |
| How to convert String into primitive datatype. | | 4 |
| Explain pass by reference and pass by value? | Wipro | 5 |
| what are class,constructor and primitive data types? | | 2 |
| how many ways to create Thread and which one is good?
runnable interface ot Thread class? | Satyam | 3 |
| What Method and class used for Connection pooling ? | Wipro | 4 |
| |
| For more Core Java Interview Questions Click Here |