🎥 Learning Java in Action! In this video, I’m demonstrating a simple program using a while loop. 💡 What the code does: It keeps asking the user to enter their age until a valid (non-negative) input is given. Through this, I’m learning: How while loops work in real scenarios Input validation using loops Building interactive programs step by step This is one of my early examples while exploring loops in Java (also learning for loops alongside). Small progress every day 🚀 #Java #Coding #Programming #LearningJourney #WhileLoop #ForLoop
More Relevant Posts
-
Today I practiced a simple yet important concept of Object-Oriented Programming — Method Overriding. 🔹 Created a parent class (Shape) with a draw() method 🔹 Overrode the same method in child classes Circle and Rectangle 🔹 Demonstrated runtime polymorphism using a parent class reference 💡 This example clearly shows how Java decides which method to call at runtime based on the object type. 📌 Output: Drawing a Circle Drawing a Rectangle ✨ Concepts Covered: ✔ Inheritance ✔ Method Overriding ✔ Runtime Polymorphism #Java #OOP #Programming #Coding #MethodOverriding #Polymorphism #LearningJourney #SoftwareDevelopment #JavaDeveloper
To view or add a comment, sign in
-
-
🎥 Student Grading System in Java In this video, I demonstrate a simple Java console application that calculates a student’s total marks, average, and grade based on subject-wise input. This project was developed as part of my learning journey with HexSoftware. 💻 Concepts used: Arrays & loops Conditional statements User input (Scanner) #Java #HexSoftware #Coding #Programming #StudentProject
To view or add a comment, sign in
-
🚀 Understanding Inheritance in Object-Oriented Programming (OOP) As part of my learning journey in programming, I explored one of the core concepts of OOP — Inheritance. Inheritance allows a class to acquire properties and behaviors from another class, promoting code reusability, scalability, and better structure in software development. 📌 In this visual, I’ve covered: • Introduction to Inheritance • Single Inheritance • Multilevel Inheritance • Hierarchical Inheritance • Multiple Inheritance • Hybrid Inheritance Each type demonstrates how classes can be related and extended in different ways, making programs more efficient and modular. 💡 This concept is widely used in languages like Java, Python, and C++ and is essential for writing clean and maintainable code. #TapAcademy #OOP #Java #Programming #SoftwareDevelopment #LearningJourney #Coding #ComputerScience
To view or add a comment, sign in
-
-
Understanding OOP Concept: Association in Java Today I practiced one of the important Object-Oriented Programming concepts — Association. 🔹 Association defines the relationship between two classes 🔹 In this example, a Student is associated with a Teacher 🔹 Both objects can exist independently, but they are connected 💡 I implemented this using a simple Java program where: A Teacher teaches A Student studies with that Teacher 📚 This helped me understand how real-world relationships are represented in code. ✨ Output: Mr. Sharma is teaching Monika is studying with Mr. Sharma #Java #OOP #Programming #Coding #Learning #Students #DeveloperJourney
To view or add a comment, sign in
-
-
Day 7: Polymorphism After inheritance and method overriding, the next important idea is polymorphism. Polymorphism means one reference can take many forms. In Java, a parent type can hold a child object, and when a method is called, the behavior depends on the actual object behind it. That is what makes OOP more flexible and powerful. The same method call can behave differently in different classes. #Java #OOP #Programming #SoftwareEngineering #ComputerScience #koofkee
To view or add a comment, sign in
-
-
Day 6: Method Overriding After inheritance, the next important idea is method overriding. Sometimes a child class inherits a method from a parent class, but needs to give it a more specific behavior. That is exactly what overriding does. The child class keeps the same method name and parameters, but changes what the method actually does. This is one of the key ideas behind flexibility in OOP. #Java #OOP #Programming #SoftwareEngineering #ComputerScience #koofkee
To view or add a comment, sign in
-
-
🚀 Learning OOPs with Java – Abstraction & Polymorphism 💻 Today I practiced an important concept of Object-Oriented Programming: Abstraction with Polymorphism. 🔹 I created an abstract class Pen with an abstract method draw(). 🔹 Then I implemented two subclasses: BluePen and RedPen. 🔹 Both classes override the same method in their own way. 👉 This shows how one method can behave differently (Polymorphism). 💡 Key Learning: Abstract class defines structure, not implementation Subclasses must override abstract methods Same reference, different objects = powerful concept! 📌 Code Output: Pen -> Blue Pen -> Red I'm improving step by step and enjoying the journey of learning Java 🚀 #Java #OOP #Programming #Coding
To view or add a comment, sign in
-
-
🔁To My Java Full Stack Journey Instead of just learning loops, I tried solving real problems 👇 🔹 Rotate a number k times 🔹 Problem Statement: n = 12345, k = 2 Output → 45123 🔹 What I learned: Loops help solve real problems Logic building is important Practice improves thinking #JavaFullStack #CodingJourney #Programming #100DaysOfCode
To view or add a comment, sign in
-
-
🧩 Scala Skills Assessment Scala - Comprehensive Quiz Test your Scala knowledge with this comprehensive quiz: - 20 carefully crafted questions - 40 minutes to complete - Instant results and feedback This quiz contains 20 multiple-choice questions. Each question has 4 options, but only one correct answer. Read each question carefully and select the best answer. Good luck! Assess your skills: https://lnkd.in/gVhir5Ed #Scala #Programming #CodingQuiz
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