| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Explain class A{}
class B{}
class C{}
all the three classes are saved in a single file name, what
the name should i provide to the file ,in what file name
should i run the program? Ple Explain | DNS | 6 |
| What is the root class for all Java classes? | | 4 |
| what is the use of abstract class? | AMDOC | 2 |
| Can we place the any object to key attribute of
HashMap<key,value>? | HCL | 3 |
| what is mean by String and StringBuffer?
What is mean by Methooverriding and Overloading?
| Satyam | 3 |
| when asub class inherits a super class and overrides a
public method of super class in sub class(public method in
super class).
why these methods needs to be public in sub class.
(otherwise compile time error). | | 2 |
| I have an HashMap object, which has with key and value pair.
It has 10 keys and values in that object. Now the question
is I want insert new key and value in middle or any where in
that list but not at the end or at the top. Is it possible
or not. If yes how can we achieve this one? | Huawei | 1 |
| what is mean by method signature? | Satyam | 5 |
| Hi Friends, Can u give few interview questions which relates
ArrayList and Hashmap. I mean how to link ArrayList and
HashMap.I know this is not good way of asking questions like
this , but i need | Microsoft | 1 |
| What is a Java package and how is it used? | | 2 |
| What is the exact difference in between Unicast and
Multicast object ? | Accenture | 1 |
| What error occurs if a try-catch-finally statement sequence
does not have a catch clause? | | 2 |
| whays is mean by inner class? | HCL | 3 |
| Explain difference between final, finally and finalize? | | 2 |
| What is the diff. b/w Interfaces & Abstract class? | Ericsson | 4 |
| What is the difference between this() and super()? | TCS | 11 |
| How to create an instance of a class if the class has
private constructor? | | 2 |
| when we have to use final class in java? | | 2 |
| Explain about Superclass and Subclass? | | 4 |
| 1).Is Object class abstract or not?
2).Is main method(public static void main(String args[])low
priority thread or high priority thread?
| TCS | 2 |
| |
| For more Core Java Interview Questions Click Here |