🚀 Day 23 of My /Java Programming Journey Today I learned about Command Line Arguments — a powerful way to pass inputs directly while running a program 💻 🔹 No need for Scanner input 🔹 Inputs are passed at runtime 🔹 Stored in "String[] args" 🔹 Makes programs faster & more flexible 💡 Example: Run → "java Program 10 20" Output → Uses these values inside the code This concept helped me understand how real-world programs take dynamic input efficiently ⚡ 📌 Key Takeaway: Command line arguments make your program more dynamic and professional #Programming #Java #CProgramming #CodingJourney #100DaysOfCode #DeveloperLife #Learning #Tech #CodeNewbie #SoftwareEngineering
Java Command Line Arguments Simplify Program Input
More Relevant Posts
-
🔁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
-
-
Building strong fundamentals, one concept at a time 💡 Understanding the true power of Java — from platform independence to portability — and how “Write Once, Run Anywhere” makes it a game-changer in the programming world. This journey is not just about coding, but about thinking, solving, and growing every day 🚀 #Java #TapAcademy #LearningJourney #Programming #FutureEngineer #TechSkills
To view or add a comment, sign in
-
-
Sum of the Array in Java | Easy Logic + Coding 💡 Strong fundamentals are the key to mastering programming. This example shows how to find the sum of array elements using simple logic: • Start with an array of numbers • Initialize a sum variable to 0 • Traverse the array using a loop • Add each element to the sum • Print the final result Practicing these basic problems helps build strong logical thinking and coding confidence. 📊 Example Input : [1, 2, 3, 4] Output : 10 🎥 I’ve also created a short video explaining this concept with code: YouTube link : https://lnkd.in/g9SJ3hvJ #Java #Programming #ProblemSolving #Coding #SoftwareDevelopment #Learning #CSE #Developers #LogicBuilding #Arrays
To view or add a comment, sign in
-
-
🚀 Excited to share my recent learning journey in Multithreading (Java)! Over the past few weeks, I focused on strengthening my understanding of core multithreading concepts, including: 🔹 Thread creation (Thread, Runnable) 🔹 Thread lifecycle & scheduling 🔹 Synchronization (synchronized) 🔹 Locks (ReentrantLock, tryLock, lock) 🔹 Race conditions & thread safety 🔹 Atomic classes (AtomicInteger) 🔹 volatile keyword (visibility) 🔹 Thread coordination (join()) 🔹 Blocking vs Non-blocking operations 💡 To apply these concepts, I built a Order Management System where: ✔ Multiple users (threads) place orders concurrently ✔ Stock is managed safely using synchronization ✔ Payment processing is handled using locks ✔ Prevented overselling using proper concurrency control ✔ Each thread receives correct response (success / unavailable) This project gave me practical understanding of how real-world systems handle concurrency and consistency. 🔗 GitHub Project Link: [https://lnkd.in/dQD6B_xz] I’m now exploring advanced topics like Thread Pools, ExecutorService, and system design. #Java #Multithreading #Concurrency #BackendDeveloper #SoftwareDeveloper #JavaDeveloper #Developers #Coding #Programming #GitHubProjects #SystemDesign #LearnInPublic #CareerGrowth
To view or add a comment, sign in
-
Object-Oriented Programming is a core part of software development. The problem is not the concept itself. It’s how it’s usually introduced. Too much abstraction too early. Not enough clarity. So we’re doing it differently. Starting April 17, we’re running a 10-day series to break down OOP in Java step by step. Simple explanations. Practical examples. Nothing heavy. Just concepts that actually make sense. Day 1 drops tomorrow. Follow along. #Java #OOP #Programming #SoftwareEngineering #ComputerScience #koofkee
To view or add a comment, sign in
-
-
💻 Day 22 – Synchronization in Java Today I learned about Synchronization, one of the most important concepts in multithreading. When multiple threads access the same resource at the same time, it can lead to unexpected results (race conditions). Synchronization helps solve this by allowing only one thread to access a resource at a time. Things I learned: 🔹 What is a race condition 🔹 Why synchronization is needed 🔹 Using synchronized keyword 🔹 Ensuring thread safety 💡 Key takeaway: Synchronization helps maintain data consistency and reliability in multithreaded applications. Understanding how Java manages shared resources step by step 🚀 #Java #Multithreading #Synchronization #Programming #LearningInPublic #Day22 #100DaysOfJava
To view or add a comment, sign in
-
-
🚀 Day 56 of My Java DSA Journey Today I solved a classic Dynamic Programming problem: 💡 0/1 Knapsack Problem 🧠 Approach: • Used recursion with memoization (Top-Down DP) • At each step, decided whether to pick or skip an item • Stored results in a DP table to avoid recomputation 🔍 Key Insight: Each item gives two choices: Pick it (if weight allows) or skip it — and take the maximum profit. ⚡ What I learned: • Importance of memoization in optimizing recursion • Understanding DP state transitions • Solving problems with overlapping subproblems 🎯 Takeaway: Dynamic Programming turns exponential problems into efficient solutions. #Day56 #90DaysOfCoding #DSA #DynamicProgramming #Knapsack #Java
To view or add a comment, sign in
-
-
🚀 Day 3 of My Java Full Stack Journey Today was all about loops — one of the most important concepts in programming 🔁 📌 What I learned: 🔹 While Loop * Used to repeat a block of code until a condition becomes false 🔹 Syntax: while(condition) { // code } 🔹 My Progress: * Practiced 50+ questions on while loop 💪 * Learned how iteration works step-by-step 👉 Loops help reduce repetition and make code efficient Consistency is the key — small steps daily 🚀 #LearningJourney #WhileLoop #CProgramming #Consistency
To view or add a comment, sign in
-
-
Inside Backend One of the most common confusions for beginners: Request vs Response. Here’s the simplest way to understand it: - Request = user asking for something - Response = server sending back the result This simple cycle powers every application. Continuing a series to simplify backend concepts step by step. Start Your Backend Journey with Java : https://lnkd.in/gdjfZTcH #backenddevelopment #webdevelopment #programming #softwaredevelopment #coding
To view or add a comment, sign in
-
💡 Question for Developers In Java, we often use private fields with getters and setters instead of making fields public. But here’s my question: 👉 If we can directly access public fields, why do we still prefer private fields with getters/setters? Is it only about encapsulation, or are there deeper practical reasons in real-world projects? I’d love to hear your thoughts and experiences in the comments 👇 #Java #OOP #Programming #SoftwareDevelopment #Learning
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