<?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: Jeeva Aj</title>
    <description>The latest articles on DEV Community by Jeeva Aj (@jeeva_aj_abb983eb6ebb0f43).</description>
    <link>https://dev.to/jeeva_aj_abb983eb6ebb0f43</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%2F3216518%2Fae2ad2f6-7b4e-40db-b388-0d6a13fc6aeb.jpg</url>
      <title>DEV Community: Jeeva Aj</title>
      <link>https://dev.to/jeeva_aj_abb983eb6ebb0f43</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jeeva_aj_abb983eb6ebb0f43"/>
    <language>en</language>
    <item>
      <title>Methods in Java</title>
      <dc:creator>Jeeva Aj</dc:creator>
      <pubDate>Thu, 31 Jul 2025 05:39:35 +0000</pubDate>
      <link>https://dev.to/jeeva_aj_abb983eb6ebb0f43/methods-in-java-204e</link>
      <guid>https://dev.to/jeeva_aj_abb983eb6ebb0f43/methods-in-java-204e</guid>
      <description>&lt;p&gt;Method :&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Set of instructions for achieving a specific-tasks - with a name (or) with or without arguments (or) with or without return datatype.&lt;/li&gt;
&lt;li&gt; If we do not return any value, we should mention “void” before method name.&lt;/li&gt;
&lt;li&gt; Modularity&lt;/li&gt;
&lt;li&gt; Code Reusability&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;employee1.enquiry();&lt;br&gt;
        employee1.enquiry(1234);&lt;br&gt;
}&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;private void enquiry(int accNo) {
    System.out.println("Balance enquiry");

}

private void enquiry() {
    System.out.println("General enquiry");

}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Same method name with different number of arguments is called Method overloading.&lt;/p&gt;

&lt;p&gt;employee1.enquiry(15.3f);&lt;br&gt;
private void enquiry(float gold) {&lt;br&gt;
        System.out.println("Gold rate please");&lt;br&gt;
Same method name with different type of arguments is also known as Method overloading. &lt;br&gt;
Another name called Compile time polymorphism.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Bank Project using Java</title>
      <dc:creator>Jeeva Aj</dc:creator>
      <pubDate>Thu, 31 Jul 2025 05:38:03 +0000</pubDate>
      <link>https://dev.to/jeeva_aj_abb983eb6ebb0f43/bank-project-using-java-1nh7</link>
      <guid>https://dev.to/jeeva_aj_abb983eb6ebb0f43/bank-project-using-java-1nh7</guid>
      <description>&lt;p&gt;Bank project:&lt;br&gt;
New keyword allocates a memory space  bank employee1 = new bank ();&lt;br&gt;
Bank =&amp;gt; class&lt;br&gt;
Syntax for object creation: class name ref.name = new class name ();&lt;br&gt;
() =&amp;gt; constructor&lt;br&gt;
Object =&amp;gt; employee&lt;br&gt;
Employee  min balance, details, sat &amp;amp; sun leave details = called states&lt;br&gt;
Employee  debit card, credit card, loan sanctions = called behaviour.&lt;br&gt;
So, object is known as combination of states &amp;amp; behaviours.&lt;br&gt;
Object is a memory reference of a class.&lt;br&gt;
Object is a physical entity.&lt;br&gt;
Object represents the class.&lt;br&gt;
Object is an instance of a class. ( it occupies a space in the logic entity that is bank). &lt;br&gt;
Example 1  Robot robot1&lt;br&gt;
Robot.getGrocery (200);                1.getGrocery (packet owner-cash){}&lt;br&gt;
( 200 ) =&amp;gt; argument/parameter    2.getGrocery(bag grocery amount){}&lt;br&gt;
getGrocery =&amp;gt; method or actions&lt;br&gt;&lt;br&gt;
Cash =&amp;gt; packet&lt;br&gt;
Change =&amp;gt; bag&lt;br&gt;
200 =&amp;gt; int &lt;br&gt;
200.5 =&amp;gt; float &lt;br&gt;
Packet, bag, int, float are called containers because they occupy a storage.  &lt;/p&gt;

&lt;p&gt;Example 2  Robot getJuice (100);&lt;br&gt;
                 Bottle.getJuice ( int amount){&lt;br&gt;
                  1.amount&lt;br&gt;
2.juice&lt;br&gt;
Return juice&lt;br&gt;
}&lt;br&gt;
Example 3  getFood (200);&lt;br&gt;
                 Bag.getFood ( int amount) {&lt;br&gt;
1.amount&lt;br&gt;
2.food&lt;br&gt;
Return food&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;Action =&amp;gt; getFood&lt;br&gt;
200rs (input)  =&amp;gt; int&lt;br&gt;
Here, robot deposited the amount but did not bring anything back to home. So it will call it as void. No return =&amp;gt; void.&lt;/p&gt;

&lt;p&gt;Our project code in eclipse for understanding:&lt;br&gt;
package bank.loan;&lt;/p&gt;

&lt;p&gt;public class Bank {&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public static void main(String[] args) {

    Bank employee1 = new Bank(); //allocates a memory space
    employee1.deposit(100,1111); //method calling statement
    //method name: deposit
    //arguments: 2
    //arguments(100,1111)--&amp;gt; parameters
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Storing container =&amp;gt; bag&lt;/p&gt;

&lt;p&gt;So, food is an action and the corresponding storage or datatype is bag. Write in a meaningful way that matches the corresponsing actions to container.&lt;/p&gt;

&lt;p&gt;Example 4  robot.withdraw(1234);&lt;br&gt;
        Int Withdraw(int pin) {&lt;br&gt;
1.&lt;br&gt;
2.&lt;br&gt;
Return amount&lt;br&gt;
}&lt;br&gt;
 Here, returning amount will be an integer so it is called as int.&lt;/p&gt;

&lt;p&gt;Example 5  robot.deposit (100);&lt;br&gt;
     Robot. Deposit (100, 12345);&lt;br&gt;
void.deposit (int amnt, int accNo){&lt;br&gt;
1.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;}&lt;br&gt;
int money = employee1.withdraw(100,1111);&lt;br&gt;
    System.out.println(money);&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;private int withdraw(int cash, int accno) {&lt;br&gt;
return 100;&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;private void deposit(int amount, int accNo) //method signature&lt;br&gt;
{&lt;br&gt;
    //method body or method definition &lt;br&gt;
    System.out.println ( "Deposit"  +  100);&lt;br&gt;
    System.out.println ("in acc no:" +   accNo);&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;}&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Arrays in Java</title>
      <dc:creator>Jeeva Aj</dc:creator>
      <pubDate>Thu, 31 Jul 2025 05:31:43 +0000</pubDate>
      <link>https://dev.to/jeeva_aj_abb983eb6ebb0f43/arrays-in-java-467h</link>
      <guid>https://dev.to/jeeva_aj_abb983eb6ebb0f43/arrays-in-java-467h</guid>
      <description>&lt;p&gt;Arrays&lt;/p&gt;

&lt;p&gt;Group of similar elements is called array. Array occupies continuous memory. Arrays are index based. Also unused memory filled with default values depending on the name of the datatype.&lt;/p&gt;

&lt;p&gt;Int [ ] marks = new int [3];&lt;br&gt;
Marks [0] = 80;&lt;br&gt;
Marks [1] = 90;&lt;br&gt;
Marks [2] = 100;&lt;br&gt;
Int (i = 0, i&amp;lt;marks.length, i++){&lt;br&gt;
System.out.println ( marks[i] );&lt;br&gt;
}&lt;br&gt;
Or &lt;br&gt;
Int i = 0;&lt;br&gt;
While (i&amp;lt;marks.length){&lt;br&gt;
System.out.println ( marks[i] );&lt;br&gt;
i++;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;2-D Array&lt;br&gt;
Int [ ] m1 = { 34, 47, 87 } ;&lt;br&gt;
Int [ ] m2 = { 26, 76, 90 } ;&lt;br&gt;
Int [ ] m3 = { 45, 64, 59 } ;&lt;br&gt;
Int [ ] [ ] a = { m1, m2, m3 };&lt;/p&gt;

&lt;p&gt;System.out.println ( a [0] [0] );      System.out.println ( a [1] [0] );&lt;br&gt;
System.out.println ( a [0] [1] );      System.out.println ( a [1] [0] );&lt;br&gt;
System.out.println ( a [0] [2] );      System.out.println ( a [1] [0] );&lt;br&gt;
Int i = 0;&lt;br&gt;
For ( j =0, j&amp;lt;3, j++ );&lt;br&gt;
System.out.println ( a [i] [j] );&lt;br&gt;
i++;&lt;br&gt;
For ( j =0, j&amp;lt;3, j++ );&lt;br&gt;
System.out.println ( a [i] [j] );&lt;br&gt;
i++;&lt;br&gt;
For ( j =0, j&amp;lt;3, j++ );&lt;br&gt;
System.out.println ( a [i] [j] );&lt;br&gt;
 Or &lt;br&gt;
For (i = 0, i&amp;lt;3, i++); {&lt;br&gt;
For (j=0, j&amp;lt;3, j++);&lt;br&gt;
{ System.out.println ( a [i] [j] ) + “ “ ); }&lt;br&gt;
System.out.println ();&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;Output :  34 47 87&lt;br&gt;
                 26 76 90&lt;br&gt;
                 45 64 59&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Control statements in Java</title>
      <dc:creator>Jeeva Aj</dc:creator>
      <pubDate>Thu, 31 Jul 2025 05:28:29 +0000</pubDate>
      <link>https://dev.to/jeeva_aj_abb983eb6ebb0f43/control-statements-in-java-g15</link>
      <guid>https://dev.to/jeeva_aj_abb983eb6ebb0f43/control-statements-in-java-g15</guid>
      <description>&lt;ol&gt;
&lt;li&gt; Decision making  if else if, switch&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Repetitive making  while do while for&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Decision Making &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;int h1 = 170,  h2 = 175;&lt;br&gt;
if (h1&amp;gt;h2) {&lt;br&gt;
System.out.println (h1);&lt;br&gt;
}&lt;br&gt;
else if (h2&amp;gt;h1) {&lt;br&gt;
System.out.println (h2);&lt;br&gt;
}&lt;br&gt;
else {&lt;br&gt;
System.out.println (“Same”);&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;Conditional statements:&lt;/p&gt;

&lt;p&gt;If, if else, else, switch case, nested&lt;/p&gt;

&lt;p&gt;Nested condition : if inside if inside if, can write n number of if and then else etc&lt;/p&gt;

&lt;p&gt;Switch condition : case 1 break; case 2 break; case 3 break; finally default and print statement. Datatypes used: [ int, string, enum ]&lt;/p&gt;

&lt;p&gt;2.Repetitive Making&lt;/p&gt;

&lt;p&gt;While loop – Entry criteria looping&lt;/p&gt;

&lt;p&gt;Int no =1;  count =1;&lt;br&gt;
While (count &amp;lt;= 5) {&lt;br&gt;
System.out.println (no);&lt;br&gt;
Count++;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;Do while loop – Exit Criteria Looping&lt;/p&gt;

&lt;p&gt;Int no =1;  count =1;&lt;br&gt;
Do{&lt;br&gt;
System.out.println (no);&lt;br&gt;
Count++;&lt;br&gt;
While (count &amp;lt;= 5);&lt;br&gt;
}&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;     For Loop
     Int no = 1;
    for (int count = 1, count &amp;lt;=10, count ++) {
    system.out.println (no);
    }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Operators in Java</title>
      <dc:creator>Jeeva Aj</dc:creator>
      <pubDate>Thu, 31 Jul 2025 05:26:28 +0000</pubDate>
      <link>https://dev.to/jeeva_aj_abb983eb6ebb0f43/operators-in-java-4ec1</link>
      <guid>https://dev.to/jeeva_aj_abb983eb6ebb0f43/operators-in-java-4ec1</guid>
      <description>&lt;p&gt;Operators  +, -, *, /, ++, --, etc.&lt;br&gt;
Separators  all symbols that divide everything are called separators. Example: {}, [], comma, dot, (), etc.&lt;/p&gt;

&lt;p&gt;Unary Operators&lt;/p&gt;

&lt;p&gt;Increment Operator (Post)&lt;/p&gt;

&lt;p&gt;Int no = 5;&lt;br&gt;
System.out.println(no++);&lt;br&gt;
Output = 5.&lt;/p&gt;

&lt;p&gt;Decrement Operator (Post)&lt;/p&gt;

&lt;p&gt;System.out.println(no--);&lt;br&gt;
Output = 5.&lt;br&gt;
Pre-increment operator&lt;/p&gt;

&lt;p&gt;Int no = 5;&lt;br&gt;
System.out.println(++no);&lt;br&gt;
Output = 6.&lt;/p&gt;

&lt;p&gt;Pre-decrement operator&lt;/p&gt;

&lt;p&gt;System.out.println(--no);&lt;br&gt;
Output = 4.&lt;br&gt;
Pre-increment operator&lt;/p&gt;

&lt;p&gt;Int no = 5;&lt;br&gt;
System.out.println(++no);&lt;br&gt;
Output = 6.&lt;/p&gt;

&lt;p&gt;Pre-decrement operator&lt;/p&gt;

&lt;p&gt;System.out.println(--no);&lt;br&gt;
Output = 4.&lt;/p&gt;

</description>
      <category>java</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to create a project in Java?</title>
      <dc:creator>Jeeva Aj</dc:creator>
      <pubDate>Thu, 31 Jul 2025 05:24:25 +0000</pubDate>
      <link>https://dev.to/jeeva_aj_abb983eb6ebb0f43/how-to-create-a-project-in-java-4048</link>
      <guid>https://dev.to/jeeva_aj_abb983eb6ebb0f43/how-to-create-a-project-in-java-4048</guid>
      <description>&lt;p&gt;File  New  Java Project&lt;/p&gt;

&lt;p&gt;Project names should be connected with underscores.&lt;/p&gt;

&lt;p&gt;Java keywords always start with small letters. You can learn the keywords through oracle docs.com&lt;/p&gt;

&lt;p&gt;Identifiers: Example: int no1  no1 is the identifier.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Always starts with alphabets&lt;/li&gt;
&lt;li&gt; Starts with $ or _&lt;/li&gt;
&lt;li&gt; No space or special characters should be allowed.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>java</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Objects &amp; Classes in Java</title>
      <dc:creator>Jeeva Aj</dc:creator>
      <pubDate>Thu, 31 Jul 2025 05:22:39 +0000</pubDate>
      <link>https://dev.to/jeeva_aj_abb983eb6ebb0f43/objects-classes-in-java-52m3</link>
      <guid>https://dev.to/jeeva_aj_abb983eb6ebb0f43/objects-classes-in-java-52m3</guid>
      <description>&lt;p&gt;What are objects?&lt;/p&gt;

&lt;p&gt;Objects are real-time entities. Entity means Porul in Tamil.&lt;br&gt;
It is a combination of states &amp;amp; behaviors.&lt;/p&gt;

&lt;p&gt;What is Class?&lt;/p&gt;

&lt;p&gt;Class is a template or blueprint. It means logical entity.&lt;/p&gt;

&lt;p&gt;How do we create an object in a class?&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Class bike {&lt;br&gt;
Bike active = new bike();&lt;br&gt;
Bike pulsar = new bike();&lt;br&gt;
}&lt;br&gt;
Bike – Logical entity&lt;br&gt;
Active – Physical entity&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Class Actor {&lt;br&gt;
Actor Rajni = new Actor();&lt;br&gt;
Actor Vijay = new Actor();&lt;br&gt;
}&lt;br&gt;
Actor is a template for eg: dance, sing, act&lt;br&gt;
Whereas Rajni is an object in the class named “actor” here.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;File = Class&lt;br&gt;
Folder = Package&lt;br&gt;
Drive = Project&lt;/p&gt;

</description>
      <category>java</category>
      <category>oop</category>
      <category>tutorial</category>
      <category>programming</category>
    </item>
    <item>
      <title>Java Datatypes</title>
      <dc:creator>Jeeva Aj</dc:creator>
      <pubDate>Thu, 31 Jul 2025 05:19:58 +0000</pubDate>
      <link>https://dev.to/jeeva_aj_abb983eb6ebb0f43/java-datatypes-beh</link>
      <guid>https://dev.to/jeeva_aj_abb983eb6ebb0f43/java-datatypes-beh</guid>
      <description>&lt;p&gt;What are Datatypes?&lt;/p&gt;

&lt;p&gt;Data type is a reference variables used to identify the data inside the container. &lt;/p&gt;

&lt;p&gt;Types of Datatypes&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                      Primitive datatypes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Byte – It stores 1 bytes – 8bits – 2^8&lt;br&gt;
Short – stores 2 bytes&lt;br&gt;
Int – stores 4 bytes&lt;br&gt;
Long – stores 8 bytes&lt;br&gt;
Float – 2 bytes&lt;br&gt;
Double – 4 bytes&lt;br&gt;
Char – 2 bytes&lt;br&gt;
Boolean – stores true or false value&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                   Non-Primitive Datatypes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;String, Array, Class, Interface&lt;/p&gt;

</description>
      <category>java</category>
      <category>softwaredevelopment</category>
      <category>programming</category>
    </item>
    <item>
      <title>Features of Java Program</title>
      <dc:creator>Jeeva Aj</dc:creator>
      <pubDate>Thu, 31 Jul 2025 05:18:28 +0000</pubDate>
      <link>https://dev.to/jeeva_aj_abb983eb6ebb0f43/features-of-java-program-1nkm</link>
      <guid>https://dev.to/jeeva_aj_abb983eb6ebb0f43/features-of-java-program-1nkm</guid>
      <description>&lt;p&gt;Features of Java&lt;br&gt;
• Java is platform independent&lt;br&gt;
• Java is robust. Robust means powerful. &lt;br&gt;
• Why is it powerful?&lt;br&gt;
• Because java works in multiple platforms like linux, windows, etc&lt;br&gt;
• Memory allocation and it will automatic collects the garbage&lt;br&gt;
• Error handling or exceptional handling&lt;br&gt;
• Java is secured because compile-time checks work perfectly&lt;br&gt;
• No pointers concept in java and security APIs&lt;br&gt;
• Java is distributed because it can be connected with two or three devices at the same time, but Java can be performed in multiple systems.&lt;br&gt;
• Java is multithreading, which means it can perform without affecting any tasks and performs very fast&lt;br&gt;
• Java is mainly an OOPs programming language [class, objects, inheritance, polymorphism, abstraction, encapsulation, interface].&lt;/p&gt;

</description>
      <category>blog</category>
    </item>
    <item>
      <title>Java—Oops Concept</title>
      <dc:creator>Jeeva Aj</dc:creator>
      <pubDate>Wed, 16 Jul 2025 07:11:53 +0000</pubDate>
      <link>https://dev.to/jeeva_aj_abb983eb6ebb0f43/java-oops-concept-72p</link>
      <guid>https://dev.to/jeeva_aj_abb983eb6ebb0f43/java-oops-concept-72p</guid>
      <description>&lt;p&gt;Object means a real-world entity such as a mobile, book, table, computer, watch, etc. Object-Oriented Programming is a methodology or paradigm to design a program using classes and objects. It simplifies software development and maintenance by providing some concepts.&lt;/p&gt;

&lt;p&gt;Java OOPs (Object-Oriented Programming) Concepts&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Class&lt;/li&gt;
&lt;li&gt;Object&lt;/li&gt;
&lt;li&gt;Inheritance&lt;/li&gt;
&lt;li&gt;Polymorphism&lt;/li&gt;
&lt;li&gt;Abstraction&lt;/li&gt;
&lt;li&gt;Encapsulation&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Class&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In object-oriented programming, a class is a blueprint from which individual objects are created (or, we can say a class is a data type of an object type). In Java, everything is related to classes and objects. Each class has its methods and attributes that can be accessed and manipulated through the objects.&lt;/p&gt;

&lt;p&gt;Examples of Class&lt;/p&gt;

&lt;p&gt;If you want to create a class for students. In that case, "Student" will be a class, and student records (like student1, student2, etc.) will be objects.&lt;/p&gt;

&lt;p&gt;// create a Student class&lt;br&gt;
public class Student {&lt;br&gt;
   // Declaring attributes&lt;br&gt;
   String name;&lt;br&gt;
   int rollNo;&lt;br&gt;
   String section;&lt;/p&gt;

&lt;p&gt;// initialize attributes&lt;br&gt;
   Student(String name, int rollNo, String section){&lt;br&gt;
      this.name= name;&lt;br&gt;
      this.rollNo = rollNo;&lt;br&gt;
      this.section = section;&lt;br&gt;
   }&lt;br&gt;
   // print details&lt;br&gt;&lt;br&gt;
   public void printDetails() {&lt;br&gt;
      System.out.println("Student Details:");&lt;br&gt;
      System.out.println(this.name+ ", "+", " + this.rollNo + ", " + section);&lt;br&gt;
   }&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Object&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In object-oriented programming, an object is an entity that has two characteristics (states and behavior). Some of the real-world objects are books, mobiles, tables, computers, etc. An object is a variable of the type class; it is a basic component of an object-oriented programming system. A class has the methods and data members (attributes); these methods and data members are accessed through an object. Thus, an object is an instance of a class.&lt;/p&gt;

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

&lt;p&gt;Continuing with the example of students, let's create some students as objects and print their details.&lt;/p&gt;

&lt;p&gt;// create a Student class&lt;br&gt;
public class Student {&lt;br&gt;
   // Declaring attributes&lt;br&gt;
   String name;&lt;br&gt;
   int rollNo;&lt;br&gt;
   String section;&lt;/p&gt;

&lt;p&gt;// initialize attributes&lt;br&gt;
   Student(String name, int rollNo, String section){&lt;br&gt;
      this.name= name;&lt;br&gt;
      this.rollNo = rollNo;&lt;br&gt;
      this.section = section;&lt;br&gt;
   }&lt;br&gt;
   // print details&lt;br&gt;&lt;br&gt;
   public void printDetails() {&lt;br&gt;
      System.out.print("Student Details: ");&lt;br&gt;
      System.out.println(this.name+ ", " + this.rollNo + ", " + section);&lt;br&gt;
   }&lt;/p&gt;

&lt;p&gt;public static void main(String[] args) {&lt;br&gt;
      // create student objects&lt;br&gt;&lt;br&gt;
      Student student1 = new Student("Robert", 1, "IX Blue");&lt;br&gt;
      Student student2 = new Student("Adam", 2, "IX Red");&lt;br&gt;
      Student student3 = new Student("Julie", 3, "IX Blue");&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  // print student details
  student1.printDetails();
  student2.printDetails();
  student3.printDetails();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;br&gt;
}&lt;/p&gt;

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

&lt;p&gt;In object-oriented programming, inheritance is a process by which we can reuse the functionalities of existing classes to new classes. In the concept of inheritance, there are two terms base (parent) class and derived (child) class. When a class is inherited from another class (base class), it (derived class) obtains all the properties and behaviors of the base class.&lt;/p&gt;

&lt;p&gt;Example of Inheritance&lt;br&gt;
Continuing with the example of students, let's make student a derived class of person class. Person class will have a single field name and student class will inherit the same as shown below:&lt;/p&gt;

&lt;p&gt;// base class for all students&lt;br&gt;
class Person {&lt;br&gt;
   String name;&lt;/p&gt;

&lt;p&gt;Person(String name){&lt;br&gt;
      this.name = name;&lt;br&gt;
   }&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;// create a Student class&lt;br&gt;
public class Student extends Person {&lt;br&gt;
   // Declaring attributes&lt;br&gt;
   int rollNo;&lt;br&gt;
   String section;&lt;/p&gt;

&lt;p&gt;// initialize attributes&lt;br&gt;
   Student(String name, int rollNo, String section){&lt;br&gt;
      super(name);&lt;br&gt;
      this.rollNo = rollNo;&lt;br&gt;
      this.section = section;&lt;br&gt;
   }&lt;br&gt;
   // print details&lt;br&gt;&lt;br&gt;
   public void printDetails() {&lt;br&gt;
      System.out.print("Student Details: ");&lt;br&gt;
      System.out.println(this.name+ ", " + this.rollNo + ", " + section);&lt;br&gt;
   }&lt;/p&gt;

&lt;p&gt;public static void main(String[] args) {&lt;br&gt;
      // create student objects&lt;br&gt;&lt;br&gt;
      Student student1 = new Student("Robert", 1, "IX Blue");&lt;br&gt;
      Student student2 = new Student("Adam", 2, "IX Red");&lt;br&gt;
      Student student3 = new Student("Julie", 3, "IX Blue");&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  // print student details
  student1.printDetails();
  student2.printDetails();
  student3.printDetails();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Polymorphism&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The term "polymorphism" means "many forms". In object-oriented programming, polymorphism is useful when you want to create multiple forms with the same name of a single entity. To implement polymorphism in Java, we use two concepts method overloading and method overriding.&lt;/p&gt;

&lt;p&gt;The method overloading is performed in the same class where we have multiple methods with the same name but different parameters, whereas, the method overriding is performed by using the inheritance where we can have multiple methods with the same name in parent and child classes.&lt;/p&gt;

&lt;p&gt;Example of Polymorphism&lt;/p&gt;

&lt;p&gt;Continuing with the example of students, let's add another method printDetails() with additional parameter to modify the behavior of the method.&lt;/p&gt;

&lt;p&gt;// create a Student class&lt;br&gt;
public class Student {&lt;br&gt;
   // Declaring attributes&lt;br&gt;
   String name;&lt;br&gt;
   int rollNo;&lt;br&gt;
   String section;&lt;/p&gt;

&lt;p&gt;// initialize attributes&lt;br&gt;
   Student(String name, int rollNo, String section){&lt;br&gt;
      this.name= name;&lt;br&gt;
      this.rollNo = rollNo;&lt;br&gt;
      this.section = section;&lt;br&gt;
   }&lt;br&gt;
   // print details&lt;br&gt;&lt;br&gt;
   public void printDetails() {&lt;br&gt;
      System.out.print("Student Details: ");&lt;br&gt;
      System.out.println(this.name+ ", " + this.rollNo + ", " + section);&lt;br&gt;
   }&lt;/p&gt;

&lt;p&gt;// print details without section if required&lt;br&gt;&lt;br&gt;
   public void printDetails(boolean hideSection) {&lt;br&gt;
      System.out.print("Student Details: ");&lt;br&gt;
      System.out.println(this.name+ ", " + this.rollNo + ", " + (hideSection ? "" : section));&lt;br&gt;
   }&lt;/p&gt;

&lt;p&gt;public static void main(String[] args) {&lt;br&gt;
      // create student objects&lt;br&gt;&lt;br&gt;
      Student student1 = new Student("Robert", 1, "IX Blue");&lt;br&gt;
      Student student2 = new Student("Adam", 2, "IX Red");&lt;br&gt;
      Student student3 = new Student("Julie", 3, "IX Blue");&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  // print student details
  student1.printDetails();
  student2.printDetails(true);
  student3.printDetails(false);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Abstraction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In object-oriented programming, an abstraction is a technique of hiding internal details and showing functionalities. The abstract classes and interfaces are used to achieve abstraction in Java.&lt;/p&gt;

&lt;p&gt;The real-world example of an abstraction is a Car, the internal details such as the engine, process of starting a car, process of shifting gears, etc. are hidden from the user, and features such as the start button, gears, display, break, etc are given to the user. When we perform any action on these features, the internal process works.&lt;/p&gt;

&lt;p&gt;Example of Abstraction&lt;/p&gt;

&lt;p&gt;Let's create an Abstract Vehicle class and Car extending the Vehicle class. Vehicle will abstract away internal functionalities.&lt;/p&gt;

&lt;p&gt;abstract class Vehicle {&lt;br&gt;
   public void startEngine() {&lt;br&gt;
      System.out.println("Engine Started");&lt;br&gt;
   }&lt;br&gt;
}&lt;br&gt;
public class Car extends Vehicle {&lt;br&gt;
   private String color;&lt;/p&gt;

&lt;p&gt;public Car(String color) {&lt;br&gt;
      this.color = color;&lt;br&gt;
   }&lt;/p&gt;

&lt;p&gt;public void printDetails() {&lt;br&gt;
      System.out.println("Car color: " + this.color);&lt;br&gt;
   }&lt;/p&gt;

&lt;p&gt;public static void main(String[] args) {&lt;br&gt;
      Car car = new Car("White");&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  car.printDetails();
  car.startEngine();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Encapsulation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In an object-oriented approach, encapsulation is a process of binding the data members (attributes) and methods together. The encapsulation restricts direct access to important data. The best example of the encapsulation concept is making a class where the data members are private and methods are public to access through an object. In this case, only methods can access those private data.&lt;/p&gt;

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

&lt;p&gt;Continuing with the example of students, let's create some students as objects and print their details.&lt;/p&gt;

&lt;p&gt;// create a Student class&lt;br&gt;
public class Student {&lt;br&gt;
   // Declaring private attributes&lt;br&gt;
   private String name;&lt;br&gt;
   private int rollNo;&lt;br&gt;
   private String section;&lt;/p&gt;

&lt;p&gt;// initialize attributes&lt;br&gt;
   Student(String name, int rollNo, String section){&lt;br&gt;
      this.name= name;&lt;br&gt;
      this.rollNo = rollNo;&lt;br&gt;
      this.section = section;&lt;br&gt;
   }&lt;br&gt;
   // print details&lt;br&gt;&lt;br&gt;
   public void printDetails() {&lt;br&gt;
      System.out.print("Student Details: ");&lt;br&gt;
      System.out.println(this.name+ ", " + this.rollNo + ", " + section);&lt;br&gt;
   }&lt;/p&gt;

&lt;p&gt;public static void main(String[] args) {&lt;br&gt;
      // create student objects&lt;br&gt;&lt;br&gt;
      Student student1 = new Student("Robert", 1, "IX Blue");&lt;br&gt;
      Student student2 = new Student("Adam", 2, "IX Red");&lt;br&gt;
      Student student3 = new Student("Julie", 3, "IX Blue");&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  // print student details
  student1.printDetails();
  student2.printDetails();
  student3.printDetails();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;Advantages of Java OOPs&lt;/p&gt;

&lt;p&gt;The following are the advantages of using the OOPs in Java:&lt;/p&gt;

&lt;p&gt;The implementations of OOPs concepts are easier.&lt;br&gt;
The execution of the OOPs is faster than procedural-oriented programming.&lt;br&gt;
OOPs provide code reusability so that a programmer can reuse an existing code.&lt;br&gt;
OOPs help us to keep the important data hidden.&lt;/p&gt;

&lt;p&gt;TBC...&lt;/p&gt;

</description>
      <category>blog</category>
    </item>
    <item>
      <title>Java features an Overview</title>
      <dc:creator>Jeeva Aj</dc:creator>
      <pubDate>Thu, 10 Jul 2025 17:04:44 +0000</pubDate>
      <link>https://dev.to/jeeva_aj_abb983eb6ebb0f43/java-features-an-overview-36nf</link>
      <guid>https://dev.to/jeeva_aj_abb983eb6ebb0f43/java-features-an-overview-36nf</guid>
      <description>&lt;p&gt;Java is a high-level, object-oriented programming language. This language is very easy to learn and widely used. It is known for its platform independence, reliability, and security. It follows one principle, that is, the "Write Once, Run Anywhere" principle. It supports various features like portability, robustness, simplicity, multithreading, and high performance, which makes it a popular choice for beginners as well as for developers.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Simple Syntax&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java syntax is very straightforward and very easy to learn. Java removes complex features like pointers and multiple inheritance, which makes it a good choice for beginners.&lt;/p&gt;

&lt;p&gt;Example: Basic Java Program&lt;/p&gt;

&lt;p&gt;import java.io.*;&lt;/p&gt;

&lt;p&gt;class Geeks {&lt;br&gt;
    public static void main(String[] args)&lt;br&gt;
    {&lt;br&gt;
        System.out.println("GeeksForGeeks!");&lt;br&gt;
    }&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;2.2. Object-Oriented&lt;/p&gt;

&lt;p&gt;Java is a pure object-oriented language. It supports core OOP concepts like,&lt;/p&gt;

&lt;p&gt;Class&lt;br&gt;
Objects&lt;br&gt;
Inheritance&lt;br&gt;
Encapsulation&lt;br&gt;
Abstraction&lt;br&gt;
Polymorphism&lt;/p&gt;

&lt;p&gt;Example: The below Java program demonstrates the basic concepts of OOPs.&lt;/p&gt;

&lt;p&gt;// Java program to demonstrate the basic concepts of oops&lt;br&gt;
// like class, object, constructor, and method&lt;br&gt;
import java.io.*;&lt;/p&gt;

&lt;p&gt;class Student {&lt;br&gt;
    int age;&lt;br&gt;
    String name;&lt;br&gt;
    public Student(int age, String name)&lt;br&gt;
    {&lt;br&gt;
        this.age = age;&lt;br&gt;
        this.name = name;&lt;br&gt;
    }&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// This method display the details of the student
void display()
{
    System.out.println("Name is: " + name);
    System.out.println("Age is: " + age);      
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;class Geeks {&lt;br&gt;
    public static void main(String[] args)&lt;br&gt;
    {&lt;br&gt;
        Student student = new Student(22, "GFG");&lt;br&gt;
        student.display();&lt;br&gt;
    }&lt;br&gt;
}&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Platform Independent&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java is platform-independent because of the Java Virtual Machine (JVM).&lt;/p&gt;

&lt;p&gt;When we write Java code, it is first compiled by the compiler and then converted into bytecode (which is platform-independent).&lt;br&gt;
This byte code can run on any platform that has JVM installed.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Interpreted&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java code is not directly executed by the computer. It is first compiled into bytecode. This byte code is then understood by the JVM. This enables Java to run on any platform without rewriting code.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Scalable&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java can handle both small- and large-scale applications. Java provides features like multithreading and distributed computing that allow developers to manage loads more easily.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Portable&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;When we write a Java program, the code first gets converted into bytecode, and this bytecode does not depend on any operating system or any specific computer. We can simply execute this bytecode on any platform with the help of JVM. Since JVMs are available on most devices,we can run the same Java program on different platforms.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Secured and Robust&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java is a reliable programming language because it can catch mistakes early while writing the code and also keeps checking for errors when the program is running. It also has a feature called exception handling that helps deal with unexpected problems smoothly.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Memory Management&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Memory management in Java is automatically handled by the Java Virtual Machine (JVM).&lt;/p&gt;

&lt;p&gt;The Java garbage collector reclaims memory from objects that are no longer needed.&lt;br&gt;
Memory for objects are allocated in the heap&lt;br&gt;
Method calls and local variables are stored in the stack.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;High Performance&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java is faster than old interpreted languages. A Java program is first converted into bytecode, which is faster than interpreted code. It is slower than fully compiled languages like C or C++ because of the interpretation and JIT compilation process. Java performance is improved with the help of Just-In-Time (JIT) compilation, which makes it faster than many interpreted languages but not as fast as fully compiled languages.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Multithreading&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Multithreading in Java allows multiple threads to run at the same time.&lt;/p&gt;

&lt;p&gt;It improves CPU utilization and enhances performance in applications that require concurrent task execution.&lt;br&gt;
Multithreading is especially important for interactive and high-performance applications, such as games and real-time systems.&lt;br&gt;
Java provides built-in support for managing multiple threads. A thread is known as the smallest unit of execution within a process.&lt;/p&gt;

&lt;p&gt;Example: Basic Multithreading in Java&lt;/p&gt;

&lt;p&gt;// Java program to demonstrate multithreading&lt;br&gt;
class MyThread extends Thread {&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public void run() {

    System.out.println("Thread is running...");
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;public class Geeks {&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public static void main(String[] args) {
    MyThread thread = new MyThread();

    // Starts the thread
    thread.start();  
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;These are some of the features of Java that I have learned in my class today. Thank you for reading my blog. See you all with my next topic!!&lt;/p&gt;

</description>
      <category>blog</category>
    </item>
    <item>
      <title>JAVASCRIPT - DOM</title>
      <dc:creator>Jeeva Aj</dc:creator>
      <pubDate>Thu, 29 May 2025 19:55:36 +0000</pubDate>
      <link>https://dev.to/jeeva_aj_abb983eb6ebb0f43/javascript-dom-h5k</link>
      <guid>https://dev.to/jeeva_aj_abb983eb6ebb0f43/javascript-dom-h5k</guid>
      <description>&lt;p&gt;In JavaScript, DOM (Document Object Model) manipulation is essential for interacting with and changing HTML elements on a webpage. Here’s a simple guide to selecting, updating, creating, and removing elements using JavaScript:&lt;/p&gt;




&lt;p&gt;📌 1. Select Elements&lt;/p&gt;

&lt;p&gt;You can select HTML elements using several methods:&lt;/p&gt;

&lt;p&gt;// Select by ID&lt;br&gt;
let title = document.getElementById("main-title");&lt;/p&gt;

&lt;p&gt;// Select by class&lt;br&gt;
let items = document.getElementsByClassName("item");&lt;/p&gt;

&lt;p&gt;// Select by tag&lt;br&gt;
let paragraphs = document.getElementsByTagName("p");&lt;/p&gt;

&lt;p&gt;// Modern method - querySelector (returns the first match)&lt;br&gt;
let firstItem = document.querySelector(".item");&lt;/p&gt;

&lt;p&gt;// querySelectorAll (returns all matches as a NodeList)&lt;br&gt;
let allItems = document.querySelectorAll(".item");&lt;/p&gt;




&lt;p&gt;📝 2. Update Elements&lt;/p&gt;

&lt;p&gt;You can change text, attributes, styles, and more:&lt;/p&gt;

&lt;p&gt;// Change text content&lt;br&gt;
title.textContent = "Updated Title";&lt;/p&gt;

&lt;p&gt;// Change inner HTML&lt;br&gt;
title.innerHTML = "&lt;span&gt;New HTML Content&lt;/span&gt;";&lt;/p&gt;

&lt;p&gt;// Change an attribute&lt;br&gt;
title.setAttribute("class", "highlighted");&lt;/p&gt;

&lt;p&gt;// Change styles directly&lt;br&gt;
title.style.color = "red";&lt;br&gt;
title.style.fontSize = "24px";&lt;/p&gt;




&lt;p&gt;🛠️ 3. Create Elements&lt;/p&gt;

&lt;p&gt;To create a new element:&lt;/p&gt;

&lt;p&gt;// Create a new element&lt;br&gt;
let newDiv = document.createElement("div");&lt;/p&gt;

&lt;p&gt;// Add content&lt;br&gt;
newDiv.textContent = "I am a new div";&lt;/p&gt;

&lt;p&gt;// Add class&lt;br&gt;
newDiv.classList.add("new-box");&lt;/p&gt;

&lt;p&gt;// Append to body or any other parent&lt;br&gt;
document.body.appendChild(newDiv);&lt;/p&gt;




&lt;p&gt;❌ 4. Remove Elements&lt;/p&gt;

&lt;p&gt;To remove an existing element:&lt;/p&gt;

&lt;p&gt;// Select the element&lt;br&gt;
let unwanted = document.querySelector(".remove-me");&lt;/p&gt;

&lt;p&gt;// Remove it from the DOM&lt;br&gt;
unwanted.remove();&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;For older browsers:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;unwanted.parentNode.removeChild(unwanted);&lt;/p&gt;




&lt;p&gt;✅ Summary Table:&lt;/p&gt;

&lt;p&gt;Action  Method Example&lt;/p&gt;

&lt;p&gt;Select  document.querySelector("#id")&lt;br&gt;
Update  element.textContent = "Hello"&lt;br&gt;
Create  document.createElement("div")&lt;br&gt;
Remove  element.remove()&lt;/p&gt;

&lt;p&gt;Thank you for reading my blog today. See ya tomorrow.&lt;/p&gt;

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