| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| A class can be a subclass of itself? | Genesis | 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 anyone explain me the concept of autoboxing? | | 3 |
| what us Dyna action form? | Aithent-Technologies | 3 |
| what is an object and how do you allocate memory to it? | Wipro | 3 |
| class A{
class B{
}
}
in which name u save the file,its the program compile? | HCL | 6 |
| How to reduce flicking in animation? | TCS | 1 |
| How many ways can an argument be passed to a subroutine? | | 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 are the similarities between an array and an ArrayList? | | 2 |
| What is file class and what is its purpose? | | 1 |
| How u dubugg ur project? | iFlex | 1 |
| Difference between local and global transaction ? | iFlex | 1 |
| Why Java is not purely object oriented? | Persistent | 21 |
| StringBuilder s = new StringBuilder("Hello
Mom");s.append(",I mean,Mother");
Response.Write(s.ToString());
String s = "Hello Mom";
s+ = ",I mean Mom";
Response.Write(s);
Which is faster ? which uses the most memory? | | 4 |
| what is the replacement for GOTO in java? | CTS | 2 |
| Interface A {
String test();
}
Interface B {
int test();
}
Create a class AB which must implements both A & B
interfaces. | Hewitt | 13 |
| What is CardLayout? | Infosys | 1 |
| why Runnable interface is preferable than extending the
Thread class? | Wipro | 5 |
| How to perform Singleton of the java class object on multi
JVM? | | 1 |
| |
| For more Core Java Interview Questions Click Here |