| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| 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 dynamic binding? | | 2 |
| What is a default package ? | | 7 |
| write a class to input 2 points by the user & check the line
maked by the points is horizontal,vertical or rectangle? | | 1 |
| what is meaning of JIT? | | 3 |
| What is the exact difference in between Unicast and
Multicast object ? | Accenture | 1 |
| what is the use/perpose of having a method antive? | | 2 |
| Write java code to print "Hello how are you"
Thread1 should have "Hello"
Thread2 should have "how are you"
both the threads should start at the same time | Huawei | 2 |
| Can a class inherit the constructors of its superclass? | Wipro | 7 |
| What is the purpose of the File class? | | 2 |
| Difference between a Scrollbar and a ScrollPane? | | 1 |
| What is numeric promotion? | | 1 |
| What is the immediate superclass of Menu? | | 1 |
| How to call static method? | Epoch | 3 |
| Package1 and Package2 both have a method name lets say
"methodA" with different implementation. When I import both
the packages in a java class how can I use both the methods? | Ericsson | 3 |
| what are the diffrences between interface and abstract
class? | | 4 |
| where u use Abstraction and Interface in real time | Sonata | 2 |
| how many ways we can serialize the java object? | Satyam | 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 | 1 |
| diff b/w sleep(1000) and wait(1000)? | Huawei | 2 |
| |
| For more Core Java Interview Questions Click Here |