| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What are uses of Hash Code? | Cognizent | 2 |
| what are class,constructor and primitive data types? | | 2 |
| when i write
string s1="java";
in one program(application) and
string s2="java";
in another application
on the same jvm will both objects s2,s2 will refer to same
memory location where "java" is stored
in string pool. | | 2 |
| Hi Friends, can u give me Real Time example for interface
and abstract class.(With Banking Example) | | 1 |
| what is bytecode ?explain in detail and watz the difference
between bytecode and machine code? | Lucent | 3 |
| what is diffrence between .NET and java? | | 2 |
| write the hierarchy of component class? | | 1 |
| what is a static block? | | 4 |
| What is an exception? | | 4 |
| What is the default modifier in Interface? | | 4 |
| what is multithreading? | Virtusa | 4 |
| What is "Java Native Interface" and how to use it? | IBM | 1 |
| question on Thread synchronization | Huawei | 1 |
| What is the need to implement Serializable interface (with
no methods) for objects which are to be serialized ?
We can write our own functionality which writes objects to
streams then why we need to implement and tell JVM that
which objects can be serialized. | iFlex | 4 |
| Functionality of JVM? | Infosys | 4 |
| How multipleInheritance is possible in java? | Satyam | 16 |
| How the threads are synchronized? | BMC | 2 |
| Hi Friends, I am beginner in java. what i know about
synchonized keyword is,If more that one 1 thread tries to
access a particular resource we can lock the method using
synchronized keyword. Then after that how the lock is
released and how next thread access that.Please explain with
example. | | 1 |
| Can a class inherit the constructors of its superclass? | Wipro | 7 |
| how many ways to create Thread and which one is good?
runnable interface ot Thread class? | Satyam | 3 |
| |
| For more Core Java Interview Questions Click Here |