2024年6月16日、Javaの基本的なトピックについて学習しました。今回は「アノテーション」と「== と equals() の違い」という、Javaの初学者が混乱しやすいポイントを整理しておきます。 アノテーションとは? アノテーションとは、コードに対する注釈や追加 ...
この記事の要約: Javaの組み込みサポートが提供されるStringクラスは不変(immutable)であり、その操作と、StringBuilderによる可変な文字列操作のメカニズムを解説します。文字列の内容比較(equals)とオブジェクト同一性比較(==)の重要な違いを明確にし ...
Most new Java developers quickly learn that they should generally compare Java Strings using String.equals(Object) rather than using ==. This is emphasized and reinforced to new developers repeatedly ...
-> It is a class in java.lang package. -> It is the super most class for all the classes in Java. -> Each method in the Object class has a default behavior. If we want to change that behavior, we need ...
Almost halfway finished with independent study, 4th week in, but I’ve yet to decide on a project. On week 4, I reviewed the OO programming that I’ve learned on Codecademy on week 2. During Spring ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する