<?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: velvizhi Muthu</title>
    <description>The latest articles on DEV Community by velvizhi Muthu (@velvizhi_muthu_251052a3f8).</description>
    <link>https://dev.to/velvizhi_muthu_251052a3f8</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%2F3379243%2F8db9626e-5c2a-40c8-92e7-c088a44e2e02.png</url>
      <title>DEV Community: velvizhi Muthu</title>
      <link>https://dev.to/velvizhi_muthu_251052a3f8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/velvizhi_muthu_251052a3f8"/>
    <language>en</language>
    <item>
      <title>Module 3: Encapsulation</title>
      <dc:creator>velvizhi Muthu</dc:creator>
      <pubDate>Mon, 16 Feb 2026 08:30:37 +0000</pubDate>
      <link>https://dev.to/velvizhi_muthu_251052a3f8/module-3-encapsulation-24bn</link>
      <guid>https://dev.to/velvizhi_muthu_251052a3f8/module-3-encapsulation-24bn</guid>
      <description>&lt;p&gt;01.What is Encapsulation?&lt;/p&gt;

&lt;p&gt;Encapsulation means wrapping (hiding) variables (data) and providing access only through methods (getters/setters).&lt;/p&gt;

&lt;p&gt;Real-Time Example: Bank Account :&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Account balance should not be directly accessible.

Only deposit/withdraw methods should modify it.

Getters provide safe access to balance.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;02.Access modifier types?&lt;br&gt;
   1.public&lt;br&gt;
   2.protected&lt;br&gt;
   3.default&lt;br&gt;
   4.private&lt;/p&gt;

&lt;p&gt;03.what is public?&lt;/p&gt;

&lt;p&gt;public      → accessible everywhere.&lt;br&gt;
public → Surname (everyone knows).&lt;/p&gt;

&lt;p&gt;ex:&lt;br&gt;
public → everyone can know&lt;br&gt;
    public int dad_amount = 1000;&lt;/p&gt;

&lt;p&gt;04.What is the protected?&lt;/p&gt;

&lt;p&gt;protected   → accessible within the same package and by subclasses (even in other packages).&lt;/p&gt;

&lt;p&gt;protected → Property (children can inherit, brother in the same family can access).&lt;/p&gt;

&lt;p&gt;ex:&lt;br&gt;
 protected → accessible to all children (even in other packages)&lt;br&gt;
    protected String property = "House";&lt;/p&gt;

&lt;p&gt;05.What is the default?&lt;/p&gt;

&lt;p&gt;default (no modifier) → accessible only within the same package.&lt;br&gt;
default → Family name (known inside same package/family).&lt;br&gt;
ex:&lt;br&gt;
default → only family members in the same package can access&lt;br&gt;
    String familyName = "Kumar Family";&lt;/p&gt;

&lt;p&gt;06.What is the private?&lt;br&gt;
private     → accessible only within the same class&lt;br&gt;
private → Secret (only parent knows).&lt;/p&gt;

&lt;p&gt;ex:&lt;br&gt;
private → only parent knows&lt;br&gt;
    private String secret = "Parent's Secret";&lt;/p&gt;

&lt;p&gt;07.What is the Import statement?&lt;br&gt;
Import is a keyword.&lt;br&gt;
We can use it to access the other package. That time we call the "import" keyword.&lt;br&gt;
Import keyword, no need to call the same package.&lt;/p&gt;

&lt;p&gt;08.What is return?&lt;br&gt;
return is a keyword in java&lt;br&gt;
return mainwork is retunted the variable value.&lt;br&gt;
if i use the return keyword,then no need to call the object.&lt;/p&gt;

&lt;p&gt;09.What is the purpose of poja class?&lt;br&gt;
POJO classes are used to create readable and reusable code,&lt;br&gt;
variable used to create the get method and get the value.&lt;/p&gt;

&lt;p&gt;10.What is get balance?&lt;br&gt;
Retrieves current account balance.&lt;/p&gt;

&lt;p&gt;11.What is set balance?&lt;br&gt;
Updates value of private balance.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Module 3: Abstraction</title>
      <dc:creator>velvizhi Muthu</dc:creator>
      <pubDate>Mon, 16 Feb 2026 08:30:27 +0000</pubDate>
      <link>https://dev.to/velvizhi_muthu_251052a3f8/module-3-abstraction-4514</link>
      <guid>https://dev.to/velvizhi_muthu_251052a3f8/module-3-abstraction-4514</guid>
      <description>&lt;ol&gt;
&lt;li&gt;What is abstraction?
Abstraction is showing only the necessary data, hiding the unwanted data.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;keyword: abstract&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;How to achieve  the abstraction?&lt;/li&gt;
&lt;li&gt;keyword: abstract&lt;/li&gt;
&lt;li&gt;Use the keyword and achieve the abstraction.&lt;/li&gt;
&lt;li&gt;We can't create the object in abstract class.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We can use the abstract keyword in method and class also.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Where is use to the abstract method?&lt;br&gt;
We can create the multiple definition by using the abstract method.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;EX: Login page.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Module 3: Interface</title>
      <dc:creator>velvizhi Muthu</dc:creator>
      <pubDate>Mon, 16 Feb 2026 08:30:17 +0000</pubDate>
      <link>https://dev.to/velvizhi_muthu_251052a3f8/module-3-interface-2o4h</link>
      <guid>https://dev.to/velvizhi_muthu_251052a3f8/module-3-interface-2o4h</guid>
      <description>&lt;ol&gt;
&lt;li&gt;What is an Interface?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A set of rules for classes to follow, without providing the actual implementation of those rules.&lt;/p&gt;

&lt;p&gt;Interface is a keyword.&lt;/p&gt;

&lt;p&gt;Without a  method definition that time we need to mention the "abstract" keyword.&lt;/p&gt;

&lt;p&gt;We called the interface class, that time, no need to mention the "abstract" keyword in rules method.&lt;/p&gt;

&lt;p&gt;We can mention the Non-abstract method but no need to mention the open brace and close brace.&lt;/p&gt;

&lt;p&gt;We can't create the Object in the main method.&lt;/p&gt;

&lt;p&gt;Key word: Implements&lt;br&gt;
Implements is a Java keyword.&lt;/p&gt;

&lt;p&gt;No need to called the abstract keyword in class and main method. Already automatically "abstract "keyword available in class and main method because hide the "abstract" keyword.&lt;/p&gt;

&lt;p&gt;02.Why we use the interface in java?&lt;br&gt;
We can hide the implementation details and just expose the method signatures.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Module 3:Dynamic binding</title>
      <dc:creator>velvizhi Muthu</dc:creator>
      <pubDate>Mon, 16 Feb 2026 08:30:07 +0000</pubDate>
      <link>https://dev.to/velvizhi_muthu_251052a3f8/module-3dynamic-binding-4fg0</link>
      <guid>https://dev.to/velvizhi_muthu_251052a3f8/module-3dynamic-binding-4fg0</guid>
      <description>&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;What is Dynamic binding?&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In general, an object can be created using the same class name, but it is possible to create an object using two different class names. It's called a Dynamic binding.&lt;/li&gt;
&lt;li&gt;cannot convert from Parent to Child.&lt;/li&gt;
&lt;li&gt;Child activity can't access the parent, but the parent activity can access the Child class.&lt;/li&gt;
&lt;li&gt;Then, override method we can access the child and parent class, it's called as dynamic binding.&lt;/li&gt;
&lt;li&gt;Only the same class name can be used on the "new" keyword.&lt;/li&gt;
&lt;/ol&gt;


&lt;/li&gt;

&lt;/ol&gt;

&lt;p&gt;Example:&lt;br&gt;
Parent pa = new Parent&lt;br&gt;
instead of &lt;br&gt;
Parent pa = new Child or Child ch =new Parent.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Module 4: Return and void keyword</title>
      <dc:creator>velvizhi Muthu</dc:creator>
      <pubDate>Mon, 16 Feb 2026 08:29:56 +0000</pubDate>
      <link>https://dev.to/velvizhi_muthu_251052a3f8/module-4-return-and-void-keyword-284f</link>
      <guid>https://dev.to/velvizhi_muthu_251052a3f8/module-4-return-and-void-keyword-284f</guid>
      <description>&lt;p&gt;What is the "return" keyword?&lt;br&gt;
 The return keyword in Java is used inside a method to:&lt;/p&gt;

&lt;p&gt;Exit from the method immediately.&lt;/p&gt;

&lt;p&gt;Used just to exit the method (no value returned).&lt;/p&gt;

&lt;p&gt;Optionally send back a value to the caller (if the method has a return type other than void).&lt;/p&gt;

&lt;p&gt;The type of the value returned must match the method’s declared return type.&lt;/p&gt;

&lt;p&gt;If the method is declared as void, you can use plain return or omit it.&lt;/p&gt;

&lt;p&gt;return immediately ends method execution; any code after it won’t run.&lt;/p&gt;

&lt;p&gt;You can use return inside loops, conditionals, or directly in methods.&lt;/p&gt;

&lt;p&gt;What are "Void" keywords?&lt;br&gt;
The keyword void is a return type used for methods that do not return any value.&lt;/p&gt;

&lt;p&gt;Note: Primitive data type is a Java keyword because the first letter is lowercase.&lt;/p&gt;

&lt;p&gt;Non primitive data type is a Java.lang&lt;br&gt;
The non primitive data type -first letter is an uppercase.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>java</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Module 4: Scanner</title>
      <dc:creator>velvizhi Muthu</dc:creator>
      <pubDate>Mon, 16 Feb 2026 08:29:45 +0000</pubDate>
      <link>https://dev.to/velvizhi_muthu_251052a3f8/module-4-scanner-3jic</link>
      <guid>https://dev.to/velvizhi_muthu_251052a3f8/module-4-scanner-3jic</guid>
      <description>&lt;ol&gt;
&lt;li&gt;What is a Scanner in Java?
Scanner is a class in "Java. util" package that is used to read input.
(System.in) → user input
Different data types: nextInt()&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Common Methods in Scanner&lt;/p&gt;

&lt;p&gt;nextInt() → reads integer&lt;/p&gt;

&lt;p&gt;nextDouble() → reads decimal numbers&lt;/p&gt;

&lt;p&gt;nextLine() → reads a full line of text&lt;/p&gt;

&lt;p&gt;next() → reads single word&lt;/p&gt;

&lt;p&gt;hasNextInt(), hasNextLine() → check before reading&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Module 4-Array</title>
      <dc:creator>velvizhi Muthu</dc:creator>
      <pubDate>Mon, 16 Feb 2026 08:29:36 +0000</pubDate>
      <link>https://dev.to/velvizhi_muthu_251052a3f8/module-4-array-105m</link>
      <guid>https://dev.to/velvizhi_muthu_251052a3f8/module-4-array-105m</guid>
      <description>&lt;ol&gt;
&lt;li&gt;What is an array?
An array is a collection of similar data types.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Array Syntax : []&lt;br&gt;
Declaration:&lt;br&gt;
datatype[] arrayName; or datatype arrayName[]; &lt;br&gt;
Example:&lt;br&gt;
int[] marks  = {50,80,70}; &lt;br&gt;
boolean[] result ={true,false,true};&lt;br&gt;
float[] s = {6.0f,5.0f,4.8f};&lt;/p&gt;

&lt;p&gt;An array is index-based.&lt;br&gt;
marks[0] = 50;&lt;br&gt;
marks[1] = 80;&lt;br&gt;
marks[2] = 70;&lt;/p&gt;

&lt;p&gt;Program explanation:&lt;/p&gt;

&lt;p&gt;int[] marks  = {50,80,70};&lt;br&gt;
length = 3&lt;br&gt;
index starts from 0. --&amp;gt; length -1 (2)&lt;/p&gt;

&lt;p&gt;Object:&lt;br&gt;
Objects in Java -&amp;gt;Arrays are objects stored in heap memory.&lt;br&gt;
arrayName = new datatype[size];&lt;br&gt;
Example:&lt;br&gt;
int[] marks = new int[3];&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Why do we use arrays in Java?&lt;br&gt;
We use arrays in Java because they make it easy to store and manage multiple values of the same type under a single variable name, instead of declaring many separate variables.&lt;br&gt;
example:&lt;br&gt;
int tamil = 50;&lt;br&gt;
int english = 80;&lt;br&gt;
int maths = 70;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Key Points about Arrays:&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Fixed size – Once created, the size of an array cannot be changed.&lt;/p&gt;

&lt;p&gt;Same data type – All elements must be of the same type.&lt;/p&gt;

&lt;p&gt;Index-based – Elements are accessed using an index, starting from 0 in most programming languages.&lt;/p&gt;

&lt;p&gt;Homogeneous data stores only elements of the same data types.&lt;br&gt;
First element-&amp;gt; index 0.&lt;br&gt;
Second element-&amp;gt; index length - 1.&lt;br&gt;
Print all elements in the  array&lt;br&gt;
Reverse the array.&lt;br&gt;
Sum the elements in the array.&lt;br&gt;
Store all values in a single array&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>java</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Module 4 -String</title>
      <dc:creator>velvizhi Muthu</dc:creator>
      <pubDate>Mon, 16 Feb 2026 08:29:26 +0000</pubDate>
      <link>https://dev.to/velvizhi_muthu_251052a3f8/module-4-string-4i1j</link>
      <guid>https://dev.to/velvizhi_muthu_251052a3f8/module-4-string-4i1j</guid>
      <description>&lt;p&gt;&lt;strong&gt;01. What is a String in Java?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;String is a non-Primitive data type.&lt;br&gt;
String is a class.&lt;br&gt;
The package name is java.lang&lt;br&gt;
A string is a sequence of characters. &lt;br&gt;
But in Java, a string is an object that represents a sequence of characters. &lt;br&gt;
The Java.lang. -The String class is used to create a string object.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;02. How to create a string object?&lt;/strong&gt;&lt;br&gt;
There are two ways to create a String object:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;By string literal&lt;/li&gt;
&lt;li&gt;By a new keyword&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;03. How to create a String Literal in Java?&lt;/strong&gt;&lt;br&gt;
A Java String literal is created by using double quotes.&lt;/p&gt;

&lt;p&gt;For Example:&lt;br&gt;
String s = "welcome";  String Literal.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;04. Why is String immutable in Java?&lt;/strong&gt;&lt;br&gt;
String objects are immutable. &lt;br&gt;
Immutable means unchangeable.&lt;br&gt;
Once a string object is created, it cannot be changed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;05. String Literals (Without the new keyword):&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Each time we create a string literal, the JVM checks the "string constant pool" first. &lt;br&gt;
If the string already exists in the pool, a reference to the pooled instance is returned. &lt;br&gt;
If the string doesn't exist in the pool, a new string instance is created and placed in the pool. &lt;/p&gt;

&lt;p&gt;Note: String objects are stored in a special memory area known as the "string constant pool".&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;06. Advantage of string&lt;/strong&gt;&lt;br&gt;
immutable&lt;br&gt;
Reduce memory usage by reusing existing strings.&lt;/p&gt;

&lt;p&gt;**07. Disadvantage of string:&lt;br&gt;
**Memory Consumption&lt;br&gt;&lt;br&gt;
Uses extra memory due to immutability &lt;br&gt;
Performance Overhead&lt;br&gt;&lt;br&gt;
Slower for modifications &amp;amp; concatenation &lt;br&gt;
Security Risks&lt;br&gt;&lt;br&gt;
Encoding Issues&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;08. How to create a string (With a new keyword)?&lt;/strong&gt;&lt;br&gt;
Creates a new object in heap memory.&lt;br&gt;
String s1= new String("Hello")&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Module 4 -Java string method</title>
      <dc:creator>velvizhi Muthu</dc:creator>
      <pubDate>Mon, 16 Feb 2026 08:29:15 +0000</pubDate>
      <link>https://dev.to/velvizhi_muthu_251052a3f8/module-4-java-string-method-24f0</link>
      <guid>https://dev.to/velvizhi_muthu_251052a3f8/module-4-java-string-method-24f0</guid>
      <description>&lt;p&gt;&lt;strong&gt;JAVA String method:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The java.lang.The String class provides many useful methods to perform operations on a sequence of char values.&lt;/p&gt;

&lt;p&gt;String-First letter is uppercase, so string is a class.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 1:&lt;/strong&gt;&lt;br&gt;
char charAt(int index)&lt;br&gt;
It returns a char value for the particular index.&lt;br&gt;
Character at given index&lt;br&gt;
&lt;strong&gt;Return type:&lt;/strong&gt; Char&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output comment:&lt;/strong&gt;&lt;br&gt;
char in =s.charAt(0);&lt;br&gt;
System.out.println(in);&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 2:&lt;/strong&gt;&lt;br&gt;
int length()&lt;br&gt;
The String class length() method returns the length of the specified String.&lt;br&gt;
Number of characters in string&lt;br&gt;
&lt;strong&gt;Return type:&lt;/strong&gt; int&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output Comment:&lt;/strong&gt;&lt;br&gt;
int l=s.length ();&lt;br&gt;
System.out.println(l);&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 3:&lt;/strong&gt;&lt;br&gt;
trim()&lt;br&gt;
Removes leading and trailing spaces&lt;br&gt;
&lt;strong&gt;Return type:&lt;/strong&gt; String&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;br&gt;
String v= s.trim();&lt;br&gt;
System.out.println(v);&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 4:&lt;/strong&gt;&lt;br&gt;
startsWith(prefix)&lt;br&gt;
Checks if the string starts &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Return type:&lt;/strong&gt; boolean&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;br&gt;
boolean bo= s.startsWith("Sa");&lt;br&gt;
System.out.println(bo);//True&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 5:&lt;/strong&gt;&lt;br&gt;
endsWith(suffix)&lt;br&gt;
Checks if the string ends with a specified sequence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Return type:&lt;/strong&gt; boolean&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;br&gt;
boolean lo= s.endsWith("Sa");&lt;br&gt;
System.out.println(lo);//false&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 6:&lt;/strong&gt;&lt;br&gt;
toCharArray()&lt;br&gt;
Converts to a char array&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Return type:&lt;/strong&gt; char[] &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 7:&lt;/strong&gt;&lt;br&gt;
isEmpty()&lt;br&gt;
Checks if empty&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Return type:&lt;/strong&gt; boolean&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;isBlank()&lt;/strong&gt;&lt;br&gt;
The method is a predefined method in the String class that checks whether a string is empty or contains only whitespace characters.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 8:&lt;/strong&gt;&lt;br&gt;
toUpperCase()&lt;br&gt;
The Java String toUpperCase () method converts it into the String's lowercase letters&lt;br&gt;
Converts to upper case&lt;br&gt;
&lt;strong&gt;Return type:&lt;/strong&gt; String&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;br&gt;
String vv =s.toUpperCase();&lt;br&gt;
System. out.println(vv);//SACHIN HELLO&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 9:&lt;/strong&gt;&lt;br&gt;
toLowerCase()&lt;br&gt;
The Java String toLowerCase () method converts it into the String's lowercase letters&lt;br&gt;
Converts to lower case&lt;/p&gt;

&lt;p&gt;**Return type: **String&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;br&gt;
String sv =s.toLowerCase();&lt;br&gt;
System.out.println(sv);//sachin hello&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 10:&lt;/strong&gt;&lt;br&gt;
subString method:&lt;br&gt;
Returns substring from index to end&lt;br&gt;
&lt;strong&gt;Return type:&lt;/strong&gt; String (i)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;br&gt;
String sub =s.substring(0)&lt;br&gt;
System.out.println(sub);&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 11:&lt;/strong&gt;&lt;br&gt;
replace() method:&lt;br&gt;
Replace character or substring&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;br&gt;
String re= s.replace('S', 'H');&lt;br&gt;
System.out.println(re);&lt;br&gt;
Return type: String('i','j');&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 12:&lt;/strong&gt;&lt;br&gt;
replaceAll();&lt;br&gt;
Replace all words.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;br&gt;
String str =s.replaceAll("Sachin", "Hello");&lt;br&gt;
System.out.println(str);&lt;br&gt;
&lt;strong&gt;Return type:&lt;/strong&gt; String("String","String");&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 13:&lt;/strong&gt;&lt;br&gt;
split();&lt;br&gt;
Splits a string based on a regex.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Return type:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 14:&lt;/strong&gt;&lt;br&gt;
join();&lt;br&gt;
The method combines multiple strings using a delimiter.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt;&lt;br&gt;
String result = si.join(" ", "I","Love", "Java");&lt;br&gt;
System.out.println(result);&lt;br&gt;
&lt;strong&gt;Return type:&lt;/strong&gt; String();&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Method 15:&lt;/strong&gt;&lt;br&gt;
contains()&lt;br&gt;
Checks if a sequence of characters is present in the string.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>SQL</title>
      <dc:creator>velvizhi Muthu</dc:creator>
      <pubDate>Mon, 16 Feb 2026 08:29:03 +0000</pubDate>
      <link>https://dev.to/velvizhi_muthu_251052a3f8/sql-1d09</link>
      <guid>https://dev.to/velvizhi_muthu_251052a3f8/sql-1d09</guid>
      <description>&lt;p&gt;01.SQL full form?&lt;br&gt;
SQL-Structured Query Language(SQL)&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;What is SQL?&lt;br&gt;
SQL stands for Structured Query Language and is a standardised programming language used for storing, manipulating, and retrieving data in relational databases.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What is a database?&lt;br&gt;
Collection of data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;How many databases?&lt;br&gt;
-Relational database (Table format)&lt;br&gt;
-Hierarchical database.&lt;br&gt;
-NoSQL database. (Without table format)&lt;br&gt;
Below are the NoSQL Database types:&lt;br&gt;
Key value&lt;br&gt;
Document based&lt;br&gt;
column based &lt;br&gt;
Graph based&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What is the DBMS?&lt;br&gt;
A database management system&lt;br&gt;
The DBMS is a software.&lt;br&gt;
Interface between the database and the end user.&lt;br&gt;
Software to store, retrieve, define and manage data in a database.&lt;br&gt;
Easy CRUD operations. (CRUD- Create, read, update, delete)&lt;br&gt;
Takes care of authentication, concurrency, logging, backup, optimisation, etc.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;What is RDBMS? (Relational database management software)&lt;br&gt;
RDBMS is a software. Below are the RDBMS software&lt;br&gt;
-MySQL-Open source&lt;br&gt;
-SQL server-microsoft&lt;br&gt;
-Oracle -IBM&lt;br&gt;
-PostgreSQL-Open source.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;07.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Module 4-Block and static block</title>
      <dc:creator>velvizhi Muthu</dc:creator>
      <pubDate>Mon, 16 Feb 2026 08:28:53 +0000</pubDate>
      <link>https://dev.to/velvizhi_muthu_251052a3f8/module-4-block-and-static-block-a91</link>
      <guid>https://dev.to/velvizhi_muthu_251052a3f8/module-4-block-and-static-block-a91</guid>
      <description>&lt;p&gt;&lt;strong&gt;01. What is the Non-Static block?&lt;/strong&gt;&lt;br&gt;
           The non-static block will be executed every time an object of the class is created, before the constructor is called as non static block.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;02. How to use the non-static block?&lt;/strong&gt;&lt;br&gt;
   -Non-static blocks are not marked by any keyword. &lt;br&gt;
   -simply appear as { /* code */ } inside the class.&lt;br&gt;
   -Each time an instance (object) of the class is created, the non-static block executes, allowing for instance-level logic.&lt;/p&gt;

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

&lt;p&gt;public class Example {&lt;br&gt;
    { // Non-static block&lt;br&gt;
        System.out.println("Non-static block executed.");&lt;br&gt;
    }&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public Example() {
    System.out.println("Constructor executed.");
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;}&lt;br&gt;
 Output &lt;br&gt;
// Non-static block executed.&lt;br&gt;
// Constructor executed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Workflow:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;1. Static block: *&lt;/em&gt;&lt;br&gt;
-The class is loaded, and static blocks execute (only once per class).&lt;br&gt;
-Static is a class.&lt;/p&gt;

&lt;h2&gt;
  
  
  -Static blocks are written using static { ... } inside the class body.
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;2. Non-static block:&lt;/strong&gt;&lt;br&gt;
An object is created. Non-static blocks execute in sequence.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;3. Constructor: *&lt;/em&gt;&lt;br&gt;
-The constructor executes after non-static blocks.&lt;/p&gt;

&lt;p&gt;-The constructor name must match the class name.&lt;/p&gt;

&lt;p&gt;-It has no return type.&lt;/p&gt;

&lt;p&gt;-It is called automatically during object creation.&lt;/p&gt;

&lt;p&gt;-It initialises the object's state&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Instance block:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;-It runs automatically whenever an instance (object) of the class is created.&lt;/p&gt;

&lt;p&gt;-It executes before the constructor code.&lt;/p&gt;

&lt;p&gt;-It is used for code or logic common to all constructors to avoid duplication.&lt;/p&gt;

&lt;p&gt;-It cannot accept parameters (unlike constructors).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Main method:&lt;/strong&gt;&lt;br&gt;
 Executed after class loading and static block execution.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>java</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Module 4 : Main method explaination</title>
      <dc:creator>velvizhi Muthu</dc:creator>
      <pubDate>Mon, 16 Feb 2026 08:28:40 +0000</pubDate>
      <link>https://dev.to/velvizhi_muthu_251052a3f8/module-4-main-method-explaination-42pf</link>
      <guid>https://dev.to/velvizhi_muthu_251052a3f8/module-4-main-method-explaination-42pf</guid>
      <description>&lt;p&gt;What is the main method?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The Java Virtual Machine (JVM) starts program execution. 
-Without a properly defined main method, the JVM will not run the program&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Main method declaration:&lt;/strong&gt;&lt;br&gt;
 public static void main(String[] args)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Explain:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;public:&lt;/strong&gt; So the JVM can access it from anywhere.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;static:&lt;/strong&gt; So it can be called without creating an object of the class.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;void:&lt;/strong&gt; It does not return any value.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;main:&lt;/strong&gt; The specific name the JVM looks for as the entry point.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;String[] args:&lt;/strong&gt; An array parameter to accept command-line arguments.&lt;/p&gt;

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