Explain final, finalize() and finally?
Answers were Sorted based on User's Feedback
Answer / ajit kumar
write a program explain the exception handling machanisms
in java using the keywords try catch and finaly ?
Is This Answer Correct ? | 4 Yes | 12 No |
How do you ensure that n threads can access n resources without deadlock?
class A { private int i; } class B extends A { private int i; } if I create an object of B class what will be the memory of that object.
Give any two differences between C++ and java.
Can we declare a class as abstract without having any abstract method?
What is passed by reference and pass by value ?
Can we add two byte variables and assign the result to a byte variable ? b=b1+b2 where b,b1,b2 are byte types
What is casting?
Write a java program to check if a number is prime or not?
What is gui programming?
Is java util list serializable?
What is an infinite loop?
While opening the file, what type of exceptions can be caught?