📘 Day 16 | Core Java Series After learning wrapper classes, this concept becomes very important 👇 Autoboxing and Unboxing happen automatically in Java, but understanding them avoids confusion and bugs. Remember this: Autoboxing → primitive → object Unboxing → object → primitive Once this is clear, collections and wrapper usage make much more sense. 📌 Save this for revision 💬 Feedback is welcome #Java #CoreJava #LearningInPublic #JavaBasics #Programming
Java Autoboxing and Unboxing Explained
More Relevant Posts
-
📘 Day 17 | Core Java Series Method Overloading allows Java to use the same method name for different inputs. This visual explains how it works 👇 Remember this: Same method name Different parameter list ❌ Return type alone cannot overload a method Once this is clear, polymorphism becomes much easier to understand. 📌 Save this for revision 💬 Feedback is welcome #Java #CoreJava #LearningInPublic #JavaBasics #Programming
To view or add a comment, sign in
-
-
📘 Day 34 | Collections Deep Dive Understanding how to iterate through collections is essential in Java. Today we compare: 👉 Iterator 👉 ListIterator 👉 For-Each Loop Remember: For-each → Clean Iterator → Control ListIterator → Advanced Control Also beware of fail-fast behavior during structural modification. 📌 Save this for revision 💬 Feedback is welcome #Java #Collections #Iterator #LearningInPublic #Programming
To view or add a comment, sign in
-
-
Understanding Static in Java 🚀 Today I learned about the static keyword in Java and created this example to demonstrate three important concepts: ✅ Static Variable - Shared by all objects of the class ✅ Static Block - Executes once when the class is loaded ✅ Static Method - Can be called without creating an object In this Student class example: 1.schoolName is static, so all students share the same school 2.The static block runs first, before the main method 3.The add() method is static and can be called directly using the class name When we change Student.schoolName, it updates for all student objects immediately! #Java #Programming #Learning #JavaDevelopment #CodingJourney #SoftwareDevelopment
To view or add a comment, sign in
-
-
📘 Day 31 | Collections Deep Dive Today we begin a deeper exploration of Java Collections. Understanding the difference between ArrayList and LinkedList is critical for writing efficient code. Remember this: ArrayList → Fast Access LinkedList → Fast Modification Choosing the right implementation impacts performance more than most beginners realize. 📌 Save this for revision 💬 Feedback is welcome #Java #Collections #CoreJava #LearningInPublic #Programming
To view or add a comment, sign in
-
-
Day 3 of java logical programming 💻 logical question: find the 2nd largest element in a given array without sorting. More java check-out to Particles In Java Learning And Coding Practice platform. #java #javaLogicalProgramming #logicalProgramming #programming #javaInterview #particlesIn #pinSquad
To view or add a comment, sign in
-
🚀 Just uploaded a new video explaining Methods in Java – covering method declaration, parameters, return types, and method calling with simple examples. Perfect for beginners starting their Java journey! #Java #Programming #Coding #SoftwareDevelopment #Learning
To view or add a comment, sign in
-
Inheritance is a core concept of Object-Oriented Programming (OOP) that enables a class to inherit fields and methods from another class. Here's a quick visual guide to the five types of inheritance in Java: Single Inheritance: One child class inherits from one parent class. Multilevel Inheritance: A chain of inheritance where one class inherits from a child class. Hierarchical Inheritance: One parent class has multiple child classes. Multiple Inheritance: Not directly supported with classes in Java, but possible using interfaces. Hybrid Inheritance: A combination of two or more types of inheritance, also achieved using interfaces. Which type do you find yourself using most often in your projects? Share your thoughts below! Java #OOP #Programming #SoftwareDevelopment #TechTips #CodingCommunity
To view or add a comment, sign in
-
-
Today, Increment (++) and Decrement (--) operators in Java. Understanding the difference between: ✔️ Pre-Increment (++a) vs Post-Increment (a++) ✔️ Pre-Decrement (--a) vs Post-Decrement (a--) ✔️ How values change during expression evaluation #Java #CoreJava #Programming #LearningJourney #TAPAcademy #JavaDeveloper #Coding
To view or add a comment, sign in
-
-
📘 Day 32 | Collections Deep Dive Today’s focus: Set Interface in Java. Understanding the difference between HashSet, LinkedHashSet, and TreeSet helps you choose the right structure for performance and ordering needs. Remember: HashSet → Fast & Unordered LinkedHashSet → Ordered TreeSet → Sorted Choosing correctly can dramatically affect performance. 📌 Save this for revision 💬 Feedback is welcome #Java #Collections #CoreJava #LearningInPublic #Programming
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