| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is Dictionary? and what purpose it is used for? | | 2 |
| 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 Portal(web based online portal)? | AIG | 1 |
| How will you convert an ArrayList to Arrays? | KPIT | 3 |
| I have a class which is abstract which contains only the
abstract methods. This is similar to an interface. Then, if
i have given a choice to choose one of them. Which one i
have to choose and why? | | 4 |
| why String class is immutable. | iGate | 3 |
| explain oops concepts with examples? | TCS | 16 |
| What is the difference between error and exception and
explain in simple words not whatever is given in the book. | | 6 |
| what is j2se | | 3 |
| using equals method overriding which objects are
compared?i.e same class objects or other class
objects?Explain me. | | 3 |
| What is file class and what is its purpose? | | 1 |
| What is the life cycle of an Applet ? | | 1 |
| We can write any Java Logics in our JSP. Then why we are
using servlets(Controller Layer) to interact with the DAO ? | TCS | 2 |
| In which JDK version event-delegation model is introduced? | | 1 |
| Can a double value be cast to a byte? | | 3 |
| Can an exception be rethrown? | Wipro | 4 |
| what is the difference between the "protected and default"
modifiers? | | 4 |
| How the elements are organized in BorderLayout? | | 4 |
| What is encapsulation? Elaborate with example? | BMC | 1 |
| how cani read a command line argument?(usingfile object). | | 3 |
| |
| For more Core Java Interview Questions Click Here |