JavaScript addEventListener() と例

JavaScript addEventListener() と例

addEventListener() メソッド EventTarget インターフェイスの関数は、指定されたイベントがターゲットに配信されるたびに呼び出される関数を設定します。この方法では、要素上で複数のイベント ハンドラーが可能になり、Web アプリケーション内で動的かつ柔軟な対話管理が可能になります。

構文:

element.addEventListener(event, listener, useCapture); 

パラメーター:

  • イベント: イベントには、任意の有効な JavaScript イベントを指定できます。イベントは、onclick の代わりに click を使用したり、onmousedown の代わりに Mousedown を使用したりするなど、on プレフィックスなしで使用されます。
  • リスナー(ハンドラー関数): これは、発生したイベントに応答する JavaScript 関数にすることができます。
  • 使用キャプチャ: これは、イベントの伝播を制御するために使用されるオプションのパラメーターです。ブール値が渡されます。 真実 はキャプチャフェーズを示し、 間違い はバブリング段階を示します。

例 1: この例では、ボタンをクリックした後に Web ページにテキストを表示します。

HTML
          ドキュメントのタイトル> 見出し> <body>  <button id='try'>ここをクリックボタン> <h1 id='text'>h1> <script>document.getElementById('try').addEventListener('click', function () { document.getElementById('text').innerText = 'techcodeview.com'; });  スクリプト>本文>html>> </pre>  </code>  <p dir='ltr'>  <b>  <strong>出力: </strong>  </b>  <span>  </span> </p>  <img src='//techcodeview.com/img/javascript-methods/82/javascript-addeventlistener-with-examples.webp' alt='JavaScript addEventListener() と例'> <p>JavaScript addEventListener() と例 </p>  <p dir='ltr'>  <br>  <b>  <strong>例 2: </strong>  </b>  <span>この例では、mouseover と Mouseout という 2 つのイベントが同じ要素に追加されます。テキストがマウスオーバーされると、mouseover イベントが発生して RespondMouseOver 関数が呼び出されます。同様に、マウスアウト イベントの場合は RespondMouseOut 関数が呼び出されます。 </span> </p>HTML <code>  <pre>  <html lang='en'>  <head>  <meta charset='UTF-8'>  <meta name='viewport' content='width=device-width,  initial-scale=1.0'>  <title>ドキュメントのタイトル> 見出し> <body>  <button id='clickIt'>ここをクリックボタン> <p id='hoverPara'>このテキストの上にマウスを移動します !p> <b id='effect'>b> <script>const x = document.getElementById('clickIt');  const y = document.getElementById('hoverPara');  x.addEventListener('click', RespondClick);  y.addEventListener('mouseover', RespondMouseOver);  y.addEventListener('mouseout', RespondMouseOut);  function RespondMouseOver() { document.getElementById('effect').innerHTML += 'MouseOver Event' + ' ';  } function RespondMouseOut() { document.getElementById('effect').innerHTML += 'MouseOut Event' + ' ';  } function RespondClick() { document.getElementById('effect').innerHTML += 'クリック イベント' + ' ';  } スクリプト>本体>html>> </pre>  </code>  <p dir='ltr'>  <b>  <strong>出力: </strong>  </b>  <span>  </span> </p>  <img src='//techcodeview.com/img/javascript-methods/82/javascript-addeventlistener-with-examples-2.webp' alt='JavaScript addEventListener() と例'> <p>JavaScript addEventListener() と例 </p>  <br>  <br>
                     </div>

                     <!-- Article Footer with Prominent Share Buttons -->
                     <div class="px-6 md:px-8 py-8 bg-slate-50 dark:bg-slate-900/50 border-t border-slate-200 dark:border-slate-700/50">
                          <div class="flex flex-col sm:flex-row items-center justify-between gap-6">
                              <h4 class="text-base font-bold text-slate-700 dark:text-slate-300 uppercase tracking-wide flex items-center gap-2">
                                 <i class="fa fa-share-alt text-tech-500"> </i>
                                共有                              </h4>
                             
                              <div class="flex flex-wrap justify-center gap-3">
                                 <!-- Twitter -->
                                 <a href="https://twitter.com/intent/tweet?text=JavaScript addEventListener() と例&url=https://www.techcodeview.com/ja/javascript-addeventlistener-with-examples" 
                                   target="_blank" rel="noopener noreferrer" 
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#1DA1F2]/10 text-[#1DA1F2] hover:bg-[#1DA1F2] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-twitter text-lg"> </i>
                                     <span class="hidden sm:inline">Twitter </span>
                                 </a>

                                 <!-- Facebook -->
                                 <a href="https://www.facebook.com/sharer/sharer.php?u=https://www.techcodeview.com/ja/javascript-addeventlistener-with-examples" 
                                   target="_blank" rel="noopener noreferrer"
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#4267B2]/10 text-[#4267B2] hover:bg-[#4267B2] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-facebook text-lg"> </i>
                                     <span class="hidden sm:inline">Facebook </span>
                                 </a>
                                
                                 <!-- LinkedIn -->
                                 <a href="https://www.linkedin.com/shareArticle?mini=true&url=https://www.techcodeview.com/ja/javascript-addeventlistener-with-examples&title=JavaScript addEventListener() と例" 
                                   target="_blank" rel="noopener noreferrer"
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#0077b5]/10 text-[#0077b5] hover:bg-[#0077b5] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-linkedin text-lg"> </i>
                                     <span class="hidden sm:inline">LinkedIn </span>
                                 </a>
                              </div>
                          </div>
                     </div>
                </article>

                <!-- Comments Placeholder / Random Articles -->
                <div class="mt-8 bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 rounded-xl p-6 md:p-8 shadow-sm">
                     <h3 class="text-xl font-bold text-slate-900 dark:text-white mb-6 uppercase tracking-wide border-b border-slate-200 dark:border-slate-700 pb-2">
                        あなたにおすすめ                     </h3>
                     <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                         <div class="group">
                              <a href="/ja/what-is-good-sat-score-131452" class="block aspect-video rounded-lg overflow-hidden bg-slate-200 dark:bg-slate-700 mb-3">
                                 <img loading="lazy" src="https://techcodeview.com/img/blog/90/what-is-good-sat-score.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="良い SAT スコアとは何ですか? SAT スコアが悪いですか?優れた SAT スコア?" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                              </a>
                              <h4 class="font-bold text-slate-900 dark:text-white leading-tight group-hover:text-tech-500 transition-colors">
                                 <a href="/ja/what-is-good-sat-score-131452">良い SAT スコアとは何ですか? SAT スコアが悪いですか?優れた SAT スコア? </a>
                              </h4>
                         </div> <div class="group">
                              <a href="/ja/r-bar-charts" class="block aspect-video rounded-lg overflow-hidden bg-slate-200 dark:bg-slate-700 mb-3">
                                 <img loading="lazy" src="https://techcodeview.com/img/picked/11/r-bar-charts.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="R – 棒グラフ" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                              </a>
                              <h4 class="font-bold text-slate-900 dark:text-white leading-tight group-hover:text-tech-500 transition-colors">
                                 <a href="/ja/r-bar-charts">R – 棒グラフ </a>
                              </h4>
                         </div>
                     </div>
                </div>
             </div>

             <!-- SECONDARY COLUMN (SIDEBAR) -->
             <!-- Aside Column -->
 <div class="lg:col-span-4 space-y-8">
	
	 <!-- Best Articles Widget -->
	 <div class="rounded-xl bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 p-6 shadow-sm">
		 <div class="mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
			 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide flex items-center">
                 <span class="mr-2 h-2 w-2 rounded-full bg-tech-500"> </span>
                トップ記事             </h2>
		 </div>
		
		 <!-- Owl Carousel Preserved Container -->
		 <div id="owl-carousel-3" class="owl-carousel owl-theme center-owl-nav">
			 <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/find-height-of-a-special-binary-tree-whose-leaf-nodes-are-connected">
						 <img src="https://techcodeview.com/img/linked-list/90/find-height-of-a-special-binary-tree-whose-leaf-nodes-are-connected.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="葉ノードが接続された特殊な二分木の高さを求める" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/find-height-of-a-special-binary-tree-whose-leaf-nodes-are-connected" class="hover:text-tech-500 transition-colors line-clamp-3">葉ノードが接続された特殊な二分木の高さを求める </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/10-best-code-text-editors">
						 <img src="https://techcodeview.com/img/picked/98/10-best-code-text-editors.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="2024 年にダウンロードすべき Mac 用のベスト コード/テキスト エディター 10 選" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/10-best-code-text-editors" class="hover:text-tech-500 transition-colors line-clamp-3">2024 年にダウンロードすべき Mac 用のベスト コード/テキスト エディター 10 選 </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/greek-alphabet-symbols">
						 <img src="https://techcodeview.com/img/geeks-premier-league-2023/35/greek-alphabet-symbols.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="ギリシャ語のアルファベット: 記号、文字、名前、および例" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/greek-alphabet-symbols" class="hover:text-tech-500 transition-colors line-clamp-3">ギリシャ語のアルファベット: 記号、文字、名前、および例 </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/types-exception-java">
						 <img src="https://techcodeview.com/img/java-tutorial/48/types-exception-java.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Java の例外の種類" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/types-exception-java" class="hover:text-tech-500 transition-colors line-clamp-3">Java の例外の種類 </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/save-json-file-python">
						 <img src="https://techcodeview.com/img/python-tutorial/62/save-json-file-python.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Pythonでjsonファイルを保存する" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/save-json-file-python" class="hover:text-tech-500 transition-colors line-clamp-3">Pythonでjsonファイルを保存する </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/when-should-i-ask-college-recommendation-letter-1311380">
						 <img src="https://techcodeview.com/img/blog/87/when-should-i-ask-college-recommendation-letter.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="大学の推薦状はいつ依頼すればよいですか?" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/when-should-i-ask-college-recommendation-letter-1311380" class="hover:text-tech-500 transition-colors line-clamp-3">大学の推薦状はいつ依頼すればよいですか? </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/java-program-write-into-file">
						 <img src="https://techcodeview.com/img/java-files/13/java-program-write-into-file.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="ファイルに書き込む Java プログラム" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/java-program-write-into-file" class="hover:text-tech-500 transition-colors line-clamp-3">ファイルに書き込む Java プログラム </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/why-is-rhombus-not-square">
						 <img src="https://techcodeview.com/img/picked/21/why-is-rhombus-not-square.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="なぜひし形は正方形ではないのですか?" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/why-is-rhombus-not-square" class="hover:text-tech-500 transition-colors line-clamp-3">なぜひし形は正方形ではないのですか? </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/java-convert-double-string">
						 <img src="https://techcodeview.com/img/java-conversion/97/java-convert-double-string.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Java 倍精度を文字列に変換する" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/java-convert-double-string" class="hover:text-tech-500 transition-colors line-clamp-3">Java 倍精度を文字列に変換する </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/ja/complete-guide-act-grammar-rules-131650">
						 <img src="https://techcodeview.com/img/blog/17/complete-guide-act-grammar-rules.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="ACT 文法ルールの完全ガイド" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/ja/complete-guide-act-grammar-rules-131650" class="hover:text-tech-500 transition-colors line-clamp-3">ACT 文法ルールの完全ガイド </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE -->
		 </div>
		

         <!-- Categories -->
		 <div class="mt-8 mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
			 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide">カテゴリ </h2>
		 </div>
		 <div class="flex flex-wrap gap-2">
             <a href="/ja/blog/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                ブログ
             </a> <a href="/ja/java-conversion/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Java変換
             </a> <a href="/ja/maths/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                数学
             </a> <a href="/ja/java-collections/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Java コレクション
             </a> <a href="/ja/differences/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                違い
             </a> <a href="/ja/java-string/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Java文字列
             </a>
         </div>

         <!-- Interesting Articles Widget -->
		 <div class="mt-8">
			 <div class="mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
				 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide">興味深い記事 </h2>
			 </div>
			
			 <div id="owl-carousel-4" class="owl-carousel owl-theme">
				 <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/html-attributes/30/html-align-attribute.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="HTML align 属性" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/ja/html-attributes/">Html 属性 </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ja/html-align-attribute">HTML align 属性 </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/python/88/python-if-else-statements-conditional-statements.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Python If Else ステートメント – 条件付きステートメント" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/ja/python/">パイソン </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ja/python-if-else-statements-conditional-statements">Python If Else ステートメント – 条件付きステートメント </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/blog/30/best-crucible-act-1-summary.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="最高のクルーシブル Act 1 の概要" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/ja/blog/">ブログ </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ja/best-crucible-act-1-summary-1311360">最高のクルーシブル Act 1 の概要 </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/java-object-oriented/91/polymorphism-java.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Javaのポリモーフィズム" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/ja/java-object-oriented/">Java オブジェクト指向 </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ja/polymorphism-java">Javaのポリモーフィズム </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/blog/90/is-act-hard-9-key-factors.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="ACTは難しいですか? 9 つの重要な要素を考慮" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/ja/blog/">ブログ </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ja/is-act-hard-9-key-factors-131830">ACTは難しいですか? 9 つの重要な要素を考慮 </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/java-tutorial/90/how-check-current-jdk-version-installed-your-system-using-cmd.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="CMD を使用してシステムにインストールされている現在の JDK バージョンを確認するにはどうすればよいですか?" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/ja/java-tutorial/">Java チュートリアル </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ja/how-check-current-jdk-version-installed-your-system-using-cmd">CMD を使用してシステムにインストールされている現在の JDK バージョンを確認するにはどうすればよいですか? </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE -->
			 </div>
		 </div>
	 </div>
 </div>
 <!-- /Aside Column -->         </div>
        </div>
     </div>

 <footer class="site-footer">
         <div class="container">
             <span class="footer-links">
                Copyright ©2026 全著作権所有 | 
                 <a href="//www.techcodeview.com/ja/">techcodeview.com </a> | 
                 <a href="/disclaimer" rel="nofollow noopener noreferrer" target="_blank">免責事項 </a> | 
                 <a href="/about-us" rel="nofollow noopener noreferrer" target="_blank">私たちについて </a> | 
                 <a href="/privacy-policy" rel="nofollow noopener noreferrer" target="_blank">プライバシーポリシー </a> 
             </span>
         </div>
     </footer>
 
     <script type="text/javascript" src="https://techcodeview.com/template/assets/plugins/jquery-1.11.3.min.js"> </script>
     <script type="text/javascript" src="https://techcodeview.com/template/assets/plugins/bootstrap/js/bootstrap.min.js"> </script>    
     <script type="text/javascript" src="https://techcodeview.com/template/assets/js/main.js"> </script>     
	 <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"> </script>
	 <script>
    !function(){"use strict";let t=document.createElement("button");t.id="toTopBtn",t.innerHTML="↑";let e=`
        #toTopBtn {
            position: fixed; bottom: 25px; right: 25px; z-index: 9999; opacity: 0; visibility: hidden; background-color: #0ea5e9; color: white; border: none; border-radius: 8px; width: 50px; height: 50px; font-size: 24px; cursor: pointer; transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        }
        #toTopBtn:hover { background-color: #0284c7; }
    `,i=document.createElement("style");i.type="text/css",i.innerText=e,document.head.appendChild(i),document.body.appendChild(t),window.addEventListener("scroll",()=>{let e=window.scrollY||document.documentElement.scrollTop;e>300?(t.style.opacity="1",t.style.visibility="visible"):(t.style.opacity="0",t.style.visibility="hidden")}),t.addEventListener("click",()=>{window.scrollTo({top:0,behavior:"smooth"})})}();
     </script>
 </body>
 </html>