Is finalize() similar to a destructor?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What do you understand by access specifiers in Java?

0 Answers   Genpact,


What is the difference between throw and throws in java?

0 Answers  


How many bits are in a sentence?

0 Answers  


Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?

0 Answers   Genpact,


How do you check if an arraylist is not empty?

0 Answers  






Why we need Finally with try? pls expain with ur example..

3 Answers   BitWise, HDFC, TCS,


Can java cast null?

0 Answers  


how we can make a write-only class in java?

0 Answers  


Can we have multiple classes in single file ?

0 Answers  


What classes of exceptions may be thrown by a throw statement?

0 Answers  


"we cannot create an object of interface but we can create a variable of it".diacuss the statement with the help of an example.

2 Answers  


From the two, which would be easier to write: synchronization code for ten threads or two threads?

0 Answers  


Categories