Java Fundamentals: Day 1 Recap

🌟 Day 1 of 10: Recap of Programming & Java Fundamentals 🌟 I’m revisiting my Java learning journey over the next 10 days and sharing what I learn each day. Today, I focused on programming basics, Java, packages, and classes. 💻 What is Programming? Programming is a way to instruct the computer to perform tasks in a specified manner. Why it’s important: - Our world is highly automated - Humans need to understand how to interact with machines 📌 Programming Paradigms 1. Imperative Programming: procedural, structural, object-oriented 2. Declarative Programming: functional, logical, database 💡 What is Java? - Object-oriented programming language - Invented in June 1991, released in 1996 by Sun Microsystems - Maintained by Oracle Corporation - Created by James Gosling (Green Talk, Oak, Java coffee bean) - Slogan: Write Once, Run Anywhere Advantages of Java: - Simple - Object-Oriented - Platform-Independent - Distributed - Secure - Robust Java Technologies: - Java SE – Desktop applications, Core Java - Java EE – Enterprise applications - Java ME – Mobile applications Tools: - Eclipse IDE - IntelliJ IDEA - VS Code ### Java Packages - A package is a folder containing related classes and interfaces Why we need packages: - Organize code - Avoid name conflicts - Security - Reusability Create a package: `package mypackage;` Compile: `javac -d . Test.java` ### Java Classes - Blueprint to create objects - Members: Variables, Methods, Constructor, Blocks, Nested classes Types of classes: - Regular class - Abstract class - Final class - Nested class - Static nested class - Inner class - Anonymous class - Local inner class 🚀 Next steps: I’ll continue revising core Java, multithreading, and collections over the next 10 days and share my learning journey here. #Java #Programming #CoreJava #CodingJourney #LearningEveryday #TechSkills

To view or add a comment, sign in

Explore content categories