<?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: Bharadwaj</title>
    <description>The latest articles on DEV Community by Bharadwaj (@bharad_s).</description>
    <link>https://dev.to/bharad_s</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%2F3252137%2F79914282-799a-46d9-a777-1caab8d0cf76.png</url>
      <title>DEV Community: Bharadwaj</title>
      <link>https://dev.to/bharad_s</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bharad_s"/>
    <language>en</language>
    <item>
      <title>HTML - A Brief Introduction</title>
      <dc:creator>Bharadwaj</dc:creator>
      <pubDate>Wed, 09 Jul 2025 13:25:04 +0000</pubDate>
      <link>https://dev.to/bharad_s/html-a-brief-introduction-1mhg</link>
      <guid>https://dev.to/bharad_s/html-a-brief-introduction-1mhg</guid>
      <description>&lt;p&gt;&lt;strong&gt;HTML&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;HyperText Markup Language is a basic language to create and structure webpages. Like a skeleton of human body, HTML supports a website.&lt;/p&gt;

&lt;p&gt;HTML focuses on defining the layout and presenting the content.&lt;/p&gt;

&lt;p&gt;Let us understand each word in HTML.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is HyperText?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This refers to the system that connect web pages to each other within the same website / across websites.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Markup?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Markup in this context refers to the use of tags to define the elements within a webpage. Tags (&amp;lt;, /&amp;gt;) will determine how the text should be displayed. For example, header, paragraph, image, list, make a text bigger/smaller etc. can be defined through tags &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is HTML a programming language?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;HTML is NOT a programming language. It is only a mark up language. There are no programming concepts like variable, loops and computational algorithms are involved in writing a HTML code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Let us create a simple webpage&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Type below code in a notepad and save as .html&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;html&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;p1&amp;gt;

This is my first HTML page.

&amp;lt;/p1&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;Notice that the file has changed to a browser icon. Try opening the file and it opens in a browser with text "This is my first HTML page."&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Java Architecture</title>
      <dc:creator>Bharadwaj</dc:creator>
      <pubDate>Sat, 05 Jul 2025 16:46:53 +0000</pubDate>
      <link>https://dev.to/bharad_s/java-architecture-3n6h</link>
      <guid>https://dev.to/bharad_s/java-architecture-3n6h</guid>
      <description>&lt;p&gt;&lt;strong&gt;Java Architecture:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Java architecture enables Java programs to be written once and run anywhere (WORA), providing platform independence, security, and efficient execution.&lt;/p&gt;

&lt;p&gt;Java's Architecture is a collection of below components:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Java Development Kit (JDK)&lt;/strong&gt;&lt;br&gt;
JDK is the software development environment that offers tools and libraries required for developing Java applications. This contains the JRE and JVM required to write, compile and debug Java code. The Development tools under the JDK include a Java Compiler and Java Interpreter.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Java Runtime Environment (JRE)&lt;/strong&gt;&lt;br&gt;
JRE provides the libraries, Java Virtual Machine, and other components to run applications written in Java. It is essentially the JVM plus standard libraries and runtime files. JRE is included within the JDK but can also be downloaded separately for running Java programs. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Java Virtual Machine (JVM)&lt;/strong&gt;&lt;br&gt;
JVM is abstract virtual machine that executes Java bytecode. It converts bytecode into platform-specific machine code, enabling the same Java program to run on any device with a compatible JVM. It manages runtime memory areas and provides a secure execution environment.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Object Oriented Programming (OOP)</title>
      <dc:creator>Bharadwaj</dc:creator>
      <pubDate>Mon, 30 Jun 2025 17:50:11 +0000</pubDate>
      <link>https://dev.to/bharad_s/object-oriented-programming-oop-97b</link>
      <guid>https://dev.to/bharad_s/object-oriented-programming-oop-97b</guid>
      <description>&lt;p&gt;Let us look into Object Oriented Programming Concepts in a brief manner.&lt;/p&gt;

&lt;p&gt;Programs in general contain data and code. &lt;/p&gt;

&lt;p&gt;Process / Procedure Oriented model is a concept where the code is written in a way that it 'acts on the data'. For example, C programming language is written as series of procedures and functions. &lt;/p&gt;

&lt;p&gt;OOP is a programming approach / style where the code is implemented 'around the data'. In other words, the data controls access to the code.&lt;/p&gt;

&lt;p&gt;The data is referred to as 'Objects'.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is an Object is this context?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Object is akin to a real world entity that has A) Properties and B) Actions&lt;/p&gt;

&lt;p&gt;For example, consider Human being as object.&lt;/p&gt;

&lt;p&gt;The object 'Human' has &lt;br&gt;
 Properties: Name, Gender, Age&lt;br&gt;
 Actions: Walk, Talk, Eat&lt;/p&gt;

&lt;p&gt;Let us consider another example, 'Car' as an object.&lt;/p&gt;

&lt;p&gt;The object 'Car' has&lt;br&gt;
 Properties: model, color, transmission type&lt;br&gt;
 Actions: Start, Stop, Accelerate&lt;/p&gt;

&lt;p&gt;Properties of an object can also be referred as 'State' (or) 'Attributes'&lt;/p&gt;

&lt;p&gt;Actions of an object can also be referred as 'Methods' (or) 'Functions'&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What are the principles of OOP?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let us understand the meaning of these words in simple English and then correlate to the programming approach.&lt;/p&gt;

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

&lt;p&gt;In our everyday lives, we manage and deal complexity through abstraction. For instance, we manage our home television features through a remote control device; however we may not bothered about the device internal design and ignore how it works. The remote control has specific functions and we understand how to use it through the buttons - TV Power ON / OFF, Volume Increase / Decrease, Channel Increase / Decrease, Mute etc.&lt;/p&gt;

&lt;p&gt;In other words, the implementation details are hidden from the user.&lt;/p&gt;

&lt;p&gt;This concept can be applied for writing software code where objects are defined as required for the business case. These objects have unique properties and behavior. The code is written in a way to tell the object what to do. &lt;/p&gt;

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

&lt;p&gt;Think of a capsule that holds together medicine in a tube (or) container that doesn't expose the what's inside it to the outside world.&lt;/p&gt;

&lt;p&gt;Encapsulation in OOP is a similar mechanism that binds data and code inside a wrapper not allowing other code to access. This is required to protect data from unauthorized access and modification.&lt;/p&gt;

&lt;p&gt;The methods and variables defined within a class will be marked public or private to control the access. We'll review these topics in detail in upcoming weeks.&lt;/p&gt;

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

&lt;p&gt;Inheritance means an object acquiring the properties from another object. Imagine this concept like a child inherits the wealth from ancestors and still creates more wealth through his/her own talent. In programming, inheritance avoids rewriting same code for the related objects and helps in reusability.&lt;/p&gt;

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

&lt;p&gt;Poly + Morph = multiple forms. Imagine a person known to you. He/She is likely to be parent at home, employee at an organization, social worker for community services etc. So, the person is same; yet depending on the territory their actions / behavior differs. Similar concept in OOP where the methods defined in one class shall exhibit different behavior based on parameters defined with it.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Java - Introduction</title>
      <dc:creator>Bharadwaj</dc:creator>
      <pubDate>Sat, 28 Jun 2025 16:58:59 +0000</pubDate>
      <link>https://dev.to/bharad_s/java-introduction-3fj2</link>
      <guid>https://dev.to/bharad_s/java-introduction-3fj2</guid>
      <description>&lt;p&gt;Dear friends, Let us get acquainted with Java.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Java?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Java is a high-level programming language. &lt;/p&gt;

&lt;p&gt;Now, what is a high level programming language? A programming language designed in such a way that it is easier to read, understand, syntax similar to human language and hiding complex assembly level implementation details from the programmer is considered high level programming language. Example C, C++, C#, Java, Python etc.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Java is required?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Java was initially designed to serve hardware devices like microwave ovens, remote control, set top boxes that requires an platform independent software for embedded systems; yet with advent of internet Java's capabilities expanded to enterprise software systems. Java evolved as C and C++ programming languages could not solve certain complex problems. In other words, the way Java has been designed outweighed the advantages of C and C++ as a programming language.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who designed Java and when was its first release?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Java was designed by James Gosling and his team at Sun Microsystems in 1991.&lt;/p&gt;

&lt;p&gt;The first Java release was in 1995.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What the features of Java?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Simple and Easy to Learn&lt;br&gt;
Object-Oriented Programming (OOP)&lt;br&gt;
Platform Independence&lt;br&gt;
Automatic Memory Management&lt;br&gt;
Security&lt;br&gt;
Rich Standard Library (API)&lt;br&gt;
Multithreading&lt;br&gt;
High Performance&lt;br&gt;
Robustness&lt;br&gt;
Architecture Neutral&lt;br&gt;
Distributed Computing Support&lt;br&gt;
Dynamic and Extensible&lt;/p&gt;

&lt;p&gt;These features make Java an unique as well as robust high level programming language. In upcoming posts, each of the above topic will be discussed and reference links to be added accordingly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is the current version of Java?&lt;/strong&gt;&lt;br&gt;
The current version of Java as of June 2025 is Java 24 (Oracle JDK 24), which was officially released on March 18, 2025. &lt;/p&gt;

</description>
      <category>java</category>
      <category>programming</category>
    </item>
    <item>
      <title>Arrays</title>
      <dc:creator>Bharadwaj</dc:creator>
      <pubDate>Fri, 27 Jun 2025 04:06:24 +0000</pubDate>
      <link>https://dev.to/bharad_s/arrays-5286</link>
      <guid>https://dev.to/bharad_s/arrays-5286</guid>
      <description>&lt;p&gt;&lt;strong&gt;Arrays:&lt;/strong&gt;&lt;br&gt;
Let us understand what is an 'Array' in general.&lt;br&gt;
Collection / group / arrangement of objects is called an Array.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Rainbow is an array of colors.&lt;/li&gt;
&lt;li&gt;An art exhibition has array of paintings.&lt;/li&gt;
&lt;li&gt;Keyboard has an array of keys.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In Java (or in programming world), the concept of Array is similar. It is a collection of variables having same data type. Imagine this like a box with sequential tiny containers that has a name to it and can store something. (like a Pill Organizer box). &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why we need an Array?&lt;/strong&gt; &lt;br&gt;
This is a data structure concept. Array allows an easy way to group information that are similar and large is size. Otherwise declaring and storing large amount of details in variable would be time consuming. Complicates the program.&lt;/p&gt;

&lt;p&gt;As mentioned earlier, the group of variables within an array should belong to one particular type. For example, each array that is defined shall store either integers (or) strings (or) boolean (or) java datatypes and custom objects. One cannot mix integers and strings in one array.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to declare an Array?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Syntax: &lt;em&gt;type var-name[];&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Explanation:&lt;/strong&gt; &lt;br&gt;
'type' is the primitive data type followed by 'var-name' name for the variable&lt;/p&gt;

&lt;p&gt;For example, &lt;/p&gt;

&lt;p&gt;string week_days[];&lt;br&gt;
int month_days[];&lt;/p&gt;

&lt;p&gt;The above declaration does not create an Array as such; it only establishes an array variable 'week_days' (or) 'month_days'.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to create an Array?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Syntax: &lt;em&gt;array-var = new type [size]&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Extending the same example given above, &lt;/p&gt;

&lt;p&gt;week_days = new String [7];&lt;br&gt;
month_days = new int [31];&lt;/p&gt;

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

&lt;p&gt;array-var - 'week_days' and 'month_days' are the array variables.&lt;/p&gt;

&lt;p&gt;new is the operator that allocate memory to create the array.&lt;/p&gt;

&lt;p&gt;type is the type of the data being stored in the array&lt;/p&gt;

&lt;p&gt;[size] defines the number of elements that can be stored in the array. In above example, 'week_days' array has size of 7 and 'month_days' array has size of 31.&lt;/p&gt;

&lt;p&gt;The size of the array is fixed. After creating an array with a particular size, the value cannot be changed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to access elements in an Array?&lt;/strong&gt;&lt;br&gt;
Each element in an array is assigned with an index starting from 0. Index in this context mean a numerical position of the data so that one can refer and access what is inside that index.&lt;/p&gt;

&lt;p&gt;For example, in 'week_days' array, the values will be stored in array like &lt;/p&gt;

&lt;p&gt;week_days[0] = "Sunday";&lt;br&gt;
week_days[1] = "Monday";&lt;br&gt;
week_days[2] = "Tuesday";&lt;br&gt;
week_days[3] = "Wednesday";&lt;br&gt;
week_days[4] = "Thursday";&lt;br&gt;
week_days[5] = "Friday";&lt;br&gt;
week_days[6] = "Saturday";&lt;/p&gt;

&lt;p&gt;The values 0 to 6 is the index. Say, if week_days[4] is called, 'Thursday' would be printed as that value assigned to the index at 4. &lt;/p&gt;

&lt;p&gt;7 days a week; yet the index value stops at 6, because the array index starts at 0.&lt;/p&gt;

&lt;p&gt;Let us see an example program that covers the above two steps &lt;br&gt;
1) Declare Array variable with a data type &lt;br&gt;
2) Create an array with specific size.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example Program 01:&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;package arrays;

public class SimpleArray {

    public static void main(String[] args) {

        //Declaring the variable
        String week_days[];

        //Creating an array
        week_days = new String [7];


        //Assigning value to each index
        week_days[0] = "Sunday";
        week_days[1] = "Monday";
        week_days[2] = "Tuesday";
        week_days[3] = "Wednesday";
        week_days[4] = "Thursday";
        week_days[5] = "Friday";
        week_days[6] = "Saturday";

        System.out.println("First day of the work week is " + week_days[1]);
        }

}

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output of Example Program 01:&lt;/strong&gt;&lt;br&gt;
First day of the work week is Monday&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is there any other way to declare and create an Array?&lt;/strong&gt; Yes&lt;/p&gt;

&lt;p&gt;Declaration of Array Variable and creating an Array can be done in one statement.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
//Declaring the variable&lt;br&gt;
String week_days[];&lt;/p&gt;

&lt;p&gt;//Creating an array&lt;br&gt;
week_days = new String [7];&lt;/p&gt;

&lt;p&gt;This can be rewritten as&lt;/p&gt;

&lt;p&gt;String week_days [] = new String [7];&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Arrays can also be initialized along declaration without the use of 'new' keyword.&lt;/strong&gt; This is an alternate way to create and initialize arrays.&lt;/p&gt;

&lt;p&gt;In same week_days example, the array can be created like&lt;/p&gt;

&lt;p&gt;String week_days [] = {"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"}&lt;/p&gt;

&lt;p&gt;Note the usage of curly braces { } and 'new' keyword is not used.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example Program 02:&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;package arrays;

public class ArrayCreation {

    public static void main(String[] args) {
        // Declare and initialize array
        String week_days [] = {"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"};
        System.out.println("First day of the work week is " + week_days[1]);


    }

}

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Output of Example Program 02:&lt;/strong&gt;&lt;br&gt;
First day of the work week is Monday&lt;/p&gt;

&lt;p&gt;Both programs display the same output; yet the way arrays are declared and created differs. &lt;/p&gt;

&lt;p&gt;More programs on Arrays, Array dimension to follow in upcoming posts.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>New Beginning</title>
      <dc:creator>Bharadwaj</dc:creator>
      <pubDate>Sat, 14 Jun 2025 05:50:35 +0000</pubDate>
      <link>https://dev.to/bharad_s/new-beginning-5beg</link>
      <guid>https://dev.to/bharad_s/new-beginning-5beg</guid>
      <description>&lt;p&gt;&lt;strong&gt;Why am I learning Java in 2025?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Being in IT industry and Software Quality Assurance area for over 18 years, I felt not working in core programming or software development activities is a debt that is supposed to be fulfilled both from a knowledge and satisfaction level. This is my personal opinion and not generalizing. Also, over the last few years I start to learn something new in tech and lose momentum within few weeks.  So, why Java and no other programming languages? No specific reason. I have to start somewhere, and Java aligns with my work requirements. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why this blog and what will be covered?&lt;/strong&gt;&lt;br&gt;
This journal intends to capture the daily concepts learnt during the part of the Full Stack Development Course. &lt;/p&gt;

</description>
      <category>java</category>
      <category>career</category>
      <category>learning</category>
      <category>devjournal</category>
    </item>
  </channel>
</rss>
