Computer Science, asked by nehadeshmukh2707, 1 month ago

difference between final, finally and finalize in java​

Answers

Answered by JosephEddie
0

Answer:

Final means last

finally means at last

finalize means to last

Answered by Oreki
2

\begin{small}\begin{tabular} {l|l|l}\textbf{final} & \textbf{finally} & \textbf{finalize}\\\textsf{$\cdot$ Keyword} & \textsf{$\cdot$ Block} & \textsf{$\cdot$ Method.}\\\textsf{$\cdot$ Used to d\symbol{101}fine constants} & \textsf{$\cdot$ A block that executes after } & \textsf{$\cdot$ Executed just before the}\\ \textsf{\hspace{.37em} in the program} & \textsf{\hspace{.37em} the try-catch blocks, if d\symbol{101}fined} & \textsf{\hspace{.37em} object is collected by the GC}\end{tabular}\end{small}

Similar questions