<?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: Maha Vignesh Shree Nagendran</title>
    <description>The latest articles on DEV Community by Maha Vignesh Shree Nagendran (@maha_vigneshshree).</description>
    <link>https://dev.to/maha_vigneshshree</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%2F3747943%2Fbc519f9e-d5a5-4122-ae0a-4d0e70f8a49f.png</url>
      <title>DEV Community: Maha Vignesh Shree Nagendran</title>
      <link>https://dev.to/maha_vigneshshree</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/maha_vigneshshree"/>
    <language>en</language>
    <item>
      <title>OOPs in Java – GUVI Task</title>
      <dc:creator>Maha Vignesh Shree Nagendran</dc:creator>
      <pubDate>Mon, 02 Feb 2026 14:47:52 +0000</pubDate>
      <link>https://dev.to/maha_vigneshshree/oops-in-java-guvi-task-mah</link>
      <guid>https://dev.to/maha_vigneshshree/oops-in-java-guvi-task-mah</guid>
      <description>&lt;p&gt;Introduction&lt;/p&gt;

&lt;p&gt;This blog explains the solutions for the OOPs in Java task provided by GUVI.&lt;br&gt;
The task focuses on understanding core object-oriented programming concepts such as classes, constructors, arrays of objects, inheritance, and interfaces using Java.&lt;/p&gt;

&lt;p&gt;Question 1 – Library Management System&lt;/p&gt;

&lt;p&gt;In this question, a simple Library Management System is implemented using Java.&lt;/p&gt;

&lt;p&gt;A Book class is created with attributes such as book ID, title, author, and availability&lt;/p&gt;

&lt;p&gt;A menu-driven program allows the user to:&lt;/p&gt;

&lt;p&gt;Add a book&lt;/p&gt;

&lt;p&gt;Remove a book using book ID&lt;/p&gt;

&lt;p&gt;Search for a book&lt;/p&gt;

&lt;p&gt;Display all available books&lt;/p&gt;

&lt;p&gt;An array of objects is used to store book details&lt;/p&gt;

&lt;p&gt;This program demonstrates classes, constructors, arrays, and control structures&lt;/p&gt;

&lt;p&gt;Question 2 – Interface (Taxable)&lt;/p&gt;

&lt;p&gt;This question demonstrates the use of interfaces in Java.&lt;/p&gt;

&lt;p&gt;An interface named Taxable is created&lt;/p&gt;

&lt;p&gt;It contains constants for:&lt;/p&gt;

&lt;p&gt;Income tax (10.5%)&lt;/p&gt;

&lt;p&gt;Sales tax (7%)&lt;/p&gt;

&lt;p&gt;Two classes implement the interface:&lt;/p&gt;

&lt;p&gt;Employee class calculates income tax based on salary&lt;/p&gt;

&lt;p&gt;Product class calculates sales tax based on product price&lt;/p&gt;

&lt;p&gt;The same interface method is implemented differently in both classes&lt;/p&gt;

&lt;p&gt;This program helps in understanding abstraction and interface implementation&lt;/p&gt;

&lt;p&gt;Concepts Covered&lt;/p&gt;

&lt;p&gt;Through this task, the following OOP concepts are practiced:&lt;/p&gt;

&lt;p&gt;Classes and Objects&lt;/p&gt;

&lt;p&gt;Constructors&lt;/p&gt;

&lt;p&gt;Arrays of Objects&lt;/p&gt;

&lt;p&gt;Inheritance&lt;/p&gt;

&lt;p&gt;Interfaces&lt;/p&gt;

&lt;p&gt;Method Overriding&lt;/p&gt;

&lt;p&gt;Menu-driven programs&lt;/p&gt;

&lt;p&gt;GitHub Repository&lt;/p&gt;

&lt;p&gt;All Java programs related to this GUVI OOPs task are available in my GitHub repository:&lt;br&gt;
&lt;a href="https://github.com/nagendranmahavigneshshree-commits/OOPS-Programming_Java-GUVI/tree/main" rel="noopener noreferrer"&gt;https://github.com/nagendranmahavigneshshree-commits/OOPS-Programming_Java-GUVI/tree/main&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Conclusion&lt;/p&gt;

&lt;p&gt;This GUVI task helped me strengthen my understanding of Object-Oriented Programming in Java.&lt;br&gt;
By implementing real-world examples, I gained clarity on how OOP concepts such as inheritance and interfaces are used in practical applications.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>java</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>OOPs in Java – GUVI Task</title>
      <dc:creator>Maha Vignesh Shree Nagendran</dc:creator>
      <pubDate>Mon, 02 Feb 2026 13:32:59 +0000</pubDate>
      <link>https://dev.to/maha_vigneshshree/oops-in-java-guvi-task-4b77</link>
      <guid>https://dev.to/maha_vigneshshree/oops-in-java-guvi-task-4b77</guid>
      <description>&lt;h2&gt;
  
  
  OOPs in Java – GUVI Task
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;This blog explains the solutions for the OOPs in Java task provided by GUVI. &lt;br&gt;
The task focuses on basic object-oriented programming concepts such as classes, &lt;br&gt;
constructors, inheritance, and methods.&lt;/p&gt;




&lt;h3&gt;
  
  
  Question 1.1 – Person Class
&lt;/h3&gt;

&lt;p&gt;A Person class is created with name and age as attributes.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Default age is set to 18&lt;/li&gt;
&lt;li&gt;A parameterized constructor is used to initialize name and age&lt;/li&gt;
&lt;li&gt;A display method is used to print the details&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Question 1.2 – Product Class
&lt;/h3&gt;

&lt;p&gt;A Product class is created with pid, price, and quantity.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Five product details are accepted from the user&lt;/li&gt;
&lt;li&gt;The product with the highest price is identified&lt;/li&gt;
&lt;li&gt;Total amount spent on all products is calculated using a method&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Question 1.3 – Account Class
&lt;/h3&gt;

&lt;p&gt;An Account class is created with balance as a data member.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A no-argument constructor and a parameterized constructor are used&lt;/li&gt;
&lt;li&gt;Deposit and withdraw methods are implemented&lt;/li&gt;
&lt;li&gt;Balance is displayed after each operation&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Question 1.4 – Inheritance (Person and Employee)
&lt;/h3&gt;

&lt;p&gt;Inheritance is implemented using Person as a base class and Employee as a subclass.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Employee inherits name and age from Person&lt;/li&gt;
&lt;li&gt;Additional attributes employeeId and salary are added&lt;/li&gt;
&lt;li&gt;super keyword is used to initialize parent class attributes&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  GitHub Repository
&lt;/h3&gt;

&lt;p&gt;All Java programs for this task are available in my GitHub repository:&lt;br&gt;
&lt;a href="https://github.com/nagendranmahavigneshshree-commits/OOPs-in-Java-tasks-for-GUVI/tree/main" rel="noopener noreferrer"&gt;https://github.com/nagendranmahavigneshshree-commits/OOPs-in-Java-tasks-for-GUVI/tree/main&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;This task helped me understand important OOP concepts such as constructors, &lt;br&gt;
methods, arrays of objects, and inheritance in Java.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
