💡 Did you know that in Java, the main() method doesn’t always execute first? Here’s a quick visual breakdown of what actually runs first 👇 🎯 Concept: Static Block vs Main Method 🧠 Designed by me — to make learning Java simpler! 👉 Check out my github account for entry level project ideas : https://lnkd.in/g46fXU98 #Java #Programming #Learning #CodeNewbie #AnkithaHV
How Java's main() method works
More Relevant Posts
-
Day 8 of #50DaysOfCode – Java Today I practiced loops and conditional statements by writing a program to print all even numbers from 1 to 50. 💻 What I did: Used a for loop to iterate from 1 to 50 Checked each number using the modulus (%) operator Printed all even numbers 🧠 Concepts learned: Loops (for) Conditional statements (if) Modulus operator (%) Learning Java step by step! 💪 #Java #LearnInPublic #CodingJourney #Programming #50DaysOfCode
To view or add a comment, sign in
-
"If programming languages have a heart Then absolutely it is JAVA"😶🌫️ "Java is to programming what a strong foundation is to a building — timeless, reliable, and essential for building something extraordinary." 🏗️ I'm excited to share my comprehensive JAVA Handwritten Notes with all of you! 📝✨ Whether you're a beginner taking your first steps into programming or brushing up on core concepts, these notes have got you covered. 📌 What's Inside: • Core Java fundamentals and OOP concepts (Classes, Objects, Inheritance, Polymorphism) • Exception Handling mechanisms explained • Collections Framework with practical examples • Multithreading and Concurrency basics • File Handling and I/O operations • Key interview questions and important topics • Clean diagrams and real-world analogies for better understanding These notes are designed to be your quick reference guide — perfect for exam prep, interview revision, or simply strengthening your Java foundation! 💪 👉 Save this post for later reference 👉 Share it with someone who's learning Java 👉 Drop a comment on which topic you find most challenging — let's learn together! Happy Coding! ☕👨💻 #Java #Programming #CodingNotes #SoftwareDevelopment #LearnToCode #TechCommunity #JavaDeveloper #ProgrammingLanguage #CSStudents #TechEducation #CodingLife #DeveloperCommunity #StudyNotes
To view or add a comment, sign in
-
Day 12 at TAP Academy: Basics of Set and Map in Java Wrapping up the course with foundational data structures crucial for Java programming! 🔹 Set Introduction Explored Set collection in Java for unique element storage. Developed programs on removing duplicates and performing set operations like union, intersection, and difference. 🔹 Map Introduction Understood basics of Map interface for key-value pair storage. Created programs to count element frequency and manage key-value mappings efficiently. Mastering Sets and Maps empowers you to handle collections effectively — a critical skill for any Java developer. #TAPAcademy #Day12 #JavaLearning #SetInJava #MapInJava #DataStructures #CodingSkills #FinalDay #ProgrammingBasics
To view or add a comment, sign in
-
-
🚀 Completed: Java - Building My First Application Just wrapped up an intensive Java fundamentals course, and I'm excited to share what I've learned! Key takeaways: ✅ Set up and developed projects using IntelliJ IDEA ✅ Mastered Java compilation processes ✅ Deep dive into core data types and their applications ✅ Implemented control flow with conditionals and loops My biggest insight? Sometimes going back to basics isn't about learning something new—it's about strengthening your foundation. This refresher reinforced concepts I already knew but helped me understand why they work the way they do. Strong fundamentals = Better code architecture 💡 For developers at any level: What's one "basic" concept that changed how you code when you truly understood it? #JavaDevelopment #Programming #ContinuousLearning #SoftwareEngineering #TechCommunity #DeveloperLife #CodeNewbie #BackToBasics
To view or add a comment, sign in
-
-
🚀 Leveling up my Java skills with Generics! Today, I explored one of the most powerful concepts in Java — Generics, which helps in achieving type safety, cleaner code, and better compile-time checks. To strengthen my understanding, I created 30 practice programs covering: 🔹 Generic Classes 🔹 Generic Methods 🔹 Type Bounds (extends, super) 🔹 Wildcards (?, ? extends, ? super) 🔹 Multiple Bounds 🔹 API-style generic entities 🔹 Compile-time safety examples These practice snippets helped me understand how Generics work behind the scenes and why they are so important in modern Java development. 📄 I’ve also compiled all programs into a clean Word document for easy reference. If you're learning Java, I highly recommend practicing Generics — it improves your code quality and makes you think in a more structured way. #Java #Programming #Learning #Generics #SoftwareDevelopment #100DaysOfCode #JavaLearning #CodingJourney #BackendDevelopment . . . . Proud to be trained by Learn2Earn Labs (www.learntoearnlabs.com) — where learning meets real-world industry exposure
To view or add a comment, sign in
-
A Quick Glance at Method Overloading in Java ⚙️ Today, I explored another key concept of Object-Oriented Programming — Method Overloading, which helps us achieve compile-time polymorphism. I’ve organized everything in one page for better understanding and revision 📝 Here’s what my notes include 👇 ✨ 1️⃣ Definition ✨ 2️⃣ Example ✨ 3️⃣ Why We Need It ✨ 4️⃣ Rules ✨ 5️⃣ Code Implementation ✨ 6️⃣ Working Mechanism ✨ 7️⃣ Type Promotion ✨ 8️⃣ Ambiguity Error ✨ 9️⃣ Different Names Grateful to TAP Academy and mentors kshitij kenganavar, Sharath R, Harshit T for helping me build a strong foundation in Java step by step 🙌 #Java #MethodOverloading #CompileTimePolymorphism #OOPsConcepts #JavaNotes #TAPAcademy #FullStackDeveloper #LearningJourney #CodeWithClarity #HandwrittenNotes #CodingCommunity
To view or add a comment, sign in
-
-
Deep Dive into Encapsulation in Java 🔐 Today, I explored one of the core pillars of Object-Oriented Programming — Encapsulation, and connected it with all the important related concepts to gain a complete understanding. Here’s what my one-page note covers 👇 ✨ 1️⃣ Definition ✨2️⃣ How to Achieve Encapsulation ✨3️⃣ Shadowing Problem ✨4️⃣ Advantages ✨5️⃣ Constructors ✨6️⃣ Types of Constructors ✨7️⃣ Constructor Overloading & Constructor Chaining ✨8️⃣ POJO Class ✨9️⃣ this Keyword & this() Method Grateful to TAP Academy and mentors kshitij kenganavar, Harshit T , Sharath R for guiding me through these core Java concepts and helping me build strong programming fundamentals 🙌 #Java #Encapsulation #Constructors #ConstructorOverloading #ConstructorChaining #POJO #OOPsConcepts #TAPAcademy #LearningJourney #CodeWithClarity #FullStackDeveloper #JavaNotes #CodingCommunity
To view or add a comment, sign in
-
-
Hey everyone! 👋 The second video in my new Tutorial playlist is live! So far, I’ve put together three playlists to help you learn Java step-by-step: 🎓 A Java beginners course with slides and ready-made code to get you started 💡 A Java tutorial series where I explain concepts in more detail and compare them 🛠️ A mini project playlist where I build fun projects like calculators that you can follow along with In this latest tutorial video, I’m covering inheritance and polymorphism, two super important concepts in Java. https://lnkd.in/dNbtWDCp Would love for you to check it out and let me know what you think! #Java #Learning #Coding #Tutorials #OOP
Java Core Tutorials | Learn Java Step by Step: Java Inheritance vs Polymorphism Explained with Code
https://www.youtube.com/
To view or add a comment, sign in
-
Understanding this and super in Java — A Must for Every Beginner! When we start learning Java, keywords like this and super often seem confusing. But once you understand their connection between child and parent classes, everything starts to make sense! this → Refers to the current class (object, variable, or method) super → Refers to the parent class (object, variable, or method) Both are simple yet powerful tools that help us build relationships between classes and improve code clarity. This chart makes it easy to remember — perfect for beginners connecting the dots in OOP concepts. #Java #Programming #Beginners #Learning #OOP #CodingJourney #Developers
To view or add a comment, sign in
-
-
#JavaDSA Short Journey! Today’s topic: Count Factors of a Number in Java 💻 A factor of a number is a value that divides it completely without leaving a remainder. Here’s the simple logic using a for loop 👇 public class Factorscount { public static void main(String[] args){ int A = 6; for(int i = 1; i <= A; i++){ if(A % i == 0){ System.out.print(i + " "); } } } } ✅ Output: 1 2 3 6 Concept used: Modulo operator (%) checks divisibility, and the loop finds all factors. 🎯 Goal: Post one Java logic short every day to help beginners understand coding step by step. 📹 Watch my youtube video below Let’s learn together! 🚀 #Java #Coding #DSA #Programming #LearnJava #CodingForBeginners #AthiyaStudies #WomenInTech #SoftwareEngineer #100DaysOfCode https://lnkd.in/gAJ6p23E
Java Program to Find Factors of a Number | DSA for Beginners
https://www.youtube.com/
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
Nice 👍 😊