🚀 Java Learning Journey | Day 15 | Core Java Learned about Wrapper Classes in Java. 💡 Key Concept: Wrapper classes convert primitive data types into objects. Example: int → Integer, double → Double ⚙ Why Important? • Required for Collections Framework (ArrayList, HashMap) • Enables autoboxing & unboxing • Useful in object-based operations 📚 Learning: Understanding how Java handles data as objects and why wrapper classes are essential in real-world applications. #JavaDeveloper #Java #CoreJava #OOP #Programming #CodingJourney #LearningInPublic #100DaysOfCode #DevelopersOfLinkedIn #BackendDevelopment
Java Wrapper Classes for Collections and Autoboxing
More Relevant Posts
-
Learning Java is not just about syntax, it’s about understanding how things work behind the scenes. In my recent learning, I explored: 🔸 Inheritance types 🔸 Method overriding 🔸 Access modifiers 🔸 super keyword 🔸 final keyword This helped me understand how Java controls access, reusability, and behavior in programs. Focusing on concepts over memorization. #Java #Programming #OOP #DeveloperMindset #Learning
To view or add a comment, sign in
-
Day – Java Learning Update Today I learned about Multiple Inheritance and Hybrid Inheritance in Java. Multiple Inheritance means one class inherits from more than one class Hybrid Inheritance is a combination of two or more types of inheritance But Java does not support multiple and hybrid inheritance using classes Reason → Diamond Problem When two parent classes have the same method Child class gets confused which method to inherit This creates ambiguity Example flow: A → B A → C B + C → D Now D gets same method from B and C → confusion Solution in Java: Java avoids this problem by not allowing multiple inheritance with classes Instead, Java uses interfaces Interfaces provide multiple inheritance without ambiguity Key takeaway: Java focuses on simplicity and avoids confusion in method resolution #Java #JavaFullstack #OOPS #Inheritance #BackendDeveloper #LearningJourney #Programming 10000 Coders Meghana M
To view or add a comment, sign in
-
📚 Mastering Java Collections Framework – My Learning Journey Today, I explored one of the most important concepts in Java – the Collections Framework. Sharing my notes and understanding from the session 👇 💡 What is Java Collections Framework?The Java Collections Framework provides a set of classes and interfaces that help in storing, manipulating, and processing groups of data efficiently. 🔷 1. Collection Interface (Root Interface)This is the foundation of the framework. It is extended by: 🔹 List Interface (Ordered, Allows Duplicates) 🔹 Set Interface (No Duplicates) 🔹 Queue Interface (FIFO Structure) 🔷 2. Map Interface (Key-Value Pairs)Unlike Collection, Map stores data in key-value format 🔷 3. Supporting Concepts 🎯 Key Takeaways✔ Choosing the right data structure improves performance✔ Understanding differences between List, Set, and Map is crucial✔ Real-world applications heavily rely on collections 🚀 This session helped me build a strong foundation in Data Structures using Java, which is essential for problem-solving and backend development. I’m excited to continue learning and applying these concepts in real-world projects! Thanks for Sanjay Raghuwanshi for the clear explanation and guidance throughout the session. #Java #CollectionsFramework #DataStructures #Programming #LearningJourney #JavaDeveloper #Coding #SoftwareDevelopment
To view or add a comment, sign in
-
-
Java Input/Output Journey – Day 1 Starting a new phase in my Java learning — Input & Output Basics 💻 🔹 What I Learned Today: • How to take user input using Scanner class • Reading different data types like String, int, double • Writing simple and interactive Java programs 🔹 Key Methods: • nextLine() → Full text input • nextInt() → Integer input • nextDouble() → Decimal input • next() → Single word 💡 Key Learning: Understanding input is the first step to making programs interactive and user-friendly. 🛠️ Practice Done: Created a program to take name, age, and favorite language from the user. Excited to continue this journey and explore more in Java I/O #Java #JavaDeveloper #CodingJourney #InputOutput #Programming #SoftwareDevelopment #Learning #Hariom #HariomKumar #Hariomcse
To view or add a comment, sign in
-
-
🚀 Day 30 of My Java Learning Journey 📌 Topic: 3D Array in Java 🔹 Definition: A 3D array in Java is a collection of data arranged in three dimensions (layers, rows, and columns). It is like a cube of elements where each value is accessed using three indices. 🔹 Syntax: int[][][] arr = new int[2][3][4]; 🔹 Key Points: ✅ Stores data in multiple layers ✅ Useful for complex data representation ✅ Access elements using arr[i][j][k] 🔹 Example: System.out.println(arr[1][2][3]); 💡 Output: 20 📈 Learning never stops! Every day I’m getting better at Java and problem-solving. Aman Soni Vidhya Code Gurukul #Java #Programming #CodingJourney #LearningInPublic #Developers #100DaysOfCode #Tech 🚀
To view or add a comment, sign in
-
-
Continuing my Java learning journey, I’ve recently explored concepts related to file management and data persistence, which are essential for real-world applications. Here are the topics I covered: File Handling in Java using classes like File, FileReader, FileWriter, BufferedReader, and BufferedWriter Serialization for converting objects into a byte stream for storage or transmission Deserialization for reconstructing objects from stored byte streams JAR files and how they are used to package and distribute Java applications These concepts helped me understand how Java handles data storage, object persistence, and application deployment. Gradually building the skills needed to develop complete and deployable Java applications. #Java #FileHandling #Serialization #Programming #LearningJourney #SoftwareDevelopment #CDAC
To view or add a comment, sign in
-
-
Understanding Aggregation in Java (OOP Concept) Today I practiced and implemented Aggregation (Weak Relationship) in Java. Aggregation represents a "has-a" relationship, where one class contains a reference of another class, but both can exist independently. 🔹 In this example: Student class holds student details College class contains a reference of Student This shows how objects can be related without strong dependency 💡 Output: Monika student in Amity University 📌 This concept is very useful in real-world applications where objects are loosely coupled. #Java #OOP #Programming #Learning #Coding #Developers #SoftwareTesting #Automation #TechLearning
To view or add a comment, sign in
-
-
🚀 Day 36/45 – Learning Multithreading in Java On Day 36 of my Java learning journey, I explored Multithreading, which allows a program to perform multiple tasks simultaneously. This concept is very important for building responsive and high-performance applications. 📚 What I Learned Today Today I learned: ✔ What a thread is ✔ Creating threads using Thread class ✔ Using Runnable interface ✔ Running multiple threads together ✔ Understanding thread lifecycle 💻 Practice Work To apply my learning, I implemented: • A thread using Thread class • A thread using Runnable interface • Multiple threads running simultaneously • Using sleep() for thread delay 🎯 Key Takeaway Multithreading improves application performance and allows tasks to run in parallel. Learning this concept helped me understand how modern applications handle multiple processes efficiently. This was a very valuable step in advanced Java. #Java #Programming #LearningInPublic #CodingJourney #Multithreading #SoftwareDevelopment
To view or add a comment, sign in
-
🚀 Core Java Learning Journey Explored How to Write Package Statement in Java ☕ 🔹 What is a Package Statement? A package statement is used to define the package (namespace) in which a class belongs. It helps organize classes into a structured hierarchy. 📌 Syntax of Package Statement: package package_name; 👉 It must be the first statement in a Java file (before any import or class declaration). --- 📌 Example: package com.myapp; public class Demo { public static void main(String[] args) { System.out.println("Hello Package"); } } --- 📌 Key Rules: ✅ Package statement should be written at the top of the file ✅ Only one package statement is allowed per file ✅ Package name should follow naming conventions (lowercase, reverse domain like "com.company") --- 📌 Compile & Run: javac -d . Demo.java java com.myapp.Demo --- 🎯 Key Takeaway: The package statement defines the location of a class and helps in organizing Java programs into a clean and maintainable structure. Learning and growing at Dhee Coding Lab 💻 #Java #CoreJava #Packages #Programming #LearningJourney #FullStackDevelopment
To view or add a comment, sign in
-
🚀 Day 19/45 – Learning Exception Handling in Java On Day 19 of my Java learning journey, I explored Exception Handling, which is used to handle errors and prevent programs from crashing.This concept is very important for building robust and reliable applications. 📚 What I Learned Today Today I learned: ✔ What exceptions are and why they occur ✔ Using try and catch blocks to handle errors ✔ The role of the finally block ✔ Common types of exceptions in Java 💻 Practice Work To apply my learning, I implemented: • A divide-by-zero exception handling program • An array index error handling example 🎯 Key Takeaway Exception handling ensures that programs run smoothly even when errors occur. It improves the stability and reliability of applications. Understanding how to handle errors properly is a key skill for every developer. #Java #Programming #LearningInPublic #CodingJourney #SoftwareDevelopment #OOP
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development