What is finalize() function in java?


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

Post New Answer

More Core Java Interview Questions

Differentiate between stringbuffer and stringbuilder in java.

0 Answers  


What is the use of math abs in java?

0 Answers  


Why call by value prevents parameter value change?

0 Answers  


Explain JSP life cycle

1 Answers   Cap Gemini,


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

0 Answers  






hi to all,i have a question on static block. i saved below as test.java class test extends a { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p as static test static but if i change base class as test class then class test { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a extends test { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p test static explain me why "a static" wasn't print in second code when it is in derived class

1 Answers  


How to create an interface?

0 Answers  


what is inner class in java?

0 Answers   IBS,


What is Java Annotations?

0 Answers  


Is Java a dying language?

0 Answers  


Does java trim remove newline?

0 Answers  


Explain the use of shift operator in java. Can you give some examples?

0 Answers  


Categories