| Other Core Java Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| System.out.println(101/14)
what is the output?
a)6
b)14
c)7.14
d)0 | Accenture | 6 |
| There are 2 methods in a class. Both have the same method
signature except for return types. Is this overloading or
overriding or what is it? | KPIT | 7 |
| What is persistence ? | | 2 |
| what is finalmethod & final variable with example? | HP | 2 |
| In real time project which driver did u use? What is the
main functionality of the Prepared Statement? | Photon | 1 |
| what is difference between perfom() & excute() ? | IBM | 2 |
| how to transactions(Bank transactions) in business process
in ejb? | Photon | 1 |
| What is the difference between pageContext and page
implicit objects in jsp? | Merrill-Lynch | 6 |
| what are the diffrences between interface and abstract
class? | | 4 |
| Explain the relationship between the Canvas and Graphics
class? | | 1 |
| 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 |
| can u handle an error if u write Thowable in the catch
class lise
try
{
some errorneous code
}catch(Throwable e){ ...} | | 4 |
| what is servlet filter? | | 1 |
| Can we declare an anonymous class as both extending a class
and implementing an interface? | Wipro | 7 |
| What modifiers are used with a top level class? | | 2 |
| what is synchronization
| | 3 |
| When garbage collector invokes object?s finalize() method? | | 3 |
| What are the ways of polymorphism other than Overridding &
Overloading | | 1 |
| Which class has no duplicate elements? | | 8 |
| What we have to do, when we don't want to implement all
methods of an interface? | | 2 |
| |
| For more Core Java Interview Questions Click Here |