| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What happens when a main method is declared as private? | Sun-Microsystems | 12 |
| I need some details about an employee. i have only the
employee id in my presentation layer(JSP).I entered that ID
and click "Show Details" Button. Question is how the JSP
pass that id to Controller layer and DAO and what mechanism
we are using to retrive data from DB and how the data
passed to JSP as a Output. Please explain in detail. | TCS | 1 |
| what is an object and how do you allocate memory to it? | Wipro | 4 |
| What is an array and a vector? How they different from each
other? | | 4 |
| Is 'sizeof' a keyword? | | 7 |
| what is the difference between statis block and static
variable | | 6 |
| what are the oops concept in java explain with real time
examples | Tech-Mahindra | 7 |
| what is difference between method overloading & method
overridding with example? | IBM | 2 |
| Q) I have a ArrayList object, in that object i have added 5
integer values, 5 float values, 5 string values. Now
question is how can delete particular type of data ( i.e all
int values or all float values or string values) in that
list object at a time? | Aricent | 2 |
| Which containers use a FlowLayout as their default layout? | | 3 |
| where lives in jvm | | 4 |
| If you are reviewing the code of your team members, what
points will you look at, assuming the performance of the
application is not so great | KPIT | 2 |
| How u dubugg ur project? | iFlex | 1 |
| "we cannot create an object of interface but we can create
a variable of it".diacuss the statement with the help of
an example. | | 2 |
| Difference String and String Buffer
| | 3 |
| Functionality of JVM? | Infosys | 5 |
| What is Generic in java? Where can we write Generic ( class or method or objects or etc...)? with simple example?
Thanks, Bose. | Infosys | 2 |
| What is a stream? what are the different types and classes
of Streams? | | 2 |
| what is the difference between HashMap And HashTable? | Hexaware | 3 |
| primitive data types in Java ? | | 3 |
| |
| For more Core Java Interview Questions Click Here |