<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Nikhil Nain</title>
    <description>The latest articles on DEV Community by Nikhil Nain (@nikhilquery).</description>
    <link>https://dev.to/nikhilquery</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4132662%2Fbbc6f44b-c5d8-4eee-a000-3cbe57ae824b.png</url>
      <title>DEV Community: Nikhil Nain</title>
      <link>https://dev.to/nikhilquery</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nikhilquery"/>
    <language>en</language>
    <item>
      <title>Java Backend Journey: From Control Loops &amp; Dynamic Engines to Core OOPS</title>
      <dc:creator>Nikhil Nain</dc:creator>
      <pubDate>Wed, 07 Oct 2026 15:07:36 +0000</pubDate>
      <link>https://dev.to/nikhilquery/java-backend-journey-from-control-loops-dynamic-engines-to-core-oops-37ja</link>
      <guid>https://dev.to/nikhilquery/java-backend-journey-from-control-loops-dynamic-engines-to-core-oops-37ja</guid>
      <description>&lt;p&gt;Hello Developers! 👋&lt;/p&gt;

&lt;p&gt;I am Nikhil, a BCA 1st Year student documenting my journey of learning Core Java Backend Development from scratch. Following my commitment to "Learn in Public," I am sharing my latest massive update. &lt;/p&gt;

&lt;p&gt;Since my last post (Week 1 Basics), I have taken an aggressive leap forward—engineering &lt;strong&gt;10 specialized backend programs&lt;/strong&gt; that cover everything from iterative logic loops and multi-dimensional matrices to advanced functional recursion and &lt;strong&gt;Object-Oriented Programming (OOPS)&lt;/strong&gt; architectures.&lt;/p&gt;

&lt;p&gt;Here is the exact technical breakdown of what I have designed, compiled, and deployed!&lt;/p&gt;




&lt;p&gt;Part 1: Automated Simulation Loops &amp;amp; State Management&lt;/p&gt;

&lt;p&gt;Instead of static inputs, I engineered dynamic console applications using &lt;code&gt;while(true)&lt;/code&gt; structural loops, state markers, and error-trapping blocks to build real-world business micro-services.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  📊 &lt;strong&gt;AtmEngine.java:&lt;/strong&gt; Designed a secure banking portal simulation. It implements a strict authentication wrapper (checking &lt;code&gt;String&lt;/code&gt; credentials and &lt;code&gt;int&lt;/code&gt; PIN combinations) that locks the session after 3 consecutive failed attempts. Once authenticated, users can safely manage real-time deposits and withdrawals via progressive conditional layers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9ozx3mp4136mzb89urye.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9ozx3mp4136mzb89urye.png" alt=" " width="482" height="923"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  📦 &lt;strong&gt;InventorySystem.java:&lt;/strong&gt; Formulated an E-Commerce Order Management hub with a live-updating state loop. It monitors warehouse stock thresholds, blocks excessive orders with dynamic input limits, handles programmatic restock events, and aggregates global shift revenues.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl6hkj7mlyv8lhkgzyqnk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl6hkj7mlyv8lhkgzyqnk.png" alt=" " width="477" height="793"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  🛣️ &lt;strong&gt;TollBoothEngine.java:&lt;/strong&gt; Built a modern, multi-tier transit pricing system. It classifies vehicles (Cars, Trucks, VIPs), executes slab-based fee allocations, calculates comprehensive flow rates, and uses &lt;code&gt;continue&lt;/code&gt; branching protocols to trigger automatic lane resets during lane breaches.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg6121nfs2guiq7ybf2t9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg6121nfs2guiq7ybf2t9.png" alt=" " width="800" height="885"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🧮 Part 2: Multidimensional Processing &amp;amp; Functional Recursion
&lt;/h2&gt;

&lt;p&gt;Next, I focused on algorithms, array transformations, variable argument processing, and stack-frame optimization.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  🌐 &lt;strong&gt;MatrixAddition.java:&lt;/strong&gt; Engineered multi-dimensional nested loops to parse grid coordinates, executing inline element transformations across 2D memory layouts and formatting the output cleanly using raw layout tracking.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvjzsmibu29ve2jte1szu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvjzsmibu29ve2jte1szu.png" alt=" " width="799" height="552"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  💥 &lt;strong&gt;UltimateCalculator.java (Method Overloading &amp;amp; VarArgs):&lt;/strong&gt; Explored strict compile-time polymorphism. Overloaded core calculation footprints to seamlessly bind integer bounds and floating-point divisions under identical method names. Integrated &lt;strong&gt;Variable Arguments (VarArgs)&lt;/strong&gt; to ingest arbitrary runtime-allocated arrays alongside a recursive engine for exact factorial operations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftecfi1ncw7r53eroh4eu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftecfi1ncw7r53eroh4eu.png" alt=" " width="485" height="853"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  📝 &lt;strong&gt;Method_practice_Set.java (Algorithmic Logic):&lt;/strong&gt; Cracked algorithmic challenges by managing multi-layered loop structures for coordinate geometry formatting, combined with stack recursion logic to compute Fibonacci patterns and linear mathematical natural expansions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fipqkblavv0pnunmbw8l4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fipqkblavv0pnunmbw8l4.png" alt=" " width="436" height="892"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🏢 Part 3: Turning Blueprints into Objects (Core OOP paradigms)
&lt;/h2&gt;

&lt;p&gt;Moving out of structural scripting, I stepped into the world of production-style OOP contracts, private boundaries, and object lifecycles.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  🧱 &lt;strong&gt;CustomClassPractice.java &amp;amp; OopsPracticeSet.java (Object Instantiation):&lt;/strong&gt; Learned how custom definitions map onto the Heap memory space. Instantiated decoupled, isolated student and corporate instances (&lt;code&gt;Employee&lt;/code&gt;) to track unique individual values. Integrated interactive wrappers to let users test geometric spaces (&lt;code&gt;Square&lt;/code&gt;/&lt;code&gt;Rectangle&lt;/code&gt; areas), mock hardware signals (&lt;code&gt;Cellphone&lt;/code&gt;), and map active game behaviors (&lt;code&gt;TommyVecetti&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fy5jq5j6wff0own4fh0at.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fy5jq5j6wff0own4fh0at.png" alt=" " width="392" height="945"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  🔒 &lt;strong&gt;ConstructorDemo.java (Encapsulation &amp;amp; Constructor Overloading):&lt;/strong&gt; Implemented clean &lt;strong&gt;Data Hiding / Encapsulation&lt;/strong&gt; by safely locking state properties within &lt;code&gt;private&lt;/code&gt; boundaries, exposing them strictly via public accessors and mutators (Getters/Setters). To make object setup highly efficient, I implemented &lt;strong&gt;Constructor Overloading&lt;/strong&gt;—allowing the orchestration layer to boot objects using either instant hardcoded default profiles (&lt;code&gt;"Ali"&lt;/code&gt;, &lt;code&gt;84&lt;/code&gt;) or customized, single-line parameterized arguments (&lt;code&gt;"Ram"&lt;/code&gt;, &lt;code&gt;85&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1lwf6k1mv4woorv9rxbu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1lwf6k1mv4woorv9rxbu.png" alt=" " width="773" height="796"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  📈 Key Engineering Takeaways
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Memory Management:&lt;/strong&gt; Visualizing how arrays and custom objects allocate space dynamically on the &lt;strong&gt;Heap&lt;/strong&gt;, while recursive function calls populate frames on the &lt;strong&gt;Execution Stack&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;State Protection:&lt;/strong&gt; Transitioning from broad public fields to strict private attributes ensures that internal enterprise application logic cannot be cross-contaminated.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Clean Code Foundations:&lt;/strong&gt; Structuring clean, package-free files that separate operational data structures from user-facing input monitors.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  🎯 What's Next on the Horizon?
&lt;/h2&gt;

&lt;p&gt;With these 10 structural and object-oriented architectures completely deployed, my foundations are bulletproof. Up next, I am charging straight into &lt;strong&gt;Chapter 10: Inheritance (&lt;code&gt;extends&lt;/code&gt; keyword)&lt;/strong&gt; to teach my custom classes how to inherit and reuse code structures smoothly without code duplication!&lt;/p&gt;

&lt;p&gt;You can check out my refactored source architectures and keep an eye on my active daily code commits right here:&lt;br&gt;
🔗 &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/NikhilQuery/JavaJourney" rel="noopener noreferrer"&gt;https://github.com/NikhilQuery/JavaJourney&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Consistency is the ultimate key. Let's keep engineering the future, one clean commit at a time! 🚀&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  java #oops #backend #softwareengineering #programming #learninpublic #bca #github
&lt;/h1&gt;

</description>
      <category>backend</category>
      <category>buildinpublic</category>
      <category>java</category>
      <category>learning</category>
    </item>
    <item>
      <title>My Week 1 Journey Learning Java Backend Development from Scratch!</title>
      <dc:creator>Nikhil Nain</dc:creator>
      <pubDate>Sat, 19 Sep 2026 09:58:05 +0000</pubDate>
      <link>https://dev.to/nikhilquery/my-week-1-journey-learning-java-backend-development-from-scratch-44on</link>
      <guid>https://dev.to/nikhilquery/my-week-1-journey-learning-java-backend-development-from-scratch-44on</guid>
      <description>&lt;p&gt;Hello Developers! 👋&lt;/p&gt;

&lt;p&gt;I am Nikhil, a BCA 1st Year student passionate about Software Engineering and Core Java Backend Development. This week, I officially kickstarted my coding journey and decided to "Learn in Public" by documenting everything I code and build. &lt;/p&gt;

&lt;p&gt;For the past week, I have been deeply practicing core concepts from Java, using hand-written study notes to solidify my logic. Here is a breakdown of what I learned, coded, and deployed in Week 1!&lt;/p&gt;




&lt;h2&gt;
  
  
  📚 What I Mastered This Week
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1️⃣ Java Architecture &amp;amp; Core Basics
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Configured my local development environment using Visual Studio Code and JDK.&lt;/li&gt;
&lt;li&gt;Understood how Java applications compile and execute via bytecode.&lt;/li&gt;
&lt;li&gt;Practiced proper naming conventions (PascalCase for classes and camelCase for methods/variables).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2️⃣ Dynamic Inputs via Scanner Class
&lt;/h3&gt;

&lt;p&gt;Instead of hardcoding values, I learned how to use &lt;code&gt;import java.util.Scanner&lt;/code&gt; to take real-time values from the terminal.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Project Built:&lt;/strong&gt; Deployed a &lt;code&gt;BioDataFetcher.java&lt;/code&gt; that handles different data types like &lt;code&gt;String&lt;/code&gt;, &lt;code&gt;int&lt;/code&gt;, and &lt;code&gt;double&lt;/code&gt; seamlessly.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fj41wywjix660s851kssi.png" alt=" " width="799" height="317"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3️⃣ String Manipulation &amp;amp; Validation Logic
&lt;/h3&gt;

&lt;p&gt;Explored Java's internal String methods to clean and format raw input data.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Mastered formatting using escape sequences (&lt;code&gt;\n&lt;/code&gt;, &lt;code&gt;\t&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Practiced logic gates (&lt;code&gt;||&lt;/code&gt;, &lt;code&gt;&amp;amp;&amp;amp;&lt;/code&gt;) and the &lt;code&gt;return&lt;/code&gt; statement to write robust data validation rules.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Project Built:&lt;/strong&gt; Refactored a secure 5-subject &lt;code&gt;MarksCalculator.java&lt;/code&gt; that instantly blocks invalid entries (marks &amp;gt; 100 or &amp;lt; 0).
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhlzm8uzfj7i5ma460bvo.png" alt=" " width="673" height="662"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4️⃣ Advanced Conditional Slabs
&lt;/h3&gt;

&lt;p&gt;Moved beyond simple control flows into complex, nested &lt;code&gt;if-else&lt;/code&gt; branching logic.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Project Built:&lt;/strong&gt; Successfully built and cracked the differential calculation logic for a multi-slab &lt;code&gt;TaxCalculator.java&lt;/code&gt; (2.5L, 5L, and 10L tax brackets).
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvxl79xitf82xy2eprwwc.png" alt=" " width="800" height="733"&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🚀 Keeping the GitHub Graph Green!
&lt;/h2&gt;

&lt;p&gt;Consistency is everything. I have been pushing every line of code to GitHub daily. Alongside my code, I upgraded my repository's &lt;code&gt;README.md&lt;/code&gt; to a professional, chapter-wise milestone log so that anyone can track my growth.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc9em9nqznn0b3e7bphnh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc9em9nqznn0b3e7bphnh.png" alt=" " width="799" height="358"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📂 You can check out all my clean code implementations here: &lt;br&gt;
👉 &lt;strong&gt;&lt;a href="https://github.com/NikhilQuery/JavaJourney" rel="noopener noreferrer"&gt;https://github.com/NikhilQuery/JavaJourney&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🎯 What's Next?
&lt;/h2&gt;

&lt;p&gt;Week 1 was incredible, but it's just the beginning. Up next, I am diving straight into &lt;strong&gt;Chapter 5: Loop Control Structures (For, While, Do-While loops)&lt;/strong&gt; to teach my backend systems how to iterate and repeat tasks efficiently.&lt;/p&gt;

&lt;p&gt;If you are a fellow student or developer, let's connect and grow together! &lt;/p&gt;

&lt;p&gt;&lt;em&gt;“Consistency is the key. Let's build the future, one clean commit at a time!”&lt;/em&gt; 💻🔥&lt;/p&gt;

&lt;h1&gt;
  
  
  java #bca #backend #programming #learninpublic #freshers #softwareengineering #github
&lt;/h1&gt;

</description>
      <category>backend</category>
      <category>beginners</category>
      <category>java</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
