You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/content.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -784,7 +784,7 @@ Real-world analogies and structured Java files make understanding core OOP princ
784
784
-**Encapsulation & Data Hiding**: `Encapsulation.java`, `DataHidding.java`, `DataHidding1.java`, `GetAndSetMethod.java`, and `GetAndSetMethodSolve.java` explain how access modifiers and getter/setter methods enforce encapsulation.
785
785
-**Classes and Objects**: `ClassBluePrint.java`, `OOPsIMP.java`, `Student.java`, and `TypesOfProperties.java` demonstrate how real-world entities are modeled using Java classes.
786
786
-**Constructor Overloading**: `constructoroverloading.java`, `Constructor.java` explain how multiple constructors can provide flexible object initialization.
787
-
-**Inheritance & Polymorphism**: The `Test` subfolder (with `Animal.java`, `Cat.java`, `Dog.java`, `TestClass.java`) provides examples of class inheritance and method overriding. `Polymorphism.txt` supports theoretical understanding.
787
+
-**Inheritance & Polymorphism**: The `GenericClass2.Test` subfolder (with `Animal.java`, `Cat.java`, `Dog.java`, `TestClass.java`) provides examples of class inheritance and method overriding. `Polymorphism.txt` supports theoretical understanding.
788
788
-**Object Arrays & Use Cases**: `ArrayOfObject.java`, `ProductAndCostomer.java`, and `Section11ProductAndCostomer.txt` focus on object manipulation in arrays and real-world modeling.
789
789
-**Practical Implementations**: Classes like `AreaandPerimeter.java`, `Cylinder.java`, `CylinderTest.java`, and `Rectangle.java` apply OOP concepts to geometric computations.
790
790
@@ -877,7 +877,7 @@ It demonstrates how interfaces promote abstraction, contract-based design, and f
877
877
#### 🧠 Related Topic Overview:
878
878
-**Repo Content:**
879
879
-**Interface Fundamentals**: Interfaces.java, InterfacesIMP.java, and InterfaceDoDont.java cover syntax, rules, and best practices of interface usage in Java.
880
-
-**Real-world Modeling**: The Devices folder (Camera.java, Phone.java, MusicPlayer.java, SmartPhone.java, and Test.java) models multiple devices and how they implement behavior through interfaces.
880
+
-**Real-world Modeling**: The Devices folder (Camera.java, Phone.java, MusicPlayer.java, SmartPhone.java, and GenericClass2.Test.java) models multiple devices and how they implement behavior through interfaces.
881
881
-**Multiple Inheritance**: MultipleinheritanceUsingInterfaces.java shows how interfaces overcome the diamond problem in Java.
882
882
-**Callback Pattern**: CallBackJAVA.java, CallBackMethodIMP.java, and Callback Method in Java.txt demonstrate how interfaces enable decoupled communication between objects.
883
883
-**Advanced Interface Usage**: NestedInterface.java introduces nesting interfaces within classes or other interfaces to group logic more meaningfully.
@@ -939,7 +939,7 @@ It also illustrates the concept of singleton classes and demonstrates how this a
939
939
- BankAccountAutomaticStatic.java, BankAccountIMP.java`: Demonstrate shared/static counters and behaviors across instances.
940
940
- SingletoneClass.java: Implements a Singleton pattern using a static instance for controlled object creation.
941
941
- This.java, ThisKeyword.java, ThisVsSuper, SuperKeywrd.java: Explore how this and super help reference instance vs. parent class elements.
942
-
- vehicles/Vehicle.java, EVCar.java, car.java, Test.java: Realistic object-oriented examples showing static/final usage in inheritance and polymorphism.
942
+
- vehicles/Vehicle.java, EVCar.java, car.java, GenericClass2.Test.java: Realistic object-oriented examples showing static/final usage in inheritance and polymorphism.
943
943
944
944
-**Related Concepts:**
945
945
-**static**: Class-level keyword for shared state/methods. Great for counters, utility methods, and factory patterns.
@@ -962,7 +962,7 @@ It features examples of creating custom packages, importing them, and maintainin
962
962
963
963
#### 🧠 Related Topic Overview:
964
964
-**Repo Content:**
965
-
- ZOO/Animal.java, Dog.java, Test.java: Demonstrates defining and using a custom package (ZOO) with animal-related classes and a main test driver.
965
+
- ZOO/Animal.java, Dog.java, GenericClass2.Test.java: Demonstrates defining and using a custom package (ZOO) with animal-related classes and a main test driver.
966
966
- Screenshots (Screenshot 2025-02-07.png): include setup or execution steps, package structure, or configuration from an IDE like IntelliJ.
967
967
968
968
-**Related Concepts:**
@@ -1183,8 +1183,8 @@ It walks through thread creation, daemon threads, and thread lifecycle managemen
1183
1183
1184
1184
#### 🧠 Combined Summary:
1185
1185
-**Thread Creation**:
1186
-
-`Thread/Test.java` & `Thread/Test2.java`: Likely demonstrate thread instantiation by extending the Thread class, covering basics like `start()`, `run()`, and naming threads.
1187
-
-`UsingRunable/Test.java` & `Test2.java`: Implement thread creation using Runnable, promoting **better object-oriented design and separation of concerns**.
1186
+
-`Thread/GenericClass2.Test.java` & `Thread/GenericClass2.Test2.java`: Likely demonstrate thread instantiation by extending the Thread class, covering basics like `start()`, `run()`, and naming threads.
1187
+
-`UsingRunable/GenericClass2.Test.java` & `GenericClass2.Test2.java`: Implement thread creation using Runnable, promoting **better object-oriented design and separation of concerns**.
1188
1188
1189
1189
-**Core Utilities**:
1190
1190
-`MyThread.java`: Possibly a custom implementation or extension showcasing override behavior or additional features.
@@ -1528,7 +1528,7 @@ You’ll learn how to read/write data efficiently using both low-level and high-
1528
1528
1529
1529
-**Character Streams (Text File I/O)**:
1530
1530
-`BufferReaderExample.java`, `CharArrayReaderExample.java`: Handle **character-by-character** and **line-by-line** reading using BufferedReader and CharArrayReader.
1531
-
-`WithResources.txt` and `Test.txt` show how to read/write with try-with-resources.
1531
+
-`WithResources.txt` and `GenericClass2.Test.txt` show how to read/write with try-with-resources.
1532
1532
1533
1533
-**Buffered Streams (Performance Boost)**:
1534
1534
-`BufferedInputStreamsExample.java`: Improve I/O performance by minimizing disk access using **buffered wrappers** over streams.
@@ -1623,11 +1623,11 @@ You dive into **generic classes, interfaces, and wildcards** — foundational fo
| Bounded Type Parameters | Upper and Lower Bounds...txt, GenericClassDemo2.java | Constraining generic types using extends and super |
1628
+
| Bounded Type Parameters | Upper and Lower Bounds...txt, GenericClass2.GenericClassDemo2.java | Constraining generic types using extends and super |
1629
1629
| Wildcards and Super Bounds | Java Generics Wildcards...txt, Wild Cards file | Handle flexible method arguments with <?> and bounds |
1630
-
| Why Use Generics? | WhyGenerics.java, Generics in Java.txt | Type safety, code reuse, abstraction, no casting |
1630
+
| Why Use Generics? | Generics.WhyGenerics.java, Generics in Java.txt | Type safety, code reuse, abstraction, no casting |
1631
1631
1632
1632
````
1633
1633
@@ -1644,7 +1644,7 @@ You dive into **generic classes, interfaces, and wildcards** — foundational fo
1644
1644
- Useful for APIs that handle collections, services, or containers.
1645
1645
1646
1646
-**Generic Methods & Utilities**:
1647
-
-`GenericFunctionsExample.java`, `GenericDemo.java`, `GenericClassDemo.java`: Use generics in methods for flexible and reusable logic.
1647
+
-`GenericFunctionsExample.java`, `Generics.GenericDemo.java`, `GenericClass2.GenericClassDemo.java`: Use generics in methods for flexible and reusable logic.
1648
1648
- Great for sorting, swapping, or processing elements in collections.
1649
1649
1650
1650
-**Bounded Types (Upper & Lower Bounds)**:
@@ -1655,7 +1655,7 @@ You dive into **generic classes, interfaces, and wildcards** — foundational fo
1655
1655
-`Java Generics Wildcards, Generic Methods, and Super Bounds.txt`: Deep dive into when and why to use wildcards, especially for reading/writing from lists.
1656
1656
1657
1657
-**Foundational Notes**:
1658
-
-`WhyGenerics.java`, `Generics in Java.txt`: Explain the motivation behind generics—type safety, DRY code, compile-time checks, and avoiding casting.
1658
+
-`Generics.WhyGenerics.java`, `Generics in Java.txt`: Explain the motivation behind generics—type safety, DRY code, compile-time checks, and avoiding casting.
1659
1659
1660
1660
---
1661
1661
@@ -2843,7 +2843,7 @@ Each subfolder gives practical insights through .java files and supporting notes
2843
2843
-**Java 11**: `JAVA11.java` – Shows features like var for local variables, new string methods, and file enhancements.
0 commit comments