| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| can we create instance for interface in java? | | 2 |
| can we have function for truncating the sign as like abs in
oracle. | | 1 |
| I have one POJO class(Java bean class), it has two
variables for that it has setters and getters. Now i have
created two objects for that class and i have set the data
for those variables through this two objects. Now question
is i want check whether those two objects have same data or
not, for this write a program? Thanks, Bose. | Oracle | 2 |
| Differentiate Vector and ArrayList? | Wipro | 4 |
| Can we place the any object to key attribute of
HashMap<key,value>? | HCL | 3 |
| How to access a variable if it is declared as private? | | 2 |
| What is the immediate superclass of the Dialog class? | | 1 |
| 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 |
| is this possible to create an array of 0 length?
if so how? if not so why?
coz we have an array in main() likw this
"static void main(String [] s) then what it signifies? | Hexaware | 2 |
| what is mutability?which one is mutable String or StringBuffer?and why?give
examples of each which shows the mutability of each String or StringBuffer | | 2 |
| What is compile time polymorphism? | Elementus-Technologies | 6 |
| What is the specification of ?CODEBASE? in an applet? | | 1 |
| What is the purpose of finalization? | | 3 |
| what is the use of reference variable | | 2 |
| what is sendredirect? | TCS | 3 |
| How to synchonise HashMap | IBM | 3 |
| What is dynamic binding? | | 2 |
| How to sort a vector elements that contains the user define
class object? (Note: If Suppose consider, A Student class
contain two data members. They are String studentName and
int rollNo. I am creating Four objects for this class, each
object contains students details like name and roll no. Now
i am storing that objects in vector and if i retiving the
elements from the vector means then it should be display in
sorting order) | ProdEx-Technologies | 2 |
| Does java support multi dimensional arrays ? | | 4 |
| What is the frontend and backedn in Java? | TCS | 2 |
| |
| For more Core Java Interview Questions Click Here |