Explain final, finalize() and finally?
Answer Posted / dwr
final varibles are unchangeble.
final classes are not subclassed.
final methods are not overriden.
finilize()
to clean up memory resourses for object using finilize().
finally block is executed if exception thrown or not.
Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
what do you mean by java annotations?
Explain try and catch keywords in java?
How java uses the string and stringbuffer classes?
what are abstract functions?
Is string a datatype?
How objects are stored in java?
How use .contains in java?
Which data type is class in java?
Explain public static void main(string args[]).
Is string serializable in java?
What are abstract methods in java?
what do you mean by stream pipelining in java 8? Explain
What are access specifiers in java ?
Is null a keyword in java?
What is difference between ++ I and I ++ in java?