<?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: Asmit Mandal</title>
    <description>The latest articles on DEV Community by Asmit Mandal (@asmit_mandal_5447bd99f7a5).</description>
    <link>https://dev.to/asmit_mandal_5447bd99f7a5</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3481168%2F5cf1d350-5a7b-46c4-99af-6e0229daa7d4.jpg</url>
      <title>DEV Community: Asmit Mandal</title>
      <link>https://dev.to/asmit_mandal_5447bd99f7a5</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/asmit_mandal_5447bd99f7a5"/>
    <language>en</language>
    <item>
      <title>📚 My First Java Project: A Simple Library Management System</title>
      <dc:creator>Asmit Mandal</dc:creator>
      <pubDate>Fri, 05 Sep 2025 08:34:07 +0000</pubDate>
      <link>https://dev.to/asmit_mandal_5447bd99f7a5/my-first-java-project-a-simple-library-management-system-2jcj</link>
      <guid>https://dev.to/asmit_mandal_5447bd99f7a5/my-first-java-project-a-simple-library-management-system-2jcj</guid>
      <description>&lt;h2&gt;
  
  
  📚 My First Java Project: A Simple Library Management System
&lt;/h2&gt;

&lt;h2&gt;
  
  
  👋 Introduction
&lt;/h2&gt;

&lt;p&gt;Hi Dev Community! I’m &lt;strong&gt;Asmit&lt;/strong&gt;, a first-year college student.&lt;br&gt;&lt;br&gt;
When I started learning Java, I didn’t want to just solve textbook problems — I wanted to &lt;strong&gt;build something real&lt;/strong&gt;.  &lt;/p&gt;

&lt;p&gt;So for my very first project, I created a &lt;strong&gt;Library Management System (LMS)&lt;/strong&gt;.  &lt;/p&gt;

&lt;p&gt;It’s nothing fancy, but it’s special to me because:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It’s relatable (every college has a library 📖).
&lt;/li&gt;
&lt;li&gt;It let me practice the &lt;strong&gt;core building blocks of Java&lt;/strong&gt;: classes, objects, collections, and methods.
&lt;/li&gt;
&lt;li&gt;Most importantly, it gave me a huge &lt;strong&gt;confidence boost&lt;/strong&gt; to keep building. 🚀
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛠️ What the Project Does
&lt;/h2&gt;

&lt;p&gt;The LMS is a &lt;strong&gt;console-based Java program&lt;/strong&gt; with the following features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📖 &lt;strong&gt;Add New Books&lt;/strong&gt; → Enter book details (ID, title, author).
&lt;/li&gt;
&lt;li&gt;📋 &lt;strong&gt;Show Available Books&lt;/strong&gt; → Display all books in the library.
&lt;/li&gt;
&lt;li&gt;🔍 &lt;strong&gt;Search for a Book&lt;/strong&gt; → Search by ID, title, or author.
&lt;/li&gt;
&lt;li&gt;🎟️ &lt;strong&gt;Issue &amp;amp; Return Books&lt;/strong&gt; → Mark books as issued or returned.
&lt;/li&gt;
&lt;li&gt;👤 &lt;strong&gt;User Authentication&lt;/strong&gt; → Users must log in/register before using the system.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It may sound simple, but making all of this work together took effort and patience!&lt;/p&gt;




&lt;h2&gt;
  
  
  💡 How I Built It
&lt;/h2&gt;

&lt;p&gt;At the time, I only knew Java basics: loops, variables, and some OOP. This project forced me to &lt;strong&gt;connect those dots&lt;/strong&gt;.  &lt;/p&gt;

&lt;h3&gt;
  
  
  🧩 Structure
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;A &lt;code&gt;Book&lt;/code&gt; class with &lt;code&gt;id&lt;/code&gt;, &lt;code&gt;title&lt;/code&gt;, &lt;code&gt;author&lt;/code&gt;.
&lt;/li&gt;
&lt;li&gt;Constructors + getters/setters for easy access.
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  📂 Data Management
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;ArrayList&amp;lt;Book&amp;gt;&lt;/code&gt; → to store books.
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;HashMap&lt;/code&gt; → to manage users and issued books.
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ⚡ Step-by-Step Development
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Wrote &lt;code&gt;userAuth()&lt;/code&gt; for login/register.
&lt;/li&gt;
&lt;li&gt;Added &lt;code&gt;addBook()&lt;/code&gt; + &lt;code&gt;showBooks()&lt;/code&gt;.
&lt;/li&gt;
&lt;li&gt;Built search + issue/return functionality.
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Breaking the project into &lt;strong&gt;small steps&lt;/strong&gt; kept it manageable.  &lt;/p&gt;




&lt;h2&gt;
  
  
  🐞 Challenges I Faced
&lt;/h2&gt;

&lt;p&gt;No first project is complete without bugs 😅. Some I ran into:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Scanner Issues&lt;/strong&gt; → &lt;code&gt;nextLine()&lt;/code&gt; stuck in buffer.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ArrayList Errors&lt;/strong&gt; → &lt;code&gt;IndexOutOfBoundsException&lt;/code&gt; when I wasn’t careful.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HashMap Confusion&lt;/strong&gt; → Trouble retrieving values with &lt;code&gt;get()&lt;/code&gt;.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Messy Main Method&lt;/strong&gt; → Fixed by splitting logic into smaller methods.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;👉 Each bug made me understand Java more deeply.&lt;br&gt;&lt;br&gt;
(And yes, I did use &lt;strong&gt;ChatGPT&lt;/strong&gt; to help debug when I got stuck).  &lt;/p&gt;




&lt;h2&gt;
  
  
  🔍 Key Takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🐛 &lt;strong&gt;Debugging = Learning&lt;/strong&gt; → Errors are your best teachers.
&lt;/li&gt;
&lt;li&gt;🧩 &lt;strong&gt;Divide &amp;amp; Conquer&lt;/strong&gt; → Breaking into methods keeps code clean.
&lt;/li&gt;
&lt;li&gt;📦 &lt;strong&gt;OOP Early On&lt;/strong&gt; → Writing a &lt;code&gt;Book&lt;/code&gt; class showed me the power of objects.
&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Finish What You Start&lt;/strong&gt; → Completing even a small project feels amazing.
&lt;/li&gt;
&lt;li&gt;🚀 &lt;strong&gt;Build to Learn&lt;/strong&gt; → Don’t wait until you “know enough.” You learn by building.
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🚀 What’s Next?
&lt;/h2&gt;

&lt;p&gt;This was just &lt;strong&gt;Prototype V1&lt;/strong&gt;. Next, I plan to:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Add a &lt;strong&gt;GUI&lt;/strong&gt; with JavaFX or Swing.
&lt;/li&gt;
&lt;li&gt;Connect to a &lt;strong&gt;database (MySQL)&lt;/strong&gt; so books persist.
&lt;/li&gt;
&lt;li&gt;Try a &lt;strong&gt;web version&lt;/strong&gt; once I learn full-stack development.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each upgrade will push me to the next level.  &lt;/p&gt;




&lt;h2&gt;
  
  
  🙌 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;To all beginners:&lt;br&gt;&lt;br&gt;
👉 &lt;strong&gt;Start building now.&lt;/strong&gt; Don’t wait until you “master everything.” Projects are the fastest way to learn.  &lt;/p&gt;

&lt;p&gt;This Library Management System may look small, but to me it’s proof that I can apply what I’ve learned to solve real problems.  &lt;/p&gt;

&lt;p&gt;I’ll keep sharing my journey here on Dev.to as I grow into a better coder. 🚀  &lt;/p&gt;




&lt;h2&gt;
  
  
  📂 GitHub Repo
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;a href="https://github.com/Asmit159/Library-Management-System" rel="noopener noreferrer"&gt;Library Management System&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;⭐ If you find it helpful, please &lt;strong&gt;star the repo&lt;/strong&gt; — it really motivates me!  &lt;/p&gt;




&lt;p&gt;💬 I’d love to hear from you:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What was &lt;em&gt;your first coding project&lt;/em&gt;?
&lt;/li&gt;
&lt;li&gt;Any suggestions on how I can improve this LMS?
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Drop a comment below 👇&lt;/p&gt;

</description>
      <category>java</category>
      <category>beginners</category>
      <category>100daysofcode</category>
    </item>
    <item>
      <title>📚 My First Java Project: A Simple Library Management System</title>
      <dc:creator>Asmit Mandal</dc:creator>
      <pubDate>Fri, 05 Sep 2025 08:34:07 +0000</pubDate>
      <link>https://dev.to/asmit_mandal_5447bd99f7a5/my-first-java-project-a-simple-library-management-system-1lk6</link>
      <guid>https://dev.to/asmit_mandal_5447bd99f7a5/my-first-java-project-a-simple-library-management-system-1lk6</guid>
      <description>&lt;h2&gt;
  
  
  📚 My First Java Project: A Simple Library Management System
&lt;/h2&gt;

&lt;h2&gt;
  
  
  👋 Introduction
&lt;/h2&gt;

&lt;p&gt;Hi Dev Community! I’m &lt;strong&gt;Asmit&lt;/strong&gt;, a first-year college student.&lt;br&gt;&lt;br&gt;
When I started learning Java, I didn’t want to just solve textbook problems — I wanted to &lt;strong&gt;build something real&lt;/strong&gt;.  &lt;/p&gt;

&lt;p&gt;So for my very first project, I created a &lt;strong&gt;Library Management System (LMS)&lt;/strong&gt;.  &lt;/p&gt;

&lt;p&gt;It’s nothing fancy, but it’s special to me because:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It’s relatable (every college has a library 📖).
&lt;/li&gt;
&lt;li&gt;It let me practice the &lt;strong&gt;core building blocks of Java&lt;/strong&gt;: classes, objects, collections, and methods.
&lt;/li&gt;
&lt;li&gt;Most importantly, it gave me a huge &lt;strong&gt;confidence boost&lt;/strong&gt; to keep building. 🚀
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛠️ What the Project Does
&lt;/h2&gt;

&lt;p&gt;The LMS is a &lt;strong&gt;console-based Java program&lt;/strong&gt; with the following features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📖 &lt;strong&gt;Add New Books&lt;/strong&gt; → Enter book details (ID, title, author).
&lt;/li&gt;
&lt;li&gt;📋 &lt;strong&gt;Show Available Books&lt;/strong&gt; → Display all books in the library.
&lt;/li&gt;
&lt;li&gt;🔍 &lt;strong&gt;Search for a Book&lt;/strong&gt; → Search by ID, title, or author.
&lt;/li&gt;
&lt;li&gt;🎟️ &lt;strong&gt;Issue &amp;amp; Return Books&lt;/strong&gt; → Mark books as issued or returned.
&lt;/li&gt;
&lt;li&gt;👤 &lt;strong&gt;User Authentication&lt;/strong&gt; → Users must log in/register before using the system.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It may sound simple, but making all of this work together took effort and patience!&lt;/p&gt;




&lt;h2&gt;
  
  
  💡 How I Built It
&lt;/h2&gt;

&lt;p&gt;At the time, I only knew Java basics: loops, variables, and some OOP. This project forced me to &lt;strong&gt;connect those dots&lt;/strong&gt;.  &lt;/p&gt;

&lt;h3&gt;
  
  
  🧩 Structure
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;A &lt;code&gt;Book&lt;/code&gt; class with &lt;code&gt;id&lt;/code&gt;, &lt;code&gt;title&lt;/code&gt;, &lt;code&gt;author&lt;/code&gt;.
&lt;/li&gt;
&lt;li&gt;Constructors + getters/setters for easy access.
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  📂 Data Management
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;ArrayList&amp;lt;Book&amp;gt;&lt;/code&gt; → to store books.
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;HashMap&lt;/code&gt; → to manage users and issued books.
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ⚡ Step-by-Step Development
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Wrote &lt;code&gt;userAuth()&lt;/code&gt; for login/register.
&lt;/li&gt;
&lt;li&gt;Added &lt;code&gt;addBook()&lt;/code&gt; + &lt;code&gt;showBooks()&lt;/code&gt;.
&lt;/li&gt;
&lt;li&gt;Built search + issue/return functionality.
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Breaking the project into &lt;strong&gt;small steps&lt;/strong&gt; kept it manageable.  &lt;/p&gt;




&lt;h2&gt;
  
  
  🐞 Challenges I Faced
&lt;/h2&gt;

&lt;p&gt;No first project is complete without bugs 😅. Some I ran into:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Scanner Issues&lt;/strong&gt; → &lt;code&gt;nextLine()&lt;/code&gt; stuck in buffer.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ArrayList Errors&lt;/strong&gt; → &lt;code&gt;IndexOutOfBoundsException&lt;/code&gt; when I wasn’t careful.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HashMap Confusion&lt;/strong&gt; → Trouble retrieving values with &lt;code&gt;get()&lt;/code&gt;.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Messy Main Method&lt;/strong&gt; → Fixed by splitting logic into smaller methods.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;👉 Each bug made me understand Java more deeply.&lt;br&gt;&lt;br&gt;
(And yes, I did use &lt;strong&gt;ChatGPT&lt;/strong&gt; to help debug when I got stuck).  &lt;/p&gt;




&lt;h2&gt;
  
  
  🔍 Key Takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🐛 &lt;strong&gt;Debugging = Learning&lt;/strong&gt; → Errors are your best teachers.
&lt;/li&gt;
&lt;li&gt;🧩 &lt;strong&gt;Divide &amp;amp; Conquer&lt;/strong&gt; → Breaking into methods keeps code clean.
&lt;/li&gt;
&lt;li&gt;📦 &lt;strong&gt;OOP Early On&lt;/strong&gt; → Writing a &lt;code&gt;Book&lt;/code&gt; class showed me the power of objects.
&lt;/li&gt;
&lt;li&gt;✅ &lt;strong&gt;Finish What You Start&lt;/strong&gt; → Completing even a small project feels amazing.
&lt;/li&gt;
&lt;li&gt;🚀 &lt;strong&gt;Build to Learn&lt;/strong&gt; → Don’t wait until you “know enough.” You learn by building.
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🚀 What’s Next?
&lt;/h2&gt;

&lt;p&gt;This was just &lt;strong&gt;Prototype V1&lt;/strong&gt;. Next, I plan to:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Add a &lt;strong&gt;GUI&lt;/strong&gt; with JavaFX or Swing.
&lt;/li&gt;
&lt;li&gt;Connect to a &lt;strong&gt;database (MySQL)&lt;/strong&gt; so books persist.
&lt;/li&gt;
&lt;li&gt;Try a &lt;strong&gt;web version&lt;/strong&gt; once I learn full-stack development.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each upgrade will push me to the next level.  &lt;/p&gt;




&lt;h2&gt;
  
  
  🙌 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;To all beginners:&lt;br&gt;&lt;br&gt;
👉 &lt;strong&gt;Start building now.&lt;/strong&gt; Don’t wait until you “master everything.” Projects are the fastest way to learn.  &lt;/p&gt;

&lt;p&gt;This Library Management System may look small, but to me it’s proof that I can apply what I’ve learned to solve real problems.  &lt;/p&gt;

&lt;p&gt;I’ll keep sharing my journey here on Dev.to as I grow into a better coder. 🚀  &lt;/p&gt;




&lt;h2&gt;
  
  
  📂 GitHub Repo
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;a href="https://github.com/Asmit159/Library-Management-System" rel="noopener noreferrer"&gt;Library Management System&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;⭐ If you find it helpful, please &lt;strong&gt;star the repo&lt;/strong&gt; — it really motivates me!  &lt;/p&gt;




&lt;p&gt;💬 I’d love to hear from you:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What was &lt;em&gt;your first coding project&lt;/em&gt;?
&lt;/li&gt;
&lt;li&gt;Any suggestions on how I can improve this LMS?
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Drop a comment below 👇&lt;/p&gt;

</description>
      <category>java</category>
      <category>beginners</category>
      <category>100daysofcode</category>
    </item>
  </channel>
</rss>
