・・・って、うっかりメソッドの宣言部に書いたら普通にコンパイルできました。
オーバーライド禁止を表す"final"を、オーバーライドという概念のないクラスメソッドに付けてもコンパイラに怒られないんですね。
付ける意味も全くないし、動作もまったく変わらないのですが(笑)
Java言語仕様 8.4.3.2 static Methods、8.4.3.3 final Methodsのどちらにも、クラスメソッドにfinalを付けるとどうなる、という規定はありませんね。
http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.4.3.2
長いことJavaに関わっていますが、今さら気づきました。
Google’s Aletheia Advances the State of the Art of Fully Autonomous Agentic
Math Research
-
Google announced Aletheia, an AI using Gemini 3 Deep Think that solved 6/10
novel math problems in the FirstProof challenge. Aletheia also scored
~91.9% ...
3 hours ago



0 コメント:
Post a Comment