<?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: Ajay Sundar</title>
    <description>The latest articles on DEV Community by Ajay Sundar (@ajay_sundar_c3eb3bcf9f98d).</description>
    <link>https://dev.to/ajay_sundar_c3eb3bcf9f98d</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%2F3418499%2F6e4bbe4d-2d88-4f17-86e2-5cd946904311.png</url>
      <title>DEV Community: Ajay Sundar</title>
      <link>https://dev.to/ajay_sundar_c3eb3bcf9f98d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ajay_sundar_c3eb3bcf9f98d"/>
    <language>en</language>
    <item>
      <title>Class in java</title>
      <dc:creator>Ajay Sundar</dc:creator>
      <pubDate>Wed, 24 Sep 2025 04:12:34 +0000</pubDate>
      <link>https://dev.to/ajay_sundar_c3eb3bcf9f98d/class-in-java-3ggp</link>
      <guid>https://dev.to/ajay_sundar_c3eb3bcf9f98d/class-in-java-3ggp</guid>
      <description>&lt;p&gt;&lt;strong&gt;Class&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;A class and  is a blueprint or template for creating object&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Inside a class there will be variables and methods&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Without a class we will not be able to create an object&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Example for an class&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Car{
         String brand;
         int speed;
         void display();
         System.out.println("Brand:" +"Speed":+Speed);
}
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Car is a class&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It has two data types which are String and int&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It has two variables brand and speed&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;it has one method (display())&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>class</category>
      <category>objects</category>
      <category>programming</category>
      <category>java</category>
    </item>
    <item>
      <title>Understanding Java Constructors and the this Keyword — Step‑by‑Step</title>
      <dc:creator>Ajay Sundar</dc:creator>
      <pubDate>Wed, 10 Sep 2025 16:13:11 +0000</pubDate>
      <link>https://dev.to/ajay_sundar_c3eb3bcf9f98d/understanding-java-constructors-and-the-this-keyword-step-by-step-2d7h</link>
      <guid>https://dev.to/ajay_sundar_c3eb3bcf9f98d/understanding-java-constructors-and-the-this-keyword-step-by-step-2d7h</guid>
      <description>&lt;ul&gt;
&lt;li&gt;&lt;p&gt;This() refers to current object.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It is a constructor call in java&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;this() acts as a current class constructor and is used in parameterized constructor&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;used to call or execute a current class method&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;using this with a attribute x&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Main {
int x;


// Constructor with a parameter
public Main(int x) {
this.x = x;
}


// Call the constructor
public static void main(String[] args) {
Main myObj = new Main(5);
System.out.println("Value of x = " + myObj.x);
}
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step by Step Explanation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1) public class Main { — The class declaration&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;A class is a blueprint for objects. Main is the class name.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;public means the class is visible to code in other packages.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2) int x; — Instance field (aka member variable)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;x is an instance field of type int. Every Main object will have its own x.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Default value for an int field is 0 until you explicitly assign something.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3) public Main(int x) { ... } — Constructor with a parameter&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;This is a constructor: a special method that runs when you create an object with new.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Rules for constructors:&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;         - Same name as the class (Main).
         - No return type (not even void).
         - Can be overloaded (you can have multiple constructors with different parameter lists).

         - The parameter list (int x) declares a local variable x that exists only during the constructor call.
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;4) this.x = x; — Why this is essential here&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;x (the parameter) shadows the field x (they have the same name). Without this, references to x inside the constructor refer to the parameter, not the field.&lt;/p&gt;

&lt;p&gt;this.x explicitly refers to the instance field x that belongs to the current object.&lt;/p&gt;

&lt;p&gt;So this.x = x; reads: assign the value of the parameter x to the object's field x.&lt;/p&gt;

&lt;p&gt;If you wrote x = x;, you'd simply assign the parameter to itself and the field would remain unchanged.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5) public static void main(String[] args) { — Program entry point&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;main is the method the JVM calls to start your program.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;static means it belongs to the class, not to any particular object. That’s why you can call it without creating an instance first.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;String[] args receives command‑line arguments (not used here).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;6) Main myObj = new Main(5); — Object creation and constructor call&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;new Main(5) does two things:&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Allocates memory on the heap for a new Main object and initializes fields to default values (e.g., x = 0).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Calls the constructor Main(int x) with the value 5.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Inside the constructor, this.x = x; sets the object's field x to 5.&lt;/p&gt;

&lt;p&gt;The reference to the newly created object is stored in the variable myObj.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7) System.out.println("Value of x = " + myObj.x); — Printing the value&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;System.out.println(...) prints text to the console followed by a newline.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;"Value of x = " + myObj.x concatenates the string with the integer value of myObj.x.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Final output on the console: Value of x = 5&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>payilagam</category>
      <category>programming</category>
      <category>backenddevelopment</category>
      <category>basic</category>
    </item>
    <item>
      <title>Default constructor in java</title>
      <dc:creator>Ajay Sundar</dc:creator>
      <pubDate>Thu, 04 Sep 2025 12:32:43 +0000</pubDate>
      <link>https://dev.to/ajay_sundar_c3eb3bcf9f98d/default-constructor-in-java-1hf3</link>
      <guid>https://dev.to/ajay_sundar_c3eb3bcf9f98d/default-constructor-in-java-1hf3</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is a default constructor?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A default constructor (often called a no-argument constructor) is a constructor that takes no parameters or if it has parameters,all the parameters have default values.If there is no constructor in a class the compiler automatically creates an default constructor&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;An Example on Default Constructor&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Animals {
    String breed;
    int age;
    double weight;

    Animals(String breed, int age, double weight) {
        this.breed = breed;
        this.age = age;
        this.weight = weight;
    }

    Animals(String breed, int age) {
        this.breed = breed;
        this.age = age;
    }

    Animals() {
    }

    void Getdata() {
        System.out.println("breed:" + breed);
        System.out.println("age:" + age);
        System.out.println("weight:" + weight);
    }

    public static void main(String[] args) {
        Animals obj = new Animals("Goldenretreiver", 13, 43.0);
        obj.Getdata();
    }
}

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

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;OUTPUT

breed:Goldenretreiver
age:13
weight:43.0

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;1. class Animals { ... }&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Declares a class named Animals. A class is a blueprint for objects (instances).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. String breed; int age; double weight;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;These are instance fields (properties) of the class. When an Animals object is created, each instance gets its own breed, age, and weight.&lt;/p&gt;

&lt;p&gt;Default values if not explicitly set: breed → null, age → 0, weight → 0.0.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Animals(String breed, int age, double weight) { ... }&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is a parameterized constructor that receives three arguments and assigns them to the fields.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. this.breed = breed;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;uses the this keyword to refer to the instance field breed. This disambiguates the field from the parameter with the same name.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Animals(String breed, int age) { ... }&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is an overloaded constructor that accepts only breed and age. It sets these fields and leaves weight with its default value 0.0.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Animals() { }&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is an explicit no-argument constructor (explicit default). Because you have other constructors, this explicit no-arg constructor is required if you want to be able to do new Animals() elsewhere. It does nothing, so fields keep their default values.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. void Getdata() { ... }&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A method that prints the current values of the fields. Minor issues to note:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Naming convention: Java methods typically use camelCase and start with a lowercase letter (e.g., getData() or printData() is preferred).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Formatting: System.out.println("weight" + weight); produces weight43.0 (no colon or space). Better would be "weight: " + weight.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;8.public static void main(String[] args) { ... }&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Program entry point. This line creates a new Animals object using the three-argument constructor:&lt;/p&gt;

&lt;p&gt;new Animals("Goldenretreiver", 13, 43.0); — calls the 3-parameter constructor, so breed, age, and weight are all set.&lt;/p&gt;

&lt;p&gt;Then obj.Getdata(); prints those values.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Expected Output&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;breed:Goldenretreiver
age:13
weight:43.0

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

&lt;/div&gt;



</description>
      <category>java</category>
      <category>programming</category>
      <category>basic</category>
      <category>code</category>
    </item>
    <item>
      <title>Constructor in java</title>
      <dc:creator>Ajay Sundar</dc:creator>
      <pubDate>Thu, 04 Sep 2025 07:40:18 +0000</pubDate>
      <link>https://dev.to/ajay_sundar_c3eb3bcf9f98d/constructor-in-java-3a1f</link>
      <guid>https://dev.to/ajay_sundar_c3eb3bcf9f98d/constructor-in-java-3a1f</guid>
      <description>&lt;p&gt;A constructor is a special block of code that is called when an object is created. Its main job is to initialize the object, to set up its internal state, or to assign default values to its attributes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Characteristics of constructors&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Same Name as the Class&lt;/strong&gt;: A constructor has the same name as the class in which it is defined.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;No Return Type&lt;/strong&gt;: Constructors do not have any return type, not even void. The main purpose of a constructor is to initialize the object, not to return a value.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Automatically Called on Object Creation&lt;/strong&gt;: When an object of a class is created, the constructor is called automatically to initialize the object’s attributes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Used to Set Initial Values for Object Attributes&lt;/strong&gt;: Constructors are primarily used to set the initial state or values of an object’s attributes when it is created.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;An example of constructor&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Market {
    String groceries;
    String color;
    double weight;
    int rate;

   Market (String groceries,String color,double w,int rate) {
       //this. is current object
       this.groceries = groceries;
       this.color = color;
       this.weight = w;
       this.rate = rate;
   }
       void groceries(){
           System.out.println("groceries:"+groceries);
       }
       void color(){
           System.out.println("Color:" +color);
       }
       void weight(){
           System.out.println("weight:"+weight);
       }
       void amount(){
           System.out.println("rate:"+rate);
       }

    public static void main(String[] args){
       Market obj= new Market("Sugar","White",54,78);


       obj.groceries();
       obj.color();
       obj.weight();
       obj.amount();

    }
}



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

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;OUTPUT

groceries:Sugar
Color:White
weight:54.0
rate:78

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

&lt;/div&gt;



</description>
      <category>constructors</category>
      <category>java</category>
      <category>backend</category>
      <category>basics</category>
    </item>
    <item>
      <title>Polymorphism in Java</title>
      <dc:creator>Ajay Sundar</dc:creator>
      <pubDate>Tue, 02 Sep 2025 13:45:29 +0000</pubDate>
      <link>https://dev.to/ajay_sundar_c3eb3bcf9f98d/polymorphism-in-java-87</link>
      <guid>https://dev.to/ajay_sundar_c3eb3bcf9f98d/polymorphism-in-java-87</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is Polymorphism ?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Polymorphism in Java is one of the core concepts in object-oriented programming (OOP) that allows objects to behave differently based on their specific class type. The word polymorphism means having many forms, and it comes from the Greek words poly (many) and morph (forms), this means one entity can take many forms.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Features of java&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Multiple Behaviors: The same method can behave differently depending on the object that calls this method.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Method Overriding: A child class can redefine a method of its parent class.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Method Overloading: We can define multiple methods with the same name but different parameters.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Runtime Decision: At runtime, Java determines which method to call depending on the object's actual class.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Reference : &lt;a href="https://www.geeksforgeeks.org/java/polymorphism-in-java/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/java/polymorphism-in-java/&lt;/a&gt;&lt;/strong&gt;&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.amazonaws.com%2Fuploads%2Farticles%2Fkbng4axiyq6yuiyz7oi1.jpeg" 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.amazonaws.com%2Fuploads%2Farticles%2Fkbng4axiyq6yuiyz7oi1.jpeg" alt=" " width="329" height="153"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Overloading in Polymorphism&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
public class Sum {

    public int sum(int x, int y) { 
    return (x + y); }

    public int sum(int x, int y, int z)
    {
        return (x + y + z);
    }

    public double sum(double x, double y)
    {
        return (x + y);
    }


    public static void main(String args[])
    {
        Sum s = new Sum();
        System.out.println(s.sum(10, 20));
        System.out.println(s.sum(10, 20, 30));
        System.out.println(s.sum(10.5, 20.5));
    }
}

OUTPUT

30
60
31.0

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Line by Line Explanation&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;public class Sum { ... }&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Declares a public class named Sum. Because the class is public, the source file must be named Sum.java.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;public int sum(int x, int y)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A method named sum that accepts two int parameters and returns an int. The body returns the sum x + y.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;public int sum(int x, int y, int z)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Another sum method with three int parameters. This is overloading — same method name but different parameter list (arity).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;public double sum(double x, double y)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Another overloaded sum that accepts two doubles and returns a double. Because parameter types differ from the int version, Java considers it a different method.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;public static void main(String args[])&lt;br&gt;
The JVM looks for this method to start the program. static means it runs without creating an instance of Sum.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Sum s = new Sum();&lt;br&gt;
Creates a new Sum object and stores its reference in variable s.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;System.out.println(s.sum(10, 20));&lt;br&gt;
Calls the sum(int, int) method. Integer literals 10 and 20 are of type int by default. The method returns 30, which println prints.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;System.out.println(s.sum(10, 20, 30));&lt;br&gt;
Calls the sum(int, int, int) method. Returns 60.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;System.out.println(s.sum(10.5, 20.5));&lt;br&gt;
Calls the sum(double, double) method. Decimal literals like 10.5 are double by default. Returns 31.0.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Method overriding example with a car race&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Vehicles {
    void Car(){
        System.out.println("Vehicles are faster");
    }
}
class Race extends Vehicles {
     void Car(){
        System.out.println("Porsche is ready for the car race");
    }
}
class Slowrace extends Vehicles {
     void Car(){
        System.out.println("Benz is ready for the slow race");
    }
}
public class Tokyo {
    public static void main(String[] args){
        Vehicles vehicle1 = new Vehicles();
        Race vehicle2 = new Race();
        Slowrace vehicle3 = new Slowrace();

        vehicle1.Car();
        vehicle2.Car();
        vehicle3.Car();



    }
}

OUTPUT

Vehicles are faster
Porsche is ready for the car race
Benz is ready for the slow race

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

&lt;/div&gt;



</description>
      <category>java</category>
      <category>programming</category>
      <category>oop</category>
      <category>fullstack</category>
    </item>
    <item>
      <title>Learning some basic concepts in Java</title>
      <dc:creator>Ajay Sundar</dc:creator>
      <pubDate>Mon, 01 Sep 2025 17:04:16 +0000</pubDate>
      <link>https://dev.to/ajay_sundar_c3eb3bcf9f98d/learning-some-basic-concepts-in-java-4kkg</link>
      <guid>https://dev.to/ajay_sundar_c3eb3bcf9f98d/learning-some-basic-concepts-in-java-4kkg</guid>
      <description>&lt;p&gt;Today i got an oppurtunity to learn the basic concepts in  java and it was interesting to learn and was a bit easily understandable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CALCULATION OF THE AREA OF THE CIRCLE USING JAVA&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Using the java programming language we know calculate the area of circle&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Area{
    void AreaofCircle(){
        double pi = 3.14;
        double radius = 5;
        double r = radius * radius;
        System.out.println(pi * r);
    }

    public static void main(String[] args){
        Area obj = new Area();
        obj.AreaofCircle();
    }
}


OUTPUT
78.5

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step by step Explanation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Class Declaration&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Area {

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

&lt;/div&gt;



&lt;p&gt;The class is named Area, which contains methods related to calculating the area.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.Creating a Method&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void AreaofCircle(){
    double pi = 3.14;
    double radius = 5;
    double r = radius * radius;
    System.out.println(pi * r);
}

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;void AreaofCircle() is a method that performs the task of calculating the area of a circle.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;double pi = 3.14; stores the value of π (pi).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;double radius = 5; is the radius of the circle.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;double r = radius * radius; calculates the square of the radius.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Finally, System.out.println(pi * r); prints the area of the circle using the formula π × r².&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3.Main Method&lt;/strong&gt;&lt;br&gt;
&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){
    Area obj = new Area();
    obj.AreaofCircle();
}

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Every Java program starts execution from the main method.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Area obj = new Area(); creates an object of the Area class.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;obj.AreaofCircle(); calls the method to perform the calculation and display the result.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;OUTPUT&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;when you run this program, the output will be:&lt;br&gt;
&lt;/p&gt;

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

&lt;/div&gt;



&lt;p&gt;This is the area of a circle with a radius of 5 units.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to calculate Simple Interest using Java&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The formula for calculating simple interest is:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;              SI = P*N*R/100
​
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Where:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;P = Principal amount&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;N = Number of years&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;R = Rate of interest&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Simple{
    void Simpleinterest(){
        int P = 500;
        int N = 200;
        int R = 100;
        int SI = (P * N * R / 100);
        System.out.println(SI);
    }

    public static void main(String[] args){
        Simple obj = new Simple();
        obj.Simpleinterest();
    }
}

OUTPUT

100000

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step by Step Explanation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1.Class Declaration&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Simple {

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;The class is named Simple, which contains all the logic for calculating simple interest.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2.Method for Calculation&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void Simpleinterest(){
    int P = 500;
    int N = 200;
    int R = 100;
    int SI = (P * N * R / 100);
    System.out.println(SI);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;void Simpleinterest(): This method calculates the simple interest.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;int P = 500; → Principal amount is set to 500.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;int N = 200; → Time period (years) is set to 200.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;int R = 100; → Rate of interest is set to 100.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;int SI = (P * N * R / 100); → Formula applied for calculation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;System.out.println(SI); → Displays the result on the console.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3.Main Method&lt;/strong&gt;&lt;br&gt;
&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){
    Simple obj = new Simple();
    obj.Simpleinterest();
}

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Entry point of the Java program.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Simple obj = new Simple(); → Creates an object of class Simple.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;obj.Simpleinterest(); → Calls the method to calculate and print the simple interest.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;OUTPUT&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When you run this program, the output will be:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;100000


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

&lt;/div&gt;



</description>
      <category>programming</category>
      <category>coding</category>
      <category>java</category>
    </item>
    <item>
      <title>Like Father Like Son : A Begginer's Guide to Java Inheritance</title>
      <dc:creator>Ajay Sundar</dc:creator>
      <pubDate>Fri, 29 Aug 2025 19:17:36 +0000</pubDate>
      <link>https://dev.to/ajay_sundar_c3eb3bcf9f98d/like-father-like-son-a-begginers-guide-to-java-inheritance-5h3p</link>
      <guid>https://dev.to/ajay_sundar_c3eb3bcf9f98d/like-father-like-son-a-begginers-guide-to-java-inheritance-5h3p</guid>
      <description>&lt;p&gt;Inheritance is one of the core pillars of Object-Oriented Programming (OOP). It allows one class (child/subclass) to acquire the properties and behaviors (fields and methods) of another class (parent/superclass).&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.amazonaws.com%2Fuploads%2Farticles%2Fjqd9uo650wqlssazcwa8.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.amazonaws.com%2Fuploads%2Farticles%2Fjqd9uo650wqlssazcwa8.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;A subclass inherits from one superclass&lt;/p&gt;

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

&lt;p&gt;A class is derived from another class, which is also derived from another class.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hierarchical Inheritance&lt;/strong&gt;&lt;br&gt;
Multiple classes inherit from the same parent class&lt;/p&gt;

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

&lt;p&gt;Java doesn’t allow multiple inheritance with classes (to avoid conflicts).&lt;br&gt;
But it supports multiple inheritance with interfaces.&lt;/p&gt;

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

&lt;p&gt;Hybrid inheritance is a combination of two or more types of inheritance.&lt;br&gt;
Java does not support hybrid inheritance with classes, but it can be achieved using interfaces.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real world example using inheritance&lt;/strong&gt;&lt;br&gt;
In Object-Oriented Programming (OOP), inheritance is one of the most powerful features. It allows a class (child) to acquire the properties and methods of another class (parent). This helps in code reusability and makes the program more structured.&lt;/p&gt;

&lt;p&gt;To understand this better, let’s look at a real-world example — a training institute called Payilagam.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Institute {
    void Morning() {
        System.out.println("Morning session starts at 9:00AM");
    }
    void Afternoon() {
        System.out.println("Afternoon session starts at 2:00PM");
    }
    void Communication() {
        System.out.println("Communication starts at 3:30PM");
    }
    void Aptitude() {
        System.out.println("Aptitude starts at 4:30");
    }
}

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

&lt;/div&gt;



&lt;p&gt;Here, the Institute class is the parent (superclass).&lt;br&gt;
It defines common sessions like Morning, Afternoon, Communication, and Aptitude.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Derived Classes – Students, Teachers, Facilities&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Students Class
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Students extends Institute {
    void MorningSession() {
        System.out.println("Morning Session is always productive");
    }
    void Lunch() {
        System.out.println("Lunch is a time where we get time to interact");
    }
    void EveningSession() {
        System.out.println("Evening session feels tired because of after lunch");
    }
}

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

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Students inherit all sessions from Institute.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;They also describe their own experiences like MorningSession, Lunch, and EveningSession.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Teachers Class
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Teachers extends Institute {
    void MuthuSir() {
        System.out.println("Muthu sir is a great speaker when it comes about life");
    }
    void PrithviSir() {
        System.out.println("Prithvi sir is our Java Trainer");
    }
    void SalmanSir() {
        System.out.println("Salman sir Communication class is very interactive");
    }
}

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

&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Teachers too inherit sessions from Institute.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;They add specific methods that describe different trainers.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;3.Facilities Class&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Facilities extends Institute {
    void Airconditioner() {
        System.out.println("The AirConditioner is great at Payilagam");
    }
    void InternetAccess() {
        System.out.println("The internet access is medium at Payilagam");
    }
    void Waterfacilities() {
        System.out.println("The water facilities is great at payilagam");
    }
}


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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Facilities also extend Institute.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;This class focuses on infrastructure features like air conditioning, internet, and water.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The Driver Class – Payilagam&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Payilagam {
    public static void main(String[] args) {
        Institute obj = new Institute();
        Teachers obj1 = new Teachers();
        Students obj2 = new Students();
        Facilities obj3 = new Facilities();

        obj.Morning();
        obj.Afternoon();
        obj.Communication();
        obj.Aptitude();

        obj2.MorningSession();
        obj2.Lunch();
        obj2.EveningSession();

        obj1.MuthuSir();
        obj1.PrithviSir();
        obj1.SalmanSir();

        obj3.Airconditioner();
        obj3.InternetAccess();
        obj3.Waterfacilities();
    }
}

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

&lt;/div&gt;



&lt;p&gt;Here, we:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Created objects of Institute, Teachers, Students, and Facilities.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Called methods to display their respective messages.&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;OUTPUT

Morning session starts at 9:00AM
Afternoon session starts at 2:00PM
Communication starts at 3:30PM
Aptitude starts at 4:30
Morning Session is always productive
Lunch is a time where we get time to interact
Evening session feels tired because of after lunch
Muthu sir is a great speaker when it comes about life
Prithvi sir is our Java Trainer
Salman sir Communication class is very interactive
The AirConditioner is great at payilagam
The internet access is medium at Payilagam
The water facilities is great at payilagam
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Key Takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Inheritance in Action: All classes extend Institute, reusing its session methods.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Code Reusability: Instead of redefining sessions for each class, they are inherited.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Real-World Mapping: Students, Teachers, and Facilities represent real entities in an institute.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Scalability: We can easily add new classes like Events or Exams in the future without changing the existing code.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>programming</category>
      <category>java</category>
      <category>oop</category>
      <category>backend</category>
    </item>
    <item>
      <title>Finding My Path: Why I Chose Full Stack Development as a Career</title>
      <dc:creator>Ajay Sundar</dc:creator>
      <pubDate>Thu, 28 Aug 2025 07:53:44 +0000</pubDate>
      <link>https://dev.to/ajay_sundar_c3eb3bcf9f98d/finding-my-path-why-i-chose-full-stack-development-as-a-career-24de</link>
      <guid>https://dev.to/ajay_sundar_c3eb3bcf9f98d/finding-my-path-why-i-chose-full-stack-development-as-a-career-24de</guid>
      <description>&lt;p&gt;&lt;strong&gt;The Time Where Life Hit Hard&lt;/strong&gt;&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.amazonaws.com%2Fuploads%2Farticles%2F0d7s51a2lsbu9lnblqk6.jpg" 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.amazonaws.com%2Fuploads%2Farticles%2F0d7s51a2lsbu9lnblqk6.jpg" alt=" " width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Life after graduation is often filled with uncertainty, especially when the big question arises: “What next?”&lt;/p&gt;

&lt;p&gt;After completing my B.Tech  in Information Technology, I found myself standing at a crossroads. On one side was the stability of a bank job, on the other, the ever-evolving world of the tech industry. Both paths looked promising, but I lacked one important thing — the right skills.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Pressure of Time and Uncertainty&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The clock had started ticking. Months went by, and I was actively attending interviews. I had the eagerness to learn and the ambition to succeed, but without strong technical skills, each attempt felt incomplete. The pressure was high — from society, from family, and most of all, from within.&lt;/p&gt;

&lt;p&gt;This phase was difficult. It wasn’t just about finding a job; it was about shaping a career and a life direction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Every Road Led Back to Tech&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Interestingly, whenever I tried to explore opportunities outside the tech industry, life had a way of redirecting me back. It felt like destiny was taking me toward technology.&lt;/p&gt;

&lt;p&gt;No matter what I did, the path circled back to software development. That’s when I realized: “Maybe this is where I am meant to be.”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Full Stack Development?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The tech industry is vast — AI, cloud, cybersecurity, data science — but what caught my attention was Full Stack Development.&lt;/p&gt;

&lt;p&gt;Why? Because being a full stack developer means:&lt;/p&gt;

&lt;p&gt;Building end-to-end applications (both front-end and back-end).&lt;/p&gt;

&lt;p&gt;Understanding how different parts of a project connect.&lt;/p&gt;

&lt;p&gt;Having the flexibility to work on multiple layers of technology.&lt;/p&gt;

&lt;p&gt;It’s a role that offers both creativity (front-end design) and logic (back-end problem solving). For someone like me, who wants to see a complete picture of what they build, it felt like the right fit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Taking the First Step&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;With clarity in mind, I decided to invest in myself. I enrolled in a Full Stack Development course to bridge the gap between ambition and skill. My focus now is to:&lt;/p&gt;

&lt;p&gt;Gain practical, hands-on coding experience.&lt;/p&gt;

&lt;p&gt;Build real-world projects to showcase my skills.&lt;/p&gt;

&lt;p&gt;Secure an entry-level role that allows me to grow and contribute.&lt;/p&gt;

&lt;p&gt;This is no longer about just finding a job — it’s about building a career in technology.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Closing Thoughts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Looking back, I realize that uncertainty, interviews, and even family pressure were all part of the process that led me here.&lt;/p&gt;

&lt;p&gt;Sometimes, destiny speaks not through success, but through redirection. And every redirection in my journey pointed me toward Full Stack Development.&lt;/p&gt;

&lt;p&gt;Now, with clarity and determination, I’m ready to take the next step — to learn, grow, and become a full stack developer in the tech industry.&lt;/p&gt;

&lt;p&gt;To anyone reading this who feels lost after graduation: it’s okay to not have all the answers immediately. Explore, fail, learn, and listen to the path life is guiding you toward. The important part is not giving up.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>career</category>
      <category>productivity</category>
    </item>
    <item>
      <title>The Coffee Shop Story - Understanding Java Operators</title>
      <dc:creator>Ajay Sundar</dc:creator>
      <pubDate>Thu, 28 Aug 2025 06:54:17 +0000</pubDate>
      <link>https://dev.to/ajay_sundar_c3eb3bcf9f98d/the-coffee-shop-story-understanding-java-operators-25jd</link>
      <guid>https://dev.to/ajay_sundar_c3eb3bcf9f98d/the-coffee-shop-story-understanding-java-operators-25jd</guid>
      <description>&lt;p&gt;When you enter into the basics of java operators play a role in the learning process of java .&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.amazonaws.com%2Fuploads%2Farticles%2Fbqw9go4ect6paarb044h.jpg" 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.amazonaws.com%2Fuploads%2Farticles%2Fbqw9go4ect6paarb044h.jpg" alt=" " width="523" height="274"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Coffee Shop Story&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Imagine you are going out on a coffee date with your life partner. Java operators are just like the rules the shop uses to serve you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Arithmetic Operators&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;You order a coffee and your life partner orders 2. The cashier adds them:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1+2 = 3 coffees
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That’s arithmetic—used for adding, subtracting, multiplying, or dividing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Relational Operators&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The waiters checks do you both have the same number of coffees?&lt;/p&gt;

&lt;p&gt;If yes → true. If not → false.&lt;br&gt;
These operators compare values.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Logical Operators&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The manager says: “If BOTH of you pay (AND), you’ll get the order. If EITHER of you pays (OR), it still works.”&lt;/p&gt;

&lt;p&gt;Logical operators help make decisions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Assignment operators&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The cashier writes your bill:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Bill = 200
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Later, you add a sandwich:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Bill += 50 → 250
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Assignment operators set or update values.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ternary Operator&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Finally, the waiter asks: “Are you a member? If yes → discount, else → full price.”&lt;br&gt;
This is the ternary operator, a shortcut for quick decisions.&lt;/p&gt;

&lt;p&gt;Just like the coffee shop runs smoothly with these rules, your Java program runs smoothly with operators—the symbols that calculate, compare, assign, and decide.&lt;/p&gt;

&lt;p&gt;Now that you have got an basic understanding in java operators we will go through a real world example for a bit more clarification.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A person buys 4 Packets of bread at ₹25 each and 2 milk packets at ₹30 each. Find the total bill.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class GroceryBill {
    public static void main(String[] args) {
        int bread = 4 * 25;   
        int milk = 2 * 30;    
        int total = bread + milk;
        System.out.println("Total GroceryBill = ₹" + total);
    }
}


OUTPUT
Total Grocery Bill = ₹160


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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step-by-Step Explanation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Multiplication (*)&lt;/p&gt;

&lt;p&gt;int bread = 4 * 25;&lt;/p&gt;

&lt;p&gt;Here, the person buys 4 loaves of bread.&lt;/p&gt;

&lt;p&gt;Each bread costs ₹25.&lt;/p&gt;

&lt;p&gt;Total bread cost = 4 * 25 = 100.&lt;/p&gt;

&lt;p&gt;int milk = 2 * 30;&lt;/p&gt;

&lt;p&gt;The person buys 2 packets of milk.&lt;/p&gt;

&lt;p&gt;Each milk costs ₹30.&lt;/p&gt;

&lt;p&gt;Total milk cost = 2 * 30 = 60.&lt;/p&gt;

&lt;p&gt;Addition (+)&lt;/p&gt;

&lt;p&gt;int total = bread + milk;&lt;/p&gt;

&lt;p&gt;We add the bread cost (₹100) and milk cost (₹60).&lt;/p&gt;

&lt;p&gt;Total = 100 + 60 = 160.&lt;/p&gt;

&lt;p&gt;Output (System.out.println)&lt;/p&gt;

&lt;p&gt;System.out.println("Total Grocery Bill = ₹" + total);&lt;/p&gt;

&lt;p&gt;Total Grocery Bill = ₹160&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What did we learn ?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;(multiplication) helps calculate total cost when buying multiple items.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;(addition) helps sum up the total bill.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Real-world shopping calculations can easily be represented in Java using arithmetic operators.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>The Secret Agents of Java : Methods</title>
      <dc:creator>Ajay Sundar</dc:creator>
      <pubDate>Wed, 27 Aug 2025 17:32:09 +0000</pubDate>
      <link>https://dev.to/ajay_sundar_c3eb3bcf9f98d/the-secret-agents-of-java-methods-2ld4</link>
      <guid>https://dev.to/ajay_sundar_c3eb3bcf9f98d/the-secret-agents-of-java-methods-2ld4</guid>
      <description>&lt;p&gt;&lt;strong&gt;The Magic Toolbox: How Java Methods Solve Problems&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Imagine you are an engineer in a huge workshop. You have a big task: fixing different types of machines. Every time a machine breaks down, you could grab all the tools lying around, figure out how to fix it from scratch, and waste a lot of time.&lt;/p&gt;

&lt;p&gt;But luckily, you own a magic toolbox.&lt;/p&gt;

&lt;p&gt;Inside this toolbox, each drawer is already prepared with the right tools for a specific task. One drawer fixes engines, another repairs belts, and another one polishes gears acting as a secret agent in Java. Instead of starting over each time, you simply open the correct drawer, use it, and the problem is solved quickly.&lt;/p&gt;

&lt;p&gt;In the world of Java, this magic toolbox is nothing but Methods.&lt;/p&gt;

&lt;p&gt;A method is like a drawer in your toolbox.&lt;/p&gt;

&lt;p&gt;Each method is designed to perform one specific job.&lt;/p&gt;

&lt;p&gt;Whenever you face a problem, instead of writing the entire solution again, you just “call” the method.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is a Method in Java ?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A method is a block of code that performs a specific task.&lt;br&gt;
Instead of repeating code multiple times, you can write it once inside a method and then reuse it whenever needed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Understanding Methods by Arithmetic operations&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;now we will learn how to declare and call a method in java by using arithmetic operators&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class Main  {
    public  static void main (String[] args){
        Addition();
    }
    public static void Addition(){
        int a= 200;
        int b= 100;
        int c= 50;
        int d=a+b+c;
        System.out.println("Addition of the numbers :"+a + "+" +b + "+" +c + "=" +d);

        subtraction();
    }

    public static void subtraction(){
        int a=500;
        int b=100;
        int c=50;
        int d=a-b-c;
        System.out.println("Subtraction of the numbers :"+a +"-" +b +"-" +c + "=" +d);

        multiplication();
    }
    public static void multiplication(){
        int a=100;
        int b=100;
        int c=100;
        int d=a*b*c;
        System.out.println("Multiplication of the  numbers :"+a +"*" +b +"*" +c +"=" +d);

    division();
}
    public static void division(){
    int a=30;
    int b=5;
    int c=2;
    int d=a/b/c;
    System.out.println("Division of  numbers :"+a +"/" +b +"/" +c +"=" +d);

    modulus();
}
   public static void modulus(){
    int a=30;
    int b=5;
    int c=2;
    int d=a%b%c;
    System.out.println("Modulus of numbers :"+a +"%" +b +"%" +c +"=" +d);
    }
}

OUTPUT

Addition of the numbers :200+100+50=350
Subtraction of the numbers :500-100-50=350
Multiplication of the  numbers :100*100*100=1000000
Division of  numbers :30/5/2=3
Modulus of numbers :30%5%2=0

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Understanding Method Declaration and Method Calling in Java&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In Java, methods allow us to organize code into reusable blocks that perform specific tasks. This improves code readability, reduces redundancy, and makes debugging easier. In this example, we demonstrate how to declare methods and call them from one another using basic arithmetic operations: addition, subtraction, multiplication, division, and modulus.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Thoughts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Methods help you structure your Java programs logically. By declaring and calling methods, you can avoid redundancy, improve readability, and build scalable applications.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>"Big Fish, Small Pond: Understanding Type Casting in Java"</title>
      <dc:creator>Ajay Sundar</dc:creator>
      <pubDate>Tue, 26 Aug 2025 12:24:33 +0000</pubDate>
      <link>https://dev.to/ajay_sundar_c3eb3bcf9f98d/type-casting-in-java-48ek</link>
      <guid>https://dev.to/ajay_sundar_c3eb3bcf9f98d/type-casting-in-java-48ek</guid>
      <description>&lt;p&gt;When you are journey starts in java you will obviously come across the concept of type casting in java.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Big Fish in a Small Pond: A Tale of Type Casting in Java&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Imagine there’s a big fish swimming in the ocean. The ocean is huge, just like the double data type in Java—it can hold really large and very precise values.&lt;/p&gt;

&lt;p&gt;One day, this big fish wants to visit his relatives in a small pond. But here’s the problem: the pond isn’t as big as the ocean. It’s like a int or a byte in Java—it has limited space.&lt;/p&gt;

&lt;p&gt;Now, if the big fish (say, a double) wants to squeeze into the small pond (say, an int), he has to shrink himself. This shrinking process is what we call type casting.&lt;/p&gt;

&lt;p&gt;Type casting is the process of converting a variable of one datatype to another datatype in simple words, it is a conversion of one data type to another data type.&lt;/p&gt;

&lt;p&gt;For Example :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Converting an int into a double&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Converting a double into int&lt;/p&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.amazonaws.com%2Fuploads%2Farticles%2F55fmsuznj36l93ulsqog.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.amazonaws.com%2Fuploads%2Farticles%2F55fmsuznj36l93ulsqog.png" alt=" " width="603" height="299"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Type casting is of two types:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Widening &lt;/li&gt;
&lt;li&gt;Narrowing&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Widening&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Widening happens when a smaller data type is converted into a larger Data type.&lt;br&gt;
It is safe no data type is lost.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class WideningExample {
public static void main(String[] args) {
int num = 20;
double result = num;
System.out.println("Integer: " + num);
System.out.println("Double: " + result);
}
}


OUTPUT

Integer: 20
Double: 20.0

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Widening order in Java&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;byte → short → int → long → float → double&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Narrowing&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Narrowing Happens when we convert an larger data type into a smaller data type&lt;/p&gt;

&lt;p&gt;It needs to be done in a manual manner in parantheses because there is a chance in data loss&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class NarrowingExample {
    public static void main(String[] args) {
        double num = 45.89;
        int result = (int) num; // double → int
        System.out.println("Double: " + num);
        System.out.println("Integer: " + result);
    }
}




OUTPUT

Double: 45.89
Integer: 45

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

&lt;/div&gt;



&lt;p&gt;Here the decimal part (.89) is lost.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Type casting With Characters&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Characters in java are stored as Unicode values (which are integers). This means you can cast between char and int simple and useful.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class CharCasting {
    public static void main(String[] args) {
        char letter = 'A';
        int ascii = letter; // char → int
        System.out.println("Character: " + letter);
        System.out.println("ASCII Value: " + ascii);
    }
}




OUTPUT

Character : A
ASCII Value : 65

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

&lt;/div&gt;



&lt;p&gt;Here do not get confused how the output of the ASCII Value becomes 65 . &lt;br&gt;
The output is 65 because &lt;strong&gt;The Character 'A' has a numeric code of 65&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.ascii-code.com/" rel="noopener noreferrer"&gt;https://www.ascii-code.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The above link is the ASCII table. It gives an better understanding on the ASCII values.&lt;/p&gt;

&lt;p&gt;Now that you have got an better idea on type casting let us solve an real world example on type casting for better understanding.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real World Examples of Type Casting&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Imagine you are building an E-Commerce application.Prices are stored as double for accuracy,but when displaying rounded values you may want to show them as int.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public class ShoppingCart {
    public static void main(String[] args) {
        double price = 199.99;
        int roundedPrice = (int) price; // double → int
        System.out.println("Original Price: " + price);
        System.out.println("Rounded Price: " + roundedPrice);
    }
}



OUTPUT


Original Price: 199.99  
Rounded Price: 199  


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

&lt;/div&gt;



&lt;p&gt;Here it is converted from double to int using the process of type casting&lt;/p&gt;

&lt;p&gt;Here in the above real world example of type casting it is a narrow type casting because we are converting from double to int.&lt;/p&gt;

&lt;p&gt;double - 8 byte&lt;br&gt;
int    - 4 byte&lt;/p&gt;

&lt;p&gt;We have seen what is type casting and its types now we will see why it is important.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Importance of Type Casting&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Ensures similarity between different data types&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Commonly used in real world applications like unit conversions, money calculation, or working with APIs&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;API- Application programming interface&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Thoughts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Type casting in Java is a simple but important concept that ensures smooth interaction between different data types. Whether you’re dealing with mathematical calculations, character values, or application data, mastering type casting will make you a better Java programmer.&lt;/p&gt;

&lt;p&gt;Start practicing with different data types (int, double, char, float) and see how casting behaves. With practice, you’ll gain confidence in using type casting effectively in your programs.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>java</category>
      <category>backend</category>
    </item>
    <item>
      <title>Learning the Basic programming concepts of java</title>
      <dc:creator>Ajay Sundar</dc:creator>
      <pubDate>Wed, 13 Aug 2025 11:39:46 +0000</pubDate>
      <link>https://dev.to/ajay_sundar_c3eb3bcf9f98d/mastering-the-basic-programming-concepts-of-java-3kd6</link>
      <guid>https://dev.to/ajay_sundar_c3eb3bcf9f98d/mastering-the-basic-programming-concepts-of-java-3kd6</guid>
      <description>&lt;p&gt;&lt;strong&gt;Learning the basics&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Everyday is a learning process. The more i learn a skill the more I get improved and acheive my short term goal which is to get a job as a fresher in the information technology industry.&lt;/p&gt;

&lt;p&gt;So I started my learning process by learning some very basics stuffs which is the concept of "Hello World".&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public Class main{
public static void main(String[]args){
System.out.println("Hello World!");
}
}

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

&lt;/div&gt;



&lt;p&gt;From the above code we get the result as:&lt;/p&gt;

&lt;p&gt;output&lt;/p&gt;

&lt;p&gt;Hello world !&lt;/p&gt;

&lt;p&gt;The other basic feature that i learnt is that&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Java is Case Sensitive&lt;/li&gt;
&lt;li&gt;"MyClass" and "myclass" has different meaning&lt;/li&gt;
&lt;li&gt;Every program must have an main() method.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;System.out.println&lt;/strong&gt;&lt;br&gt;
Inside every main() method we can use the println() method to print a line.&lt;br&gt;
we can print how much ever println() method we want&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Public class Main(){
public static void main(String[]args){
System.out.println("Hello World!");
System.out.println("I am learning Java");
System.out.println("It is new and fun");
}
}

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

&lt;/div&gt;



&lt;p&gt;Here for the above code the result will be&lt;/p&gt;

&lt;p&gt;output &lt;/p&gt;

&lt;p&gt;Hello World!&lt;br&gt;
I am learning Java&lt;br&gt;
It is new and fun&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;System.out.print&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This function is similar to println()  function&lt;br&gt;
The only difference is that it does not print a new line.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;System.out.print("Hello!");
System.out.print("My name is Ajay");

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

&lt;/div&gt;



&lt;p&gt;Here for the above code the result will be&lt;/p&gt;

&lt;p&gt;output&lt;/p&gt;

&lt;p&gt;Hello! My name is Ajay&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Java output numbers&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We use the println() methods to print the numbers&lt;br&gt;
We do not need double Quotations to print the numbers.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;System.out.println(30)
System.out.println(300)
System.out.println(3000)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For the above code the result will be&lt;/p&gt;

&lt;p&gt;output&lt;/p&gt;

&lt;p&gt;30&lt;br&gt;
300&lt;br&gt;
3000&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Today was an important day because it takes a big steps towards my learning progress in java&lt;/p&gt;

&lt;p&gt;Here are the things that I learnt today :&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;How to print a simple Hello World Program&lt;/li&gt;
&lt;li&gt;mastering the basic of println() method&lt;/li&gt;
&lt;li&gt;mastering the print() method&lt;/li&gt;
&lt;li&gt;Learnt how to print output numbers using the println() methods&lt;/li&gt;
&lt;/ol&gt;

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