<?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: Gayathri.R</title>
    <description>The latest articles on DEV Community by Gayathri.R (@2021_cse_gayathrir_e733).</description>
    <link>https://dev.to/2021_cse_gayathrir_e733</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%2F3258339%2F295470a5-18f1-4a52-837c-fcb82c70c037.jpg</url>
      <title>DEV Community: Gayathri.R</title>
      <link>https://dev.to/2021_cse_gayathrir_e733</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/2021_cse_gayathrir_e733"/>
    <language>en</language>
    <item>
      <title>In java Collection Framework and under the sub interface and Implement classes.</title>
      <dc:creator>Gayathri.R</dc:creator>
      <pubDate>Mon, 16 Feb 2026 09:27:48 +0000</pubDate>
      <link>https://dev.to/2021_cse_gayathrir_e733/in-java-collection-framework-and-under-the-sub-interface-and-implement-classes-no6</link>
      <guid>https://dev.to/2021_cse_gayathrir_e733/in-java-collection-framework-and-under-the-sub-interface-and-implement-classes-no6</guid>
      <description>&lt;p&gt;&lt;strong&gt;Interface Collection&lt;/strong&gt;&lt;br&gt;
Its under the java.util pakage&lt;br&gt;
  its helps storing and processing effciently,This interface is a member of the Java Collections Framework.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;The framework had to be high-performance. The implementations for the fundamental collections (dynamic arrays, linked lists, trees, and hashtables) were to be highly efficient.

The framework had to allow different types of collections to work in a similar manner and with a high degree of interoperability.

The framework had to extend and/or adapt a collection easily.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;ArrayList&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;import java.util.*;&lt;br&gt;
public class CollectionsDemo {&lt;/p&gt;

&lt;p&gt;public static void main(String[] args) {&lt;br&gt;
      // ArrayList &lt;br&gt;
      List a1 = new ArrayList();&lt;br&gt;
      a1.add("Zara");&lt;br&gt;
      a1.add("Mahnaz");&lt;br&gt;
      a1.add("Ayan");&lt;br&gt;
      System.out.println(" ArrayList Elements");&lt;br&gt;
      System.out.print("\t" + a1);&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  // LinkedList
  List l1 = new LinkedList();
  l1.add("Zara");
  l1.add("Mahnaz");
  l1.add("Ayan");
  System.out.println();
  System.out.println(" LinkedList Elements");
  System.out.print("\t" + l1);

  // HashSet
  Set s1 = new HashSet(); 
  s1.add("Zara");
  s1.add("Mahnaz");
  s1.add("Ayan");
  System.out.println();
  System.out.println(" Set Elements");
  System.out.print("\t" + s1);

  // HashMap
  Map m1 = new HashMap(); 
  m1.put("Zara", "8");
  m1.put("Mahnaz", "31");
  m1.put("Ayan", "12");
  m1.put("Daisy", "14");
  System.out.println();
  System.out.println(" Map Elements");
  System.out.print("\t" + m1);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;}&lt;br&gt;
}&lt;br&gt;
&lt;strong&gt;Set Interface&lt;/strong&gt;&lt;br&gt;
   A Set is a Collection that cannot contain duplicate elements. It models the mathematical set abstraction.&lt;/p&gt;

&lt;p&gt;The Set interface contains only methods inherited from Collection and adds the restriction that duplicate elements are prohibited.&lt;/p&gt;

&lt;p&gt;Set also adds a stronger contract on the behavior of the equals and hashCode operations, allowing Set instances to be compared meaningfully even if their implementation types differ.&lt;/p&gt;

&lt;p&gt;Set has its implementation in various classes like HashSet, TreeSet, LinkedHashSet. Below are some of the implementations of the Set interface in Java.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import java.util.HashSet;
import java.util.Set;

public class SetDemo {

  public static void main(String args[]) { 
      int count[] = {34, 22,10,60,30,22};
      Set&amp;lt;Integer&amp;gt; set = new HashSet&amp;lt;&amp;gt;();
      try {
         for(int i = 0; i &amp;lt; 5; i++) {
            set.add(count[i]);
         }
         System.out.println(set);
      }
      catch(Exception e) {}
   }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;TreeSet&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;import java.util.HashSet;
import java.util.Set;
import java.util.TreeSet;

public class SetDemo {

  public static void main(String args[]) { 
      int count[] = {34, 22,10,60,30,22};
      Set&amp;lt;Integer&amp;gt; set = new HashSet&amp;lt;&amp;gt;();
      try {
         for(int i = 0; i &amp;lt; 5; i++) {
            set.add(count[i]);
         }
         System.out.println(set);

         TreeSet&amp;lt;Integer&amp;gt; sortedSet = new TreeSet&amp;lt;&amp;gt;(set);
         System.out.println("The sorted list is:");
         System.out.println(sortedSet);

         System.out.println("The First element of the set is: "+ (Integer)sortedSet.first());
         System.out.println("The last element of the set is: "+ (Integer)sortedSet.last());
      }
      catch(Exception e) {}
   }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;** Map Interface**&lt;/p&gt;

&lt;p&gt;The Map interface maps unique keys to values. A key is an object that you use to retrieve a value at a later date.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Given a key and a value, you can store the value in a Map object. After the value is stored, you can retrieve it by using its key.

Several methods throw a NoSuchElementException when no items exist in the invoking map.

A ClassCastException is thrown when an object is incompatible with the elements in a map.

A NullPointerException is thrown if an attempt is made to use a null object and null is not allowed in the map.

An UnsupportedOperationException is thrown when an attempt is made to change an unmodifiable map.
&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;
import java.util.HashMap;
import java.util.Map;
public class CollectionsDemo {

   public static void main(String[] args) {
      Map&amp;lt;String, String&amp;gt; m1 = new HashMap&amp;lt;&amp;gt;(); 
      m1.put("Zara", "8");
      m1.put("Mahnaz", "31");
      m1.put("Ayan", "12");
      m1.put("Daisy", "14");

      System.out.println();
      System.out.println(" Map Elements");
      System.out.print("\t" + m1);
   }
}


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

&lt;/div&gt;

</description>
    </item>
    <item>
      <title>what is Stream</title>
      <dc:creator>Gayathri.R</dc:creator>
      <pubDate>Tue, 20 Jan 2026 10:40:27 +0000</pubDate>
      <link>https://dev.to/2021_cse_gayathrir_e733/what-is-stream-510n</link>
      <guid>https://dev.to/2021_cse_gayathrir_e733/what-is-stream-510n</guid>
      <description>&lt;p&gt;A stream can be defined as a sequence of data. There are two kinds of Streams −&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;InPutStream − The InputStream is used to read data from a source.

OutPutStream − The OutputStream is used for writing data to a destination.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Streams&lt;/p&gt;

&lt;p&gt;Java provides strong but flexible support for I/O related to files and networks but this tutorial covers very basic functionality related to streams and I/O. We will see the most commonly used examples one by one −&lt;/p&gt;

</description>
    </item>
    <item>
      <title>what is file handling in java</title>
      <dc:creator>Gayathri.R</dc:creator>
      <pubDate>Tue, 20 Jan 2026 10:39:50 +0000</pubDate>
      <link>https://dev.to/2021_cse_gayathrir_e733/what-is-file-handling-in-java-561a</link>
      <guid>https://dev.to/2021_cse_gayathrir_e733/what-is-file-handling-in-java-561a</guid>
      <description>&lt;p&gt;File handling in Java through the java.io package and the java.nio.file package. The main operations covered are creating, reading, writing, and deleting files and directories. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Concepts in Java File Handling&lt;/strong&gt;&lt;br&gt;
Java uses the concept of streams to perform input/output (I/O) operations. &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Byte Streams: Used for handling raw binary data (like images, audio). Key classes include FileInputStream and FileOutputStream.
Character Streams: Used for handling text data (16-bit Unicode characters). Key classes include FileReader and FileWriter, often wrapped in BufferedReader and BufferedWriter for efficiency. 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The primary class for managing file and directory paths and metadata is the File class. &lt;br&gt;
Core File Operations&lt;br&gt;
Tutorials Point details the following common file operations:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Creating a File: Use the createNewFile() method of the File class to atomically create a new empty file.
Writing to a File: Use classes like FileWriter or FileOutputStream to write data. The BufferedWriter class is often used for buffered, efficient writing of character streams.
Reading from a File: Use classes like FileReader, FileInputStream, or the Scanner class to read data. BufferedReader provides an efficient readLine() method for reading text files line by line.
Deleting a File: Use the delete() method of the File class.
Handling Directories: The File object can also be used to create directories with mkdir() and mkdirs(), and list the files within a directory using list(). 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Exception Handling&lt;br&gt;
File operations often involve potential errors (e.g., file not found, permission issues), so proper exception handling is essential. The main exceptions to handle are IOException and FileNotFoundException. Using the try-with-resources statement (introduced in Java 7) is the recommended best practice, as it automatically closes resources like streams, preventing leaks. &lt;br&gt;
For detailed examples and tutorials, you can refer directly&lt;/p&gt;

</description>
    </item>
    <item>
      <title>what is collection in java</title>
      <dc:creator>Gayathri.R</dc:creator>
      <pubDate>Tue, 20 Jan 2026 10:37:14 +0000</pubDate>
      <link>https://dev.to/2021_cse_gayathrir_e733/what-is-collection-in-java-1nd2</link>
      <guid>https://dev.to/2021_cse_gayathrir_e733/what-is-collection-in-java-1nd2</guid>
      <description>&lt;p&gt;&lt;strong&gt;What Is a Collections Framework&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A collections framework is a unified architecture for representing and manipulating collections. All collections frameworks contain the following&lt;/p&gt;

&lt;p&gt;Interfaces: These are abstract data types that represent collections. Interfaces allow collections to be manipulated independently of the details of their representation. In object-oriented languages, interfaces generally form a hierarchy.&lt;br&gt;
    Implementations: These are the concrete implementations of the collection interfaces. In essence, they are reusable data structures.&lt;br&gt;
    Algorithms: These are the methods that perform useful computations, such as searching and sorting, on objects that implement collection interfaces. The algorithms are said to be polymorphic: that is, the same method can be used on many different implementations of the appropriate collection interface. In essence, algorithms are reusable functionality.&lt;/p&gt;

&lt;p&gt;Apart from the Java Collections Framework, the best-known examples of collections frameworks are the C++ Standard Template Library (STL) and Smalltalk's collection hierarchy. Historically, collections frameworks have been quite complex, which gave them a reputation for having a steep learning curve. We believe that the Java Collections Framework breaks with this tradition, as you will learn for yourself in this chapter.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>collection in java</title>
      <dc:creator>Gayathri.R</dc:creator>
      <pubDate>Wed, 07 Jan 2026 07:32:13 +0000</pubDate>
      <link>https://dev.to/2021_cse_gayathrir_e733/collection-in-java-5b4i</link>
      <guid>https://dev.to/2021_cse_gayathrir_e733/collection-in-java-5b4i</guid>
      <description>&lt;p&gt;&lt;strong&gt;What Is a Collections Framework?&lt;/strong&gt;&lt;br&gt;
A collections framework is a unified architecture for representing and manipulating collections. All collections frameworks contain the following:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Interfaces: These are abstract data types that represent collections. Interfaces allow collections to be manipulated independently of the details of their representation. In object-oriented languages, interfaces generally form a hierarchy.
Implementations: These are the concrete implementations of the collection interfaces. In essence, they are reusable data structures.
Algorithms: These are the methods that perform useful computations, such as searching and sorting, on objects that implement collection interfaces. The algorithms are said to be polymorphic: that is, the same method can be used on many different implementations of the appropriate collection interface. In essence,
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;algorithms are reusable functionality.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Reduces programming effort: By providing useful data structures and algorithms, the Collections Framework frees you to concentrate on the important parts of your program rather than on the low-level "plumbing" required to make it work. By facilitating interoperability among unrelated APIs, the Java Collections Framework frees you from writing adapter objects or conversion code to connect APIs.
Increases program speed and quality: This Collections Framework provides high-performance, high-quality implementations of useful data structures and algorithms. The various implementations of each interface are interchangeable, so programs can be easily tuned by switching collection implementations. Because you're freed from the drudgery of writing your own data structures, you'll have more time to devote to improving programs' quality and performance.
Allows interoperability among unrelated APIs: The collection interfaces are the vernacular by which APIs pass collections back and forth. If my network administration API furnishes a collection of node names and if your GUI toolkit expects a collection of column headings, our APIs will interoperate seamlessly, even though they were written independently.
Reduces effort to learn and to use new APIs: Many APIs naturally take collections on input and furnish them as output. In the past, each such API had a small sub-API devoted to manipulating its collections. There was little consistency among these ad hoc collections sub-APIs, so you had to learn each one from scratch, and it was easy to make mistakes when using them. With the advent of standard collection interfaces, the problem went away.
Reduces effort to design new APIs: This is the flip side of the previous advantage. Designers and implementers don't have to reinvent the wheel each time they create an API that relies on collections; instead, they can use standard collection interfaces.
Fosters software reuse: New data structures that conform to the standard collection interfaces are by nature reusable. The same goes for new algorithms that operate on objects that implement these interfaces.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;« Previous • Trail • Next » &lt;/p&gt;

</description>
    </item>
    <item>
      <title>what are class in java</title>
      <dc:creator>Gayathri.R</dc:creator>
      <pubDate>Wed, 07 Jan 2026 07:10:27 +0000</pubDate>
      <link>https://dev.to/2021_cse_gayathrir_e733/what-are-class-in-java-3o46</link>
      <guid>https://dev.to/2021_cse_gayathrir_e733/what-are-class-in-java-3o46</guid>
      <description>&lt;p&gt;&lt;strong&gt;SYntax&lt;/strong&gt;&lt;br&gt;
class ClassName {&lt;br&gt;
    // variables&lt;br&gt;
    // methods&lt;br&gt;
}&lt;br&gt;
&lt;strong&gt;example of class&lt;/strong&gt;&lt;br&gt;
class Student {&lt;br&gt;
    int id;&lt;br&gt;
    String name;&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;void display() {
    System.out.println(id + " " + name);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;}&lt;br&gt;
&lt;strong&gt;Types of Classes in Java&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Concrete Class&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A normal class with full method implementations.&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 {
    void run() {
        System.out.println("Car is running");
    }
}

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

&lt;/div&gt;



&lt;p&gt;**&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Abstract Class&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;**Declared using abstract&lt;/p&gt;

&lt;p&gt;Can have abstract methods and normal methods&lt;/p&gt;

&lt;p&gt;Cannot create objects directly&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;abstract class Animal {
    abstract void sound();
}
abstract class Animal {
    abstract void sound();
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Interface&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Uses interface keyword&lt;/p&gt;

&lt;p&gt;Only abstract methods (before Java 8)&lt;/p&gt;

&lt;p&gt;Supports multiple inheritance&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;interface Vehicle {
    void move();
}


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

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Final Class&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Cannot be inherited&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;final class Bank {
    void rate() {
        System.out.println("Fixed rate");
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Nested Class&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A class inside another 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 Outer {
    class Inner {
        void show() {
            System.out.println("Inner class");
        }
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Anonymous Class&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Class without a name, used for one-time use.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Runnable r = new Runnable() {
    public void run() {
        System.out.println("Running");
    }
};

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

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;POJO Class&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Plain Old Java Object&lt;/p&gt;

&lt;p&gt;No inheritance&lt;/p&gt;

&lt;p&gt;Private variables&lt;/p&gt;

&lt;p&gt;Public getters/setters&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Employee {
    private int id;

    public int getId() {
        return id;
    }
}

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

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>what are the key words in java</title>
      <dc:creator>Gayathri.R</dc:creator>
      <pubDate>Fri, 12 Dec 2025 13:23:49 +0000</pubDate>
      <link>https://dev.to/2021_cse_gayathrir_e733/what-are-the-key-words-in-java-2k55</link>
      <guid>https://dev.to/2021_cse_gayathrir_e733/what-are-the-key-words-in-java-2k55</guid>
      <description>&lt;p&gt;key words can`t be using as identifiers in your program.the key word const and goto are reserved,even thougth they are not currently used.true,false,null these key words are seem like a keywods but they are actualy literals.&lt;/p&gt;

&lt;p&gt;example keywords&lt;br&gt;
abstract&lt;br&gt;
arssert&lt;br&gt;
boolean&lt;br&gt;
byte&lt;br&gt;
break&lt;br&gt;
class&lt;br&gt;
catch&lt;br&gt;
case &lt;br&gt;
char&lt;br&gt;
const &lt;br&gt;
continue&lt;br&gt;
default&lt;br&gt;
float&lt;br&gt;
int&lt;br&gt;
import&lt;br&gt;
implements&lt;br&gt;
interface&lt;br&gt;
long&lt;br&gt;
native &lt;br&gt;
new&lt;br&gt;
private&lt;br&gt;
protected&lt;br&gt;
public&lt;br&gt;
static &lt;br&gt;
this &lt;br&gt;
try&lt;br&gt;
throw&lt;br&gt;
throws&lt;br&gt;
void&lt;br&gt;
voltalite&lt;br&gt;
while&lt;br&gt;
abstract&lt;br&gt;
assert&lt;br&gt;
boolean&lt;br&gt;
break&lt;br&gt;
class&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>java</category>
      <category>learning</category>
    </item>
    <item>
      <title>This keyword in java</title>
      <dc:creator>Gayathri.R</dc:creator>
      <pubDate>Sat, 11 Oct 2025 06:50:07 +0000</pubDate>
      <link>https://dev.to/2021_cse_gayathrir_e733/this-keyword-in-java-51ne</link>
      <guid>https://dev.to/2021_cse_gayathrir_e733/this-keyword-in-java-51ne</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;The this keyword refers to the current object in a method or constructor.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The most common use of the this keyword is to eliminate the confusion between class attributes and parameters with the same name (because a class attribute is shadowed by a method or constructor parameter). If you omit the keyword in the example above, the output would be "0" instead of "5".&lt;/p&gt;

&lt;p&gt;this can also be used to:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Invoke current class constructor
Invoke current class method
Return the current class object
Pass an argument in the method call
Pass an argument in the constructor call
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Object in java</title>
      <dc:creator>Gayathri.R</dc:creator>
      <pubDate>Sat, 11 Oct 2025 06:47:10 +0000</pubDate>
      <link>https://dev.to/2021_cse_gayathrir_e733/object-in-java-48np</link>
      <guid>https://dev.to/2021_cse_gayathrir_e733/object-in-java-48np</guid>
      <description>&lt;p&gt;An Object is a variable that can hold many variables.&lt;/p&gt;

&lt;p&gt;Objects are collections of key-value pairs, where each key (known as property names) has a value.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;classname objectvariable=newkeyword classname();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Objects can describe anything like houses, cars, people, animals, or any other subjects.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Method in Java</title>
      <dc:creator>Gayathri.R</dc:creator>
      <pubDate>Sat, 11 Oct 2025 06:46:13 +0000</pubDate>
      <link>https://dev.to/2021_cse_gayathrir_e733/method-in-java-3ebp</link>
      <guid>https://dev.to/2021_cse_gayathrir_e733/method-in-java-3ebp</guid>
      <description>&lt;p&gt;A method is a block of code which only runs when it is called.&lt;/p&gt;

&lt;p&gt;You can pass data, known as parameters, into a method.&lt;/p&gt;

&lt;p&gt;Methods are used to perform certain actions, and they are also known as functions.&lt;/p&gt;

&lt;p&gt;Why use methods? To reuse code: define the code once, and use it many times.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>java</category>
      <category>programming</category>
    </item>
    <item>
      <title>what is variable</title>
      <dc:creator>Gayathri.R</dc:creator>
      <pubDate>Wed, 01 Oct 2025 05:15:21 +0000</pubDate>
      <link>https://dev.to/2021_cse_gayathrir_e733/what-is-variable-50lm</link>
      <guid>https://dev.to/2021_cse_gayathrir_e733/what-is-variable-50lm</guid>
      <description>&lt;p&gt;variables are containers used for storing data values. They are categorized into different types based on the kind of data they hold.&lt;br&gt;
Types of Variables:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;String: Stores text, enclosed in double quotes (e.g., "Hello").
int: Stores whole numbers (integers), without decimals (e.g., 123, -123).
float: Stores floating-point numbers (numbers with decimals), requiring an f suffix (e.g., 19.99f, -19.99f).
char: Stores single characters, enclosed in single quotes (e.g., 'a', 'B').
boolean: Stores values with two states: true or false. 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Declaring and Assigning Variables:&lt;br&gt;
To create a variable, you must specify its data type and assign it a value using the following syntax: &lt;br&gt;
Java&lt;/p&gt;

&lt;p&gt;type variableName = value;&lt;/p&gt;

&lt;p&gt;Examples:&lt;br&gt;
string.&lt;br&gt;
Java&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;String name = "John";
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;int.&lt;br&gt;
Java&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int myNum = 15;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
    </item>
    <item>
      <title>Java Architecture</title>
      <dc:creator>Gayathri.R</dc:creator>
      <pubDate>Tue, 30 Sep 2025 15:45:06 +0000</pubDate>
      <link>https://dev.to/2021_cse_gayathrir_e733/java-architecture-4cf1</link>
      <guid>https://dev.to/2021_cse_gayathrir_e733/java-architecture-4cf1</guid>
      <description>&lt;p&gt;Java architecture usually refers to the structure and design of how Java applications run.&lt;/p&gt;

&lt;p&gt;Example: Java Architecture includes JVM (Java Virtual Machine), JRE (Java Runtime Environment), and JDK (Java Development Kit).&lt;/p&gt;

&lt;p&gt;It can also mean software architecture (like MVC, layered architecture, microservices, etc.) built using Java.&lt;/p&gt;

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