how to






 

Question by  dog (31)

How do you finalize a method in java?

I don't know much when it comes to computers.

 
+6

Answer by  idiotjones (705)

Methods in the java programming language are finalized with a closing bracket ("}"). This signifies that there is no more code beyond that point.

 
+6

Answer by  AnnaTeague (806)

Look up cleanup codes. You define and implement a method in your class, it is declared in the superclass. You must finalize () your superclass in order for it to perform its cleanup properly. This cleans up resources which you may not be aware of being used in your superclass.

 
You have 50 words left!