A
Ayrton
What is the important of this code:
.....
fianl JButton ....
Why final ?
.....
fianl JButton ....
Why final ?
What is the important of this code:
....
fianl JButton ....
Why final ?
Because it pleases the dread gods of Javanor...
Impossible to answer without more code.
As others, you can not tell specifics without more code.Joan said:Ontologies can validate
taxonomy membership
Ayrton said:Why final ?
Ayrton said:What is the important of this code:
....
fianl JButton ....
Why final ?
Kevin said:The compiler can do some optimizations on final variables, parameters,
and fields. Final variables make sure that you don't accidentally
re-assign the value. Final fields make sure that new constructors don't
forget to provide values. Final fields can make an object immutable so
it can be safely cached or placed in hash tables.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.