| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Explain about vector, dictionary,hash table, property
classes? | Patni | 1 |
| what is the difference between equals method and == | Professional-Access | 11 |
| why is multiple inheritance not allowed in java? | Elementus-Technologies | 5 |
| why interaction with server using javascript is difficult | | 1 |
| what are depricated methods in threads and explain the
lifecycle methods | | 5 |
| Different types of modifiers? | RoboCom | 3 |
| can we Connect Applet to Data Base ? with Discriptiom.
and also What is Diff. from Applet & Servlet? | Systematix | 1 |
| What is CardLayout? | Infosys | 1 |
| What is the functionality of Webserver? | | 2 |
| what are the new features available in java 1.5 version? | Motorola | 2 |
| can we add two numbers without using arthematic operators?
if possible how? | | 2 |
| write a progam hashmap & hashtable? | IBM | 2 |
| Given:
10. interface A { void x(); }
11. class B implements A { public void x() { } public
voidy() { } }
12. class C extends B { public void x() {} }
And:
20. java.util.List list = new java.util.ArrayList();
21. list.add(new B());
22. list.add(new C());
23. for (A a:list) {
24. a.x();
25. a.y();;
26. }
What is the result?
1 Compilation fails because of an error in
line 25.
2 The code runs with no output.
3 An exception is thrown at runtime.
4 Compilation fails because of an error in
line 20.
| | 1 |
| Can we declare an anonymous class as both extending a class
and implementing an interface? | Wipro | 7 |
| question on Thread synchronization | Huawei | 1 |
| Hi Friends, can u give code to convert ArrayList to
HashMap and HashMap to ArrayList. | | 1 |
| is memory to the abstract class allocated ..or objects not
instantiated | TCS | 4 |
| What modifiers are used with an inner class which is a
member of an outerclass? | | 1 |
| what is difference between prepare stetement and callable
starement with example? | CMC | 1 |
| What is static and a non-static inner class? | | 3 |
| |
| For more Core Java Interview Questions Click Here |