01B Java 17 Certification Course

Publié le: 09 juin 2024
sur la chaîne: Hello World Java
1,906
51

🎯 Java 17 Certification Course - Episode 01B

Java 17 Certification Course (Preparing for version 21)
Code: https://github.com/cursosmrugerio/cur...

We continue with our complete *Java 17 Certification* course! In this second part, we delve deeper into fundamental concepts for the exam.

📚 What you will learn in this video:

🗑️ *Garbage Collector in Depth*
How the *Garbage Collector* works in the JVM
When an object is *eligible* for collection
Null references and memory release
Practical memory analysis exercises

🔒 *The FINAL Keyword*
**Final in primitives**: Creating constants
**Final in references**: Reassignment locking
**Final in methods**: Override prevention
**Final in classes**: Inheritance locking
Examples with String and StringBuilder

🧩 *Certification Exercises*
Solving real exam questions
Analyzing *complex references* between objects
Pattern of objects referencing themselves
Memory diagrams for Complex Cases

🔧 *Advanced String Pools*
The `intern()` method for moving objects into the pool
Differences between objects created with `new` vs. literals
Memory optimization with StringBuilder
Converting StringBuilder objects to Strings

🎯 *Key Exam Concepts:*
*Reference variables* vs. *objects* in memory
*Eligibility* for Garbage Collection
*Inheritance* and restrictions with `final`
*String Pools* and optimization

⏰ Timestamps:
00:00 - Review and Q&A from the previous session
12:16 - Garbage Collector exercise (Question 5)
32:27 - Analyzing complex references
46:12 - Additional exercises from the book
59:00 - The keyword `Final` in detail
01:16:16 - String Pool and the intern() Method

📖 *Resources Used:*
Official Java 17 Certification Book
Chapter 1 Exercises (23 questions)
*Custom GPT* for additional practice
Explanatory Memory Diagrams

🤖 *Extra Tool:*
I'm sharing my *custom GPT* for Java 17 certification - use it to resolve doubts and generate additional exercises.

💡 *For the Next Session:*
Answer the *23 questions* from Chapter 1
Review the concepts of references and objects
Prepare specific questions about Garbage Collection

🔗 *Course Resources:*
Complete source code on *GitHub*
Study materials in PDF format
Custom GPT for practice

---

*#Java17 #JavaCertification #GarbageCollector #FinalKeyword #PoolOfStrings #JavaMemory #ObjectOrientedProgramming #OracleJava*

*Did you find the content useful?* 👍 Don't forget to subscribe and turn on notifications so you don't miss the next videos in the course.

*💬 Tell us in the comments:* What concept did you find most interesting in this session?


Sur cette page du site, vous pouvez voir la vidéo en ligne 01B Java 17 Certification Course durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Hello World Java 09 juin 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,906 fois et il a aimé 51 téléspectateurs. Bon visionnage!