Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

All about Finals

A variable can be declared final. A final variable may only be assigned to once. It is a compile-time error if a final variable is assigned to unless it is definitely unassigned immediately prior to the assignment. After the assignment of any final variable, it can never be altered. If the variable refers to any ...



This post first appeared on Java Code Geeks, please read the originial post: here

Share the post

All about Finals

×

Subscribe to Java Code Geeks

Get updates delivered right to your inbox!

Thank you for your subscription

×