<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Raghu Chavva on Medium]]></title>
        <description><![CDATA[Stories by Raghu Chavva on Medium]]></description>
        <link>https://medium.com/@raghunathchavva?source=rss-6386bc8113f0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*c4f6sl8x4FMHwuogAMKTlw.jpeg</url>
            <title>Stories by Raghu Chavva on Medium</title>
            <link>https://medium.com/@raghunathchavva?source=rss-6386bc8113f0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 08:30:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@raghunathchavva/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Must-Know Team Chat Terms Today!]]></title>
            <link>https://medium.com/@raghunathchavva/must-know-team-chat-terms-today-0066a28a18f5?source=rss-6386bc8113f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/0066a28a18f5</guid>
            <category><![CDATA[microsoft-teams]]></category>
            <category><![CDATA[programming-tips]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[Raghu Chavva]]></dc:creator>
            <pubDate>Sun, 01 Sep 2024 13:43:19 GMT</pubDate>
            <atom:updated>2024-09-01T13:43:19.421Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*BTd7xqeh5hxQ9ZFYPYVWbw.png" /><figcaption>microsoft teams</figcaption></figure><p>Essential Team Chat Terms Every Software Developer Should Know<br>As a software developer, effective communication within your team is crucial for the smooth execution of projects.</p><p>Understanding and using the right terminology in team chats not only helps you stay on the same page as your colleagues but also enhances your professional credibility. Whether you’re navigating through a sprint or discussing deployment, here are some essential team chat terms you should know.</p><h4><strong>1. Sprint</strong></h4><p><strong><em>Example: “Are we on track to complete the tasks for this sprint?”</em></strong><br>A sprint is a set period, usually 2–4 weeks, where specific work items are completed and prepared for review.</p><h4>2. Backlog</h4><p><strong><em>Example: “I’ll add that to the backlog for the next sprint.”</em></strong><br>The backlog is a prioritized list of tasks or features that need to be completed, often managed in tools like Jira.</p><h4>3. Stand-up</h4><p><strong><em>Example: “Can we reschedule the stand-up meeting?”</em></strong><br>A daily, short meeting where team members discuss what they did yesterday, what they plan to do today, and any blockers they’re facing.</p><h4>4. Blocker</h4><p><strong><em>Example: “I’m currently blocked on this issue, waiting for feedback from the QA team.”</em></strong><br>A blocker is anything that prevents you from making progress on your tasks, requiring resolution before moving forward.</p><h4>5. Pull Request (PR)</h4><p><strong><em>Example: “I’ve submitted a PR for review.”</em></strong><br>A pull request is when you submit your code changes for review before they are merged into the main codebase.</p><h4>6. Code Review</h4><p><strong><em>Example: “I’ll finish the code review by the end of the day.”</em></strong><br>The process of reviewing another developer’s code to catch issues or suggest improvements before it’s merged.</p><h4>7. Merge</h4><p><strong><em>Example: “I’ll merge this branch after your approval.”</em></strong><br>Combining code changes from different branches into the main codebase after they’ve been reviewed and approved.</p><h4>8. Commit</h4><p><strong><em>Example: “I just committed the latest changes to the repo.”</em></strong><br>A commit is saving your code changes in the version control system, often with a message describing the changes.</p><h4>9. Repository (Repo)</h4><p><strong><em>Example: “The code is in the repo.”</em></strong><br>A repository is where your project’s code is stored and managed, typically using version control systems like Git.</p><h4>10. Hotfix</h4><p><strong><em>Example: “We need to deploy a hotfix for this critical bug.”</em></strong><br>A hotfix is an urgent fix for a bug that needs to be deployed quickly to address a critical issue in production.</p><h4>11. Deployment</h4><p><strong><em>Example: “The deployment to production went smoothly.”</em></strong><br>Deployment is the process of releasing your code to a live environment where users can interact with it.</p><h4>12. Staging Environment</h4><p><strong><em>Example: “Let’s test the feature in the staging environment before deploying to production.”</em></strong><br>A staging environment is where you test code before deploying it to production, simulating the production environment as closely as possible.</p><h4>13. Refactor</h4><p><strong><em>Example: “I refactored the code for better readability.”</em></strong><br>Refactoring involves improving the structure of the existing code without changing its functionality, often to make it cleaner or more efficient.</p><h4>14. Tech Debt</h4><p><strong><em>Example: “We need to address the tech debt in the next sprint.”</em></strong><br>Technical debt refers to the implied cost of additional rework caused by choosing an easy solution now instead of using a better approach that would take longer.</p><h4>15. User Story</h4><p><strong><em>Example: “The user story for this feature is well defined.”</em></strong><br>A user story is a short description of a feature from the perspective of the end-user, outlining the need or desire it fulfills.</p><h4>16. API (Application Programming Interface)</h4><p><strong><em>Example: “The API integration is complete.”</em></strong><br>An API allows different software systems to communicate with each other, typically used to integrate various services and components.</p><h4>17. Sprint Retrospective</h4><p><strong><em>Example: “We’ll discuss what went well and what didn’t in the sprint retrospective.”</em></strong><br>A meeting held at the end of a sprint where the team reflects on what worked well, what didn’t, and how processes can be improved for the next sprint.</p><h4>18. Jira</h4><p><strong><em>Example: “I’ll update the task status in Jira.”</em></strong><br>Jira is a popular tool for tracking tasks and managing Agile projects, where tasks are often categorized in sprints and prioritized in backlogs.</p><h4>19. CI/CD (Continuous Integration/Continuous Deployment)</h4><p><strong><em>Example: “The CI/CD pipeline is set up for automated testing and deployment.”</em></strong><br>CI/CD automates the process of testing and deploying code, ensuring that changes can be delivered to users quickly and safely.</p><h4>20. Kanban</h4><p><strong><em>Example: “We follow a Kanban approach for managing tasks.”</em></strong><br>Kanban is a method for managing work by visualizing tasks on a board, helping teams balance demand with available capacity and allowing for continuous delivery.</p><h4>21. Branch</h4><p><strong><em>Example: “I’ll create a new branch for this feature.”</em></strong><br>A branch in version control is a separate line of development, allowing developers to work on new features or fixes without affecting the main codebase.</p><h4>22. Build</h4><p><strong><em>Example: “The build failed due to a missing dependency.”</em></strong><br>A build is the process of converting source code into a standalone form that can be run or deployed, often involving compiling and linking the code.</p><h4>23. Pipeline</h4><p><strong><em>Example: “The pipeline needs to be updated to include the new tests.”</em></strong><br>A pipeline is a series of automated processes that are triggered when changes are made to the codebase, typically including steps like testing, building, and deploying.</p><h4>24. Sprint Planning</h4><p><strong><em>Example: “We’ll decide the tasks for the next two weeks during sprint planning.”</em></strong><br>Sprint planning is a meeting where the team decides which tasks will be worked on during the upcoming sprint, often based on priorities in the backlog.</p><h4>25. Production</h4><p><strong><em>Example: “Is the new feature live in production?”</em></strong><br>Production refers to the live environment where the application is used by real users, as opposed to development or staging environments.</p><p>Using these terms in team chats will help you communicate effectively with your colleagues and demonstrate your understanding of the software development process. Whether you’re discussing the latest sprint, planning a deployment, or reviewing code, being fluent in this terminology will make you a more valuable member of your team.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0066a28a18f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Magic of Inner Classes in Java ]]></title>
            <link>https://medium.com/@raghunathchavva/magic-of-inner-classes-in-java-1df28044c590?source=rss-6386bc8113f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/1df28044c590</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Raghu Chavva]]></dc:creator>
            <pubDate>Sun, 30 Jul 2023 16:21:10 GMT</pubDate>
            <atom:updated>2023-07-30T16:21:10.732Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*1laTpiq3S-XLpX5eHQptmA.png" /><figcaption>Java inner classes</figcaption></figure><p><strong>We can declare a class inside another class; such classes are called inner classes.</strong></p><p><strong>Example:</strong> Without an existing University object, there is no chance of an existing Department object.Hence, we have to define the department class inside the university class.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*aFLDqXtMemUIWTalHjitYQ.jpeg" /><figcaption>inner class example in java</figcaption></figure><p><strong>Note:</strong> The relationship between outer class and inner class is not an IS-A relationship, and it is a Has-A relationship.</p><h4>Java offers four types of inner classes:</h4><ol><li>Normal or Regular inner classes</li><li>Method Local inner classes</li><li>Anonymous inner classes</li><li>Static nested classes.</li></ol><h3>Normal or Regular inner classes</h3><p>— — — — — — — — — — — — — — — — — — — — — — —</p><p>If we are declaring any named class inside another class directly without a static modifier, Such types of inner classes are called normal or regular inner classes.</p><p><strong>Syntax:</strong></p><pre>class Outer //outer class<br>{<br>   class Inner //inner class<br>   {<br>   }<br>}</pre><p><strong>Case 1: Accessing inner class code from static area of class.</strong></p><pre>// Defining the Outer class<br>public class Outer {<br>    <br>    // Inner class declaration<br>    class Inner {<br>        <br>        // Method to display a message<br>        public void display() {<br>            System.out.println(&quot;Inner class&quot;);<br>        }<br>    }<br><br>    // Main method to execute the program<br>    public static void main(String[] args) {<br>        // Creating an instance of the Outer class and then an instance of the Inner class<br>        // The &#39;new Outer()&#39; part creates an instance of the Outer class,<br>        // and the &#39;new Inner()&#39; part creates an instance of the Inner class within the Outer class.<br>        Outer.Inner obj = new Outer().new Inner();<br>        <br>        // Calling the display() method of the Inner class through the &#39;obj&#39; reference<br>        obj.display();<br>    }<br>}</pre><p><strong>Output:</strong><br>Innerclass</p><p><strong>Case 2: Accessing inner class code from the instance area of an outer class.</strong></p><pre>// Defining the Outer class<br>class Outer {<br>    <br>    // Inner class declaration<br>    class Inner {<br>        <br>        // Method to display a message<br>        public void display() {<br>            System.out.println(&quot;Inner class&quot;);<br>        }<br>    }<br>    <br>    // Method to access the Inner class<br>    public void access() {<br>        // Creating an instance of the Inner class within the Outer class<br>        Inner innerClass = new Inner(); <br>        <br>        // Calling the display() method of the Inner class<br>        innerClass.display();<br>    }<br>}<br><br>// Test class to demonstrate the usage of the Outer class and its Inner class<br>public class Test {<br>    public static void main(String[] args) {<br>        // Creating an instance of the Outer class<br>        Outer outerClass = new Outer();<br>        <br>        // Calling the access() method of the Outer class, which internally accesses the Inner class<br>        outerClass.access();<br>    }<br>}</pre><p><strong>Output:</strong><br>Innerclass</p><p><strong>Case 3: Accessing inner class code from outside the outer class</strong></p><pre>// Defining the Outer class<br>class Outer {<br>    <br>    // Inner class declaration<br>    class Inner {<br>        <br>        // Method to display a message<br>        public void display() {<br>            System.out.println(&quot;Inner class&quot;);<br>        }<br>    }<br>}<br><br>// Test class to demonstrate different ways of creating and using the Inner class<br>public class Test {<br>    public static void main(String[] args) {<br><br>        // Way 1: Object creation using two steps<br>        Outer objOuter = new Outer(); // Creating an instance of the Outer class<br>        Outer.Inner objInner = objOuter.new Inner(); // Creating an instance of the Inner class within the Outer class<br>        objInner.display(); // Calling the display() method of the Inner class<br><br>        // Way 2: Object creation in one step<br>        Outer.Inner objiInner1 = new Outer().new Inner(); // Creating an instance of the Inner class within a new instance of the Outer class<br>        objiInner1.display(); // Calling the display() method of the Inner class<br><br>        // Way 3: Object creation and method call in a single line<br>        new Outer().new Inner().display(); // Creating an instance of the Inner class within a new instance of the Outer class and calling the display() method<br>    }<br>}</pre><p><strong>Output:</strong><br>Innerclass<br>Innerclass<br>Innerclass</p><h3>Method Local inner classes</h3><p>— — — — — — — — — — — — — — — — — — — — —</p><p>Sometimes we can declare a class inside a method; such inner classes are called method local inner classes. <strong>Static inner classes can’t declare</strong> inside methods. It generates an error. illegal modifier.</p><pre>// Defining the Outer class<br>class Outer {<br>    <br>    // Method within the Outer class<br>    public void method() {<br>        <br>        // Inner class declaration within the method<br>        class Inner {<br>            <br>            // Method to calculate and display the sum of two numbers<br>            public void sum(int num1, int num2) {<br>                System.out.println(&quot;sum=&quot; + (num1 + num2));<br>            }<br>        }<br>        <br>        // Creating an instance of the Inner class<br>        Inner obj = new Inner();<br>        <br>        // Calling the sum() method of the Inner class multiple times with different arguments<br>        obj.sum(2, 3);<br>        obj.sum(3, 3);<br>        obj.sum(8, 9);<br>    }<br>}<br><br>// Test class to demonstrate the usage of the Outer class and its Inner class<br>public class Test {<br>    public static void main(String[] args) {<br>        // Creating an instance of the Outer class and calling its method<br>        new Outer().method();<br>    }<br>}</pre><p><strong>Output:</strong><br>sum=5<br>sum=6<br>sum=17</p><h3>Anonymous inner classes :</h3><p>&gt; On certain occasions, we have the option to declare an inner class without a name. These kinds of inner classes are referred to as <strong>“anonymous inner classes.”</strong></p><p>&gt; The primary purpose of anonymous inner classes is to be used instantly when needed.</p><p><strong>Syntax:</strong></p><pre>&lt;ParentClassOrInterface&gt; objectName = new &lt;ParentClassOrInterface&gt;() {<br>    // Anonymous class body<br>    // It can contain fields, methods, or additional inner classes.<br>    // It can also override methods from the parent class or interface.<br>};</pre><p>&gt; There exist three types of anonymous inner classes:</p><ol><li>Anonymous inner class that extends a class.</li><li>Anonymous inner class that implements an interface.</li><li>Anonymous inner class that is defined inside method arguments.</li></ol><h3>Anonymous inner class that extends a class.</h3><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><pre>class PopCorn {<br>    public void taste() {<br>        System.out.println(&quot;salty&quot;); // Print &quot;salty&quot; when the &#39;taste()&#39; method of PopCorn is called.<br>    }<br>}<br><br>public class Test {<br>    public static void main(String[] args) {<br>        PopCorn obj = new PopCorn() {  // Anonymous inner class<br>            public void taste() {<br>                System.out.println(&quot;spicy&quot;); // Print &quot;spicy&quot; when the &#39;taste()&#39; method of the anonymous inner class is called.<br>            }<br>        };<br>        obj.taste(); // Invokes the &#39;taste()&#39; method of the anonymous inner class, so &quot;spicy&quot; will be printed.<br><br>        PopCorn obj1 = new PopCorn();<br>        obj1.taste(); // Invokes the &#39;taste()&#39; method of the original PopCorn class, so &quot;salty&quot; will be printed.<br>    }<br>}</pre><p><strong>Output:</strong><br>spicy<br>salty</p><p>Analysis:</p><p>1.<strong> PopCorn p = new PopCorn();</strong><br> In this line, we are simply creating a `PopCorn` object using the default constructor of the `PopCorn` class.</p><p>2. <strong>PopCorn p = new PopCorn() {</strong></p><p><strong>};</strong><br> Here, we are creating an anonymous inner class that extends the `PopCorn` class, but it does not override any methods or add any additional content. This anonymous inner class has an empty body, and we create an object of this anonymous inner class using the reference of the parent class `PopCorn`.</p><p>3. In this case, we are creating an unnamed child class that extends the `PopCorn` class. We create an object of this unnamed child class using a reference variable of the parent class `PopCorn`. The child class is defined inside the code block, which is an example of an anonymous inner class. The use of an anonymous inner class allows us to provide a custom implementation of the `PopCorn` class without explicitly naming the child class.</p><h3>Static nested classes</h3><p>Sometimes we can declare inner classes with the static modifier; such innerclasses are called static nested classes.An inner class object is always strongly associated with an outer class object. But in the case of a static nested class without an existing outer class object, there may be a chance of an existing static nested class object. <br>i.e., a static nested class object is not strongly associated with an outer class object.</p><p><strong>Syntax:</strong></p><pre>class OuterClass {<br>    // OuterClass members and methods<br><br>    static class StaticNestedClass {<br>        // StaticNestedClass members and methods<br>    }<br>}</pre><p><strong>Example 1:</strong></p><pre>class Outer {<br>    static class Outer$Inner {<br>        public void display() {<br>            System.out.println(&quot;Outer$Inner&quot;);<br>        }<br>    }<br>}<br><br>public class Test {<br>    public static void main(String[] args) {<br>        // Create an instance of the static nested class Outer$Inner and call its display() method.<br>        new Outer.Outer$Inner().display(); <br>    }<br>}</pre><p><strong>Output:</strong><br>Outer$Inner</p><p><strong>Example 2 :</strong></p><pre>class Outer {<br>    static class Outer$Inner {<br>        static class Outer$Inner$subInner {<br>            public static void display() {<br>                System.out.println(&quot;Outer$Inner$subInner static method&quot;);<br>            }<br>        }<br>    }<br>}<br><br>public class Test {<br>    public static void main(String[] args) {<br>        Outer.Outer$Inner.Outer$Inner$subInner.display();<br>    }<br>}</pre><p><strong>Output:</strong><br>Outer$Inner$subInner static method</p><p>have any doubts :</p><p>&gt; mail me : java.quizs144@gmail.com</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1df28044c590" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Method Overriding In Java]]></title>
            <link>https://medium.com/@raghunathchavva/method-overriding-in-java-5b8a0f71231b?source=rss-6386bc8113f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b8a0f71231b</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Raghu Chavva]]></dc:creator>
            <pubDate>Tue, 18 Jul 2023 17:16:23 GMT</pubDate>
            <atom:updated>2023-07-18T17:16:23.130Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*7ZhTVs28khf1yZEHb2xjSg.png" /><figcaption>java method overriding</figcaption></figure><p><strong>The process of replacing existed method functionality with some new functionality is called as Method Overriding.</strong></p><p>To perform Method Overriding, we must have <strong>inheritance relationship </strong>classes.In Java applications, we will override super class method with sub class method.If we want to override super class method with sub class method then both super class method and sub class method must have same method prototype.</p><p>Let’s consider a simple example to demonstrate method overriding in Java.</p><pre>class Animal {<br>    public void sound() {<br>        System.out.println(&quot;Animal makes a sound.&quot;);<br>    }<br>}<br><br>class Dog extends Animal {<br>    @Override<br>    public void sound() {<br>        System.out.println(&quot;Dog barks.&quot;);<br>    }<br>}<br><br>public class Main {<br>    public static void main(String[] args) {<br>        Animal animal = new Animal();<br>        Animal dog = new Dog();<br><br>        animal.sound(); // Output: Animal makes a sound.<br>        dog.sound();    // Output: Dog barks.<br>    }<br>}</pre><p>In this example, we have two classes: Animal and Dog. The Animal class has a method called sound(), which simply prints &quot;Animal makes a sound.&quot; The Dog class is a subclass of Animal and it overrides the sound() method to print &quot;Dog barks.&quot;</p><h3>Rules to perform Method Overriding:</h3><ol><li>To override super class method with sub class then the super class method <strong>must not be declared as private.</strong></li></ol><pre>class Animal {<br>    private void sound() { //error <br>        System.out.println(&quot;Animal makes a sound.&quot;);<br>    }<br>}<br><br>class Dog extends Animal {<br>    @Override<br>    public void sound() {<br>        System.out.println(&quot;Dog barks.&quot;);<br>    }<br>}<br><br>public class Main {<br>    public static void main(String[] args) {<br>        Animal animal = new Animal();<br>        Animal dog = new Dog();<br><br>        animal.sound(); <br>        dog.sound();    <br>    }<br>}<br><br>//error: sound() has private access in Animal</pre><p>2.To override super class method with sub class method then the sub class method should have the <strong>same return type of the super class</strong> method.</p><pre>class Animal {<br>    public void sound() { <br>        System.out.println(&quot;Animal makes a sound.&quot;);<br>    }<br>}<br> <br>class Dog extends Animal {<br>    @Override<br>    public int sound() { //error<br>        System.out.println(&quot;Dog barks.&quot;);<br>        return 10;<br>    }<br>}<br><br>public class Main {<br>    public static void main(String[] args) {<br>        Animal animal = new Animal();<br>        Animal dog = new Dog();<br><br>        animal.sound(); <br>        dog.sound();    <br>    }<br>}<br><br>//  error: sound() in Dog cannot override sound() in Animal<br>//    public int sound() {<br>//                ^<br>//   return type int is not compatible with void</pre><p>3.To override super class method with sub class method then super class <strong>method must not be declared as final</strong> sub class method may or may not be final.</p><pre>class Animal {<br>    final void sound() { //error<br>        System.out.println(&quot;Animal makes a sound.&quot;);<br>    }<br>}<br> <br>class Dog extends Animal {<br>    @Override<br>    public void  sound() {<br>        System.out.println(&quot;Dog barks.&quot;);<br>        <br>    }<br>}<br><br>public class Main {<br>    public static void main(String[] args) {<br>        Animal animal = new Animal();<br>        Animal dog = new Dog();<br><br>        animal.sound(); <br>        dog.sound();    <br>    }<br>}<br><br>// error: sound() in Dog cannot override sound() in Animal<br>//     public void  sound() {<br>//                  ^<br>//   overridden method is final</pre><p>4.To override super class method with subclass method, sub class method must have either <strong>same scope</strong> of the super class method or <strong>high scope </strong>when compared with super class method scope otherwise compiler will rise an error.</p><pre>class Animal {<br>    void sound() { //less scope<br>        System.out.println(&quot;Animal makes a sound.&quot;);<br>    }<br>}<br> <br>class Dog extends Animal {<br>    @Override<br>    public void  sound() { //higher scope<br>        System.out.println(&quot;Dog barks.&quot;);<br>        <br>    }<br>}<br><br>public class Main {<br>    public static void main(String[] args) {<br>        Animal animal = new Animal();<br>        Animal dog = new Dog();<br><br>        animal.sound(); <br>        dog.sound();    <br>    }<br>}<br><br>//output<br>//Animal makes a sound.<br>//Dog barks.</pre><pre>class Animal {<br>    public void sound() { //higher scope<br>        System.out.println(&quot;Animal makes a sound.&quot;);<br>    }<br>}<br> <br>class Dog extends Animal {<br>    @Override<br>    void  sound() { //less scope<br>        System.out.println(&quot;Dog barks.&quot;);<br>        <br>    }<br>}<br><br>public class Main {<br>    public static void main(String[] args) {<br>        Animal animal = new Animal();<br>        Animal dog = new Dog();<br><br>        animal.sound(); <br>        dog.sound();    <br>    }<br>}<br><br>//error: sound() in Dog cannot override sound() in Animal<br>//    void  sound() { <br>//          ^<br>//  attempting to assign weaker access privileges; was public<br>//1 error</pre><p>5.In Java, when you try to override a superclass method with a subclass method, if either the superclass method or the subclass method is declared as static, the compiler will raise an error. However, if both the superclass and the subclass methods are declared as static, the compiler will not raise any error, but the JVM will execute the method from the superclass, not the subclass.</p><p><strong>In Java, static methods cannot be overridden. </strong>When a subclass declares a static method with the same name, return type, and parameter list as a static method in its superclass, it does not actually override the superclass method.</p><pre>class Animal {<br>    static void sound() {<br>        System.out.println(&quot;Animal makes a sound.&quot;);<br>    }<br>}<br><br>class Dog extends Animal {<br>    static void sound() {<br>        System.out.println(&quot;Dog barks.&quot;);<br>    }<br>}<br><br>public class Main {<br>    public static void main(String[] args) {<br>        Animal animal = new Dog();<br>        animal.sound(); // Output: Animal makes a sound.<br>    }<br>}</pre><p><strong>It’s important to note that method overriding applies to instance methods, not to static methods.</strong></p><p>In conclusion, method overriding in Java is a powerful mechanism that allows a subclass to provide its own implementation for a method defined in its superclass. It enables us to replace the existing functionality of the superclass method with new behavior tailored to the subclass’s requirements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b8a0f71231b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Most Asked Accenture Interview Questions with Answers]]></title>
            <link>https://medium.com/@raghunathchavva/most-asked-accenture-interview-questions-with-answers-15cebb801b5d?source=rss-6386bc8113f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/15cebb801b5d</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[hiring]]></category>
            <category><![CDATA[accenture]]></category>
            <category><![CDATA[hr]]></category>
            <dc:creator><![CDATA[Raghu Chavva]]></dc:creator>
            <pubDate>Tue, 04 Jul 2023 05:29:04 GMT</pubDate>
            <atom:updated>2023-07-04T05:29:04.063Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*NoModD38Wdsns2-D7Z6W0Q.jpeg" /><figcaption>Accenture interview questions</figcaption></figure><h3>Tell me about yourself.</h3><p>This open-ended question is usually asked to initiate the interview and assess your communication skills. Prepare a concise yet impactful response that highlights your relevant experiences, skills, and achievements. Focus on aspects that align with the job description and demonstrate your passion for the role.</p><p><strong>Sample Answer:</strong> “ Sure. I recently graduated with a degree in Computer Science and I have a strong passion for technology and problem-solving. During my time at university, I participated in several coding competitions and interned at a software development company, where I gained hands-on experience in developing web applications. I am highly motivated, a quick learner, and excited about the opportunity to contribute to Accenture’s innovative projects. ”</p><h4>2. Why are you interested in working for Accenture?</h4><p>This question aims to gauge your understanding of the company and its values. Research Accenture thoroughly before the interview, emphasizing its core competencies and projects. Show enthusiasm for the company culture, industry-leading innovations, and any personal connections you have to Accenture’s mission.</p><p><strong>Sample Answer: </strong>“ I am genuinely interested in working for Accenture because it is a global leader in technology consulting and digital transformation. I have been following Accenture’s success stories and its reputation for delivering cutting-edge solutions to clients across various industries. Moreover, the collaborative work environment and emphasis on professional development at Accenture align perfectly with my career goals. I believe that working at Accenture will provide me with the platform to grow, learn, and make a meaningful impact. ”</p><h4>3. Describe a challenging situation you faced at work and how you resolved it.</h4><p>Employers value problem-solving skills and the ability to handle difficult situations. Choose a work-related example where you encountered a challenge, clearly explain the situation, your actions, and the positive outcome. Emphasize collaboration, adaptability, and effective communication in your response.</p><p><strong>Sample Answer:</strong> “ During my final year project, my team faced a critical setback when our database crashed, resulting in the loss of significant project data. I immediately took charge and coordinated with team members to assess the damage. We quickly devised a plan to recover the lost data by utilizing backup files and reaching out to the professors for guidance. Despite the setback, we worked extra hours and managed to restore the majority of the data, ensuring the project’s timely completion. This experience taught me the importance of backup systems, effective communication, and the ability to remain calm under pressure. ”</p><h4>4. What is your approach to working in a team?</h4><p>Collaboration is a crucial aspect of Accenture’s work environment. Demonstrate your ability to work effectively with others by sharing experiences that highlight your teamwork, active listening, conflict resolution, and leadership skills. Provide specific examples that demonstrate your contributions to achieving team goals.</p><h4>5. How do you handle tight deadlines and multiple priorities?</h4><p>Accenture often operates in fast-paced environments with multiple projects. Showcase your organizational skills, time management abilities, and capacity to prioritize tasks effectively. Explain how you maintain focus, meet deadlines, and ensure high-quality deliverables, even under pressure.</p><p><strong>Sample Answer:</strong> “ When faced with tight deadlines and multiple priorities, I first assess the tasks at hand and prioritize them based on their urgency and importance. I break down larger tasks into smaller, manageable sub-tasks and create a schedule or to-do list to stay organized. Additionally, I utilize time management techniques such as setting realistic goals, focusing on one task at a time, and utilizing productivity tools to optimize my workflow. I am also proactive in seeking assistance or delegating tasks when necessary to ensure timely completion of projects. ”</p><h4>6. Describe a situation where you had to quickly learn and apply new information.</h4><p>Adaptability and continuous learning are valued qualities at Accenture. Provide an example where you rapidly acquired new skills or knowledge and successfully applied them to solve a problem or complete a project. Highlight your ability to embrace change and your commitment to self-improvement.</p><p><strong>Sample Answer:</strong> “ During my internship, I was assigned a project that required me to work with a programming language I was not familiar with. Recognizing the importance of adapting quickly, I took the initiative to learn the language independently through online tutorials, documentation, and seeking guidance from experienced colleagues. I applied my newly acquired knowledge to complete the project successfully, demonstrating my ability to quickly grasp new concepts and apply them effectively. ”</p><h4>7. Tell me about a time when you demonstrated leadership.</h4><p>Leadership potential is highly regarded at Accenture. Narrate a situation where you took charge, motivated a team, or influenced positive change. Emphasize your ability to inspire others, make informed decisions, and achieve results collaboratively.</p><p><strong>Sample Answer: </strong>“ As the president of my college’s computer club, I organized a hackathon event that aimed to foster innovation and collaboration among students. Leading a team of volunteers, I delegated tasks, coordinated with sponsors, and ensured a seamless execution of the event. I motivated participants, facilitated team formations, and encouraged creative problem-solving throughout the competition. The event received positive feedback, and I learned the importance of leading by example, empowering others, and driving a shared vision. ”</p><h4>8. What are your long-term career goals?</h4><p>Accenture is interested in candidates with clear career aspirations. Outline your goals, ensuring they align with the industry and Accenture’s opportunities for growth. Emphasize your willingness to take on new challenges and how you plan to leverage your strengths to contribute to the company’s success.</p><p><strong>Sample Answer:</strong> “ In the long term, I aspire to become a technical architect, specializing in developing innovative solutions for complex business challenges. I believe that by continuously expanding my technical knowledge, staying updated with industry trends, and gaining hands-on experience in different projects, I will be able to contribute significantly to the field of technology consulting. I am excited about the growth opportunities at Accenture, which align with my long-term goals and provide the platform for continuous learning and career advancement. ”</p><h4>9. How do you stay up-to-date with industry trends and advancements?</h4><p>Accenture values candidates who stay ahead in a rapidly evolving industry. Discuss your commitment to professional development, such as attending conferences, taking online courses, reading industry publications, or participating in relevant communities. Highlight how you utilize this knowledge to drive innovation.</p><p><strong>Sample Answer: </strong>“ To stay up-to-date with industry trends, I regularly read technology blogs, follow industry influencers on social media, and subscribe to relevant newsletters. I actively participate in online communities and forums where professionals share insights and discuss emerging technologies. Additionally, I take online courses and attend webinars to enhance my skills and deepen my understanding of new advancements. I believe that continuous learning is essential in the fast-paced technology industry, and I am committed to staying ahead of the curve. ”</p><h4>10. “Do you have any questions for us?”</h4><p>An interview is a two-way conversation. Prepare thoughtful questions that demonstrate your interest in the role, the team, and the company. Inquire about the work environment, growth opportunities, training programs, or any recent company achievements. This demonstrates your enthusiasm and helps you gather valuable insights.</p><p><strong>Sample Answer: </strong>“ Yes, I do. Could you provide more information about the training and development programs offered to employees at Accenture? I am eager to continue learning and honing my skills, and I would like to know how Accenture supports professional growth. Additionally, I am curious about the company’s approach to promoting diversity and inclusion in the workplace. Could you elaborate on the initiatives Accenture has in place to foster an inclusive work environment? ”</p><blockquote><strong>Remember to personalize these answers based on your own experiences and aspirations. Prepare well, practice your responses, and approach the interview with confidence. Good luck with your interview at Accenture!</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15cebb801b5d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Java Coding Standards and Best Practices: Write High-Quality Code]]></title>
            <link>https://medium.com/@raghunathchavva/java-coding-standards-and-best-practices-write-high-quality-code-fafc4ad070c3?source=rss-6386bc8113f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/fafc4ad070c3</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Raghu Chavva]]></dc:creator>
            <pubDate>Fri, 30 Jun 2023 04:02:11 GMT</pubDate>
            <atom:updated>2023-06-30T04:02:11.835Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*hswsuQJ_m_kjgVvzO53lTQ.png" /><figcaption>java programming</figcaption></figure><p>Welcome, Java enthusiasts! Are you eager to take your programming skills to the next level? In the vast realm of Java development, adhering to coding standards and best practices is key to writing clean, efficient, and maintainable code. In this article, we’ll embark on a journey to explore essential Java coding standards and best practices. So, grab your coding hats, and let’s dive right in!</p><h3>1.Consistency is King:</h3><ul><li>Use consistent and clear indentation for better code readability.</li><li>Follow a coding style guide, such as the Java Code Conventions or a team-agreed style guide.</li></ul><pre>// Inconsistent indentation<br>if (condition) {<br>System.out.println(&quot;Hello&quot;);<br>    } else {<br>    System.out.println(&quot;World&quot;);<br>        }<br><br>// Consistent indentation<br>if (condition) {<br>    System.out.println(&quot;Hello&quot;);<br>} else {<br>    System.out.println(&quot;World&quot;);<br>}</pre><h3>2.Meaningful Variable Names:</h3><p>Choosing meaningful variable names not only improves readability but also enhances code maintainability. Avoid using single-letter variables or cryptic abbreviations. Let the names reflect the purpose of the variable. Consider the following example:</p><pre>// Poor variable naming<br>int x = 5;<br>int y = 10;<br><br>// Improved variable naming<br>int width = 5;<br>int height = 10;</pre><h3>3.Utilize Comments Wisely:</h3><p>Comments play a crucial role in conveying the intent and logic behind your code. However, over-commenting or leaving outdated comments can clutter the code base and confuse readers. Use comments to explain complex algorithms, highlight important details, or clarify any potential pitfalls. Let’s illustrate this with an example:</p><pre>// Poor use of comments<br>int result = add(2, 3); // Adding two numbers<br><br>// Improved use of comments<br>int result = add(2, 3); // Calculate the sum of 2 and 3</pre><h3><strong>4.Error Handling and Exceptions:</strong></h3><p>Java provides a robust exception handling mechanism, and utilizing it effectively can make your code more reliable. Always handle exceptions gracefully, using try-catch blocks, and provide meaningful error messages. Here’s an example:</p><pre>// Poor exception handling<br>try {<br>    // Some code that might throw an exception<br>} catch (Exception e) {<br>    // Generic error handling without proper logging or messaging<br>}<br><br>// Improved exception handling<br>try {<br>    // Some code that might throw an exception<br>} catch (SpecificException e) {<br>    log.error(&quot;An error occurred while performing operation X: &quot; + e.getMessage());<br>    // Additional error handling specific to the exception<br>}</pre><h3>5.Code Re-usability with Methods:</h3><p>Encapsulating reusable code into methods not only promotes code re-usability but also enhances readability and maintainability. Break down complex tasks into smaller, self-contained methods. Let’s take a look at an example:</p><pre>// Non-reusable code<br>System.out.println(&quot;Hello, John!&quot;);<br>System.out.println(&quot;Hello, Jane!&quot;);<br><br>// Reusable code using a method<br>void greet(String name) {<br>    System.out.println(&quot;Hello, &quot; + name + &quot;!&quot;);<br>}<br><br>greet(&quot;John&quot;);<br>greet(&quot;Jane&quot;);</pre><h3><strong>6.Avoid Magic Numbers:</strong></h3><p>Magic numbers refer to hard-coded numerical values scattered throughout your code without any explanation. They make your code difficult to understand and maintain. Instead, define constants or variables with descriptive names to make the code more readable and maintainable. Here’s an example:</p><pre>// Magic number<br>if (status == 1) {<br>    // Do something<br>}<br><br>// Improved code using constants<br>final int ACTIVE_STATUS = 1;<br>if (status == ACTIVE_STATUS) {<br>    // Do something<br>}</pre><h3>7.Use Enumerations for Constants:</h3><p>When you have a set of related constants, consider using Java enums. Enums provide a type-safe way to define a fixed number of values, improving code clarity and eliminating the use of magic numbers or string literals. Let’s see an example:</p><pre>// Without enums<br>public static final int MONDAY = 1;<br>public static final int TUESDAY = 2;<br>public static final int WEDNESDAY = 3;<br><br>// With enums<br>public enum Day {<br>    MONDAY,<br>    TUESDAY,<br>    WEDNESDAY<br>}<br><br>Day currentDay = Day.MONDAY;</pre><p><strong>Conclusion: </strong>By following these Java coding standards and best practices, you can significantly improve the quality and maintainability of your code. Writing clean, readable, and well-organized code not only benefits you but also enhances collaboration among team members. Embrace these practices, and you will elevate your software engineering skills to new heights, ultimately leading to more efficient and reliable Java applications. Happy coding!</p><p>Remember, coding standards and best practices may vary across projects and teams. It’s important to consult and align with your organization’s guidelines to ensure consistency and compatibility with existing codebases.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fafc4ad070c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Enums in Java: Simplifying Code with Constants]]></title>
            <link>https://medium.com/@raghunathchavva/exploring-enums-in-java-simplifying-code-with-constants-47693c6dba69?source=rss-6386bc8113f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/47693c6dba69</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[enumeration]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <dc:creator><![CDATA[Raghu Chavva]]></dc:creator>
            <pubDate>Mon, 26 Jun 2023 05:35:54 GMT</pubDate>
            <atom:updated>2023-06-26T05:35:54.115Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*NmzZmuAy4MW5DthF1Mvbyg.png" /></figure><p><strong>Introduction</strong> : In the world of Java programming, enums offer a valuable means of simplifying code by representing a group of constants within a special “class.” In this article, we will delve into the concept of enums, including their definition, usage, and benefits. We’ll also explore a real-world example showcasing how enums can be employed in a pizza delivery service.</p><p><strong>Explanation of Enums : </strong>An enum in Java represents a set of constants or unchangeable variables, similar to final variables. It introduces a new type that can be assigned specific values. Enum constants, also known as constants, define the possible values that the enum can take. For instance, consider the following enum declaration:</p><pre>enum Level {<br>    LOW,        // Low level<br>    MEDIUM,     // Medium level<br>    HIGH        // High level<br>}</pre><p>In the example above, we have defined an enum called “Level” with three constants: LOW, MEDIUM, and HIGH.</p><p><strong>Where We Use Enums:</strong> Enums find practical application in various scenarios, including:</p><ol><li><strong>Representing a Fixed Set of Values:</strong> Enums are ideal for representing predefined sets of values that a variable can assume. Examples include days of the week, months, colors, or menu options.</li><li><strong>Improving Code Readability:</strong> By leveraging enums, developers can enhance code readability and self-explanatory nature. Enums provide a concise and clear method for defining and utilizing constants in code.</li></ol><p><strong>Real-World Example</strong> : Let’s explore a real-world scenario to better understand the utility of enums. Imagine you’re developing a pizza delivery service. To ensure that customers can only select from a specific set of options for their pizza size, you can utilize enums.</p><p>Suppose the available pizza sizes are small, medium, and large. Rather than allowing customers to enter arbitrary size values, enums restrict the options to these three predefined sizes. Let’s have a playful conversation between a user and the program:</p><p><strong>User:</strong> “I’d like to order a pizza, please!”</p><p><strong>Program:</strong> “Great! What size would you like? We have small, medium, and large.”</p><p><strong>User:</strong> “Hmm, let me think… I’ll go with… gigantic!”</p><p><strong>Program: </strong>“Oops! I’m sorry, but we only have small, medium, and large sizes available. Please choose one of those options.”</p><p><strong>User:</strong> “Okay, fine. I’ll have a medium pizza then.” Program: “Perfect! Your medium pizza is on the way.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*00nU5HN7kI0huA_a2ygBIQ.png" /><figcaption>java enum example</figcaption></figure><p>In this scenario, the enum ensures that users can only choose from the specified sizes (small, medium, and large). If they attempt to select an invalid option like “gigantic,” the program catches the error and prompts them to choose from the valid options.</p><p>The use of enums adds a controlled, enjoyable, and error-free element to the pizza ordering process, akin to having a friendly pizza robot assistant guiding customers through the menu options.</p><p><strong>Sample Code:<br></strong>Here’s a snippet of code showcasing the usage of enums in a pizza ordering system:</p><pre>// Import the required package<br>import java.util.Scanner;<br><br>public class PizzaOrder {<br>    enum PizzaSize {<br>        SMALL,<br>        MEDIUM,<br>        LARGE<br>    }<br><br>    public static void main(String[] args) {<br>        Scanner scanner = new Scanner(System.in);<br><br>        System.out.println(&quot;Welcome to Pizza Order!&quot;);<br>        System.out.println(&quot;Please choose a pizza size: SMALL, MEDIUM, or LARGE&quot;);<br>        String userInput = scanner.nextLine().toUpperCase();<br><br>        // Validate and set the pizza size<br>        PizzaSize size;<br>        try {<br>            size = PizzaSize.valueOf(userInput);<br>        } catch (IllegalArgumentException e) {<br>            System.out.println(&quot;Invalid size! Please choose from the given options.&quot;);<br>            return;<br>        }<br><br>        // Prepare the pizza based on the selected size<br>        switch (size) {<br>            case SMALL:<br>                System.out.println(&quot;Preparing a small pizza.&quot;);<br>                break;<br>            case MEDIUM:<br>                System.out.println(&quot;Preparing a medium pizza.&quot;);<br>                break;<br>            case LARGE:<br>                System.out.println(&quot;Preparing a large pizza.&quot;);<br>                break;<br>        }<br><br>        scanner.close();<br>    }<br>}</pre><p>In this code, the user is prompted to enter their desired pizza size, which is validated using enums. The program handles invalid size inputs gracefully and prepares the pizza based on the selected size.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47693c6dba69" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Master Java in 20 Days: From Basics to Collections — Your Comprehensive Learning Journey]]></title>
            <link>https://medium.com/@raghunathchavva/master-java-in-20-days-from-basics-to-collections-your-comprehensive-learning-journey-6abbb3c7918d?source=rss-6386bc8113f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6abbb3c7918d</guid>
            <category><![CDATA[hiring]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Raghu Chavva]]></dc:creator>
            <pubDate>Thu, 22 Jun 2023 11:51:13 GMT</pubDate>
            <atom:updated>2023-06-22T11:52:12.380Z</atom:updated>
            <content:encoded><![CDATA[<h3>Master Java in 20 Days: From Basics to Collections — Your Comprehensive Learning Journey</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*wBC0cCjiDM_V9_yLx1AlFw.png" /><figcaption>java programming</figcaption></figure><p><strong>Introduction:</strong> Embarking on a journey to learn Java can be both exciting and rewarding. In this comprehensive content piece, we will guide you through a structured 30-day learning plan, covering all the essential aspects of Java programming from the basics to collections. Whether you’re a beginner or looking to refresh your Java skills, this engaging topic will provide you with the necessary knowledge and resources to master Java and take your coding abilities to new heights.</p><p><strong>Week 1: Laying the Foundation Day 1: Introduction to Java</strong></p><ul><li>Understanding what Java is and its key features.</li><li>Setting up your development environment.</li><li>Writing your first “Hello, World!” program.</li></ul><p><strong>Day 2: Variables and Data Types</strong></p><ul><li>Exploring different data types in Java.</li><li>Declaring and initializing variables.</li><li>Understanding variable scope and naming conventions.</li></ul><p><strong>Day 3: Operators and Expressions</strong></p><ul><li>Learning about arithmetic, relational, and logical operators.</li><li>Using operators to perform calculations and make comparisons.</li><li>Understanding operator precedence and associativity.</li></ul><p><strong>Day 4: Control Flow</strong></p><ul><li>Introducing decision-making with if-else statements.</li><li>Using switch statements for multiple branching.</li><li>Implementing loops with while, do-while, and for loops.</li></ul><p><strong>Day 5: Methods and Functions</strong></p><ul><li>Defining and calling methods in Java.</li><li>Understanding method parameters and return values.</li><li>Exploring method overloading and recursion.</li></ul><p><strong>Week 2: Object-Oriented Programming (OOP) Fundamentals</strong></p><p><strong>Day 6: Introduction to OOP</strong></p><ul><li>Understanding the principles and benefits of OOP.</li><li>Exploring classes, objects, and instances.</li><li>Encapsulation, inheritance, and polymorphism.</li></ul><p><strong>Day 7: Classes and Objects</strong></p><ul><li>Creating classes and objects in Java.</li><li>Defining attributes and behaviors.</li><li>Working with constructors and instance methods.</li></ul><p><strong>Day 8: Inheritance and Polymorphism</strong></p><ul><li>Extending classes through inheritance.</li><li>Overriding methods and implementing polymorphism.</li><li>Understanding superclasses and subclasses.</li></ul><p><strong>Day 9: Abstraction and Interfaces</strong></p><ul><li>Implementing abstraction through abstract classes.</li><li>Defining interfaces and their role in Java.</li><li>Implementing multiple interfaces and achieving interface inheritance.</li></ul><p><strong>Day 10: Exception Handling</strong></p><ul><li>Understanding exceptions and error handling.</li><li>Using try-catch blocks to handle exceptions.</li><li>Finally blocks and throwing custom exceptions.</li></ul><p><strong>Week 3: Intermediate Java Concepts</strong></p><p><strong>Day 11: Arrays and Strings</strong></p><ul><li>Working with arrays and manipulating array elements.</li><li>Exploring String manipulation and common String methods.</li><li>Understanding the StringBuilder and StringBuffer classes.</li></ul><p><strong>Day 12: File Handling</strong></p><ul><li>Reading from and writing to files in Java.</li><li>Navigating file systems and directories.</li><li>Exception handling in file operations.</li></ul><p><strong>Day 13: Generics</strong></p><ul><li>Introduction to generics and their benefits.</li><li>Creating generic classes and methods.</li><li>Wildcards and bounded type parameters.</li></ul><p><strong>Day 14: Collections Framework (Part 1)</strong></p><ul><li>Exploring the Java Collections Framework.</li><li>Understanding Lists and their implementations (ArrayList, LinkedList).</li><li>Manipulating list elements and iterating through lists.</li></ul><p><strong>Day 15: Collections Framework (Part 2)</strong></p><ul><li>Working with Sets and their implementations (HashSet, TreeSet).</li><li>Understanding Map interfaces and implementations (HashMap, TreeMap).</li><li>Iterating through sets and maps.</li></ul><p><strong>Week 4: Mastering Collections and Advanced Java Concepts</strong></p><p><strong>Day 16: Collections Framework (Part 3)</strong></p><ul><li>Exploring Queue and Deque interfaces and their implementations.</li><li>Understanding the Stack class and its usage.</li><li>Working with PriorityQueue for priority-based elements.</li></ul><p><strong>Day 17: Multithreading Basics</strong></p><ul><li>Introduction to multithreading concepts.</li><li>Creating threads in Java and managing their execution.</li><li>Synchronization and thread safety.</li></ul><p><strong>Day 18: Concurrency Utilities</strong></p><ul><li>Exploring the java.util.concurrent package.</li><li>Understanding thread pools and Executors.</li><li>Working with Callable and Future for parallel processing.</li></ul><p><strong>Day 19: Lambda Expressions and Stream API</strong></p><ul><li>Understanding lambda expressions and functional interfaces.</li><li>Working with the Stream API for efficient data processing.</li><li>Applying functional programming principles in Java.</li></ul><p><strong>Day 20: Java Reflection</strong></p><ul><li>Introduction to Java Reflection and its applications.</li><li>Inspecting and manipulating classes and their members.</li><li>Dynamically invoking methods and accessing fields.</li></ul><p><strong>Resources:</strong></p><p><strong>Java Syllabus :</strong></p><p><a href="https://www.instagram.com/p/CWdS0oxPQLw/">https://www.instagram.com/p/CWdS0oxPQLw/</a></p><p><strong>Java Notes:<br></strong><a href="https://mirrorcodess.blogspot.com/">https://mirrorcodess.blogspot.com/</a></p><p><strong>Conclusion:</strong> By following this comprehensive 20-day learning plan, you will gain a solid foundation in Java programming, from the basics to collections. Embrace the journey and take advantage of the various concepts and techniques covered in this content piece. With consistent effort, practice, and dedication, you can become a skilled Java developer ready to tackle real-world programming challenges.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6abbb3c7918d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[12 Java Projects for Beginners]]></title>
            <link>https://medium.com/@raghunathchavva/cts12-java-projects-for-beginners-908448b381c8?source=rss-6386bc8113f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/908448b381c8</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Raghu Chavva]]></dc:creator>
            <pubDate>Tue, 20 Jun 2023 06:54:58 GMT</pubDate>
            <atom:updated>2023-06-20T06:55:11.062Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*_ipbpeatxUkS--QKme0cpw.png" /><figcaption>java projects</figcaption></figure><p>Are you a beginner in Java programming, looking for exciting projects to enhance your skills and make your learning journey more enjoyable? Look no further! In this article, we’ve curated a list of 12 attention-grabbing Java projects that will not only provide you with hands-on experience but also captivate your interest. These projects range from mini games to useful applications, covering a wide array of functionalities. So, let’s dive in and explore these fascinating Java projects that will help you unleash your creativity and coding prowess.</p><p><strong>Mini Math Game: A Gateway to Exciting Math Challenges Link:</strong> <a href="https://www.codersarts.com/post/mini-math-game-java-project-help">Mini Math Game Java Project</a></p><p>Are you ready to put your math skills to the test? The Mini Math Game is the perfect choice for beginners to enhance their logical thinking and problem-solving abilities. With a simple and intuitive interface, this game challenges you to pick two numbers that sum up to a given number. You can jazz up the user interface using Swing components, creating a cool and engaging game to share with your friends.</p><p><strong>Digital Clock: Timekeeping Made Interactive Link:</strong> <a href="https://coderspacket.com/digital-clock-using-java">Digital Clock Using Java</a></p><p>Ever wondered how digital clocks are designed? This project is an ideal starting point for beginners to delve into Java’s calendar package and create an aesthetically pleasing digital clock using Java Swing and AWT. By building this project, you’ll gain valuable experience in user interface design while honing your Java skills.</p><p><strong>Calendar Application: Managing Dates Made Simple Link: </strong><a href="https://javahungry.blogspot.com/2013/06/calendar-implementation-gui-based.html">Calendar Implementation GUI-based</a></p><p>The Calendar Application is an excellent project to strengthen your understanding of date and time handling in Java. By utilizing the JCalendar package, you’ll develop an interesting and straightforward application that can be used to track dates and times. Whether you’re building a blog post website or any project involving time-related functionalities, this project will be a valuable addition to your Java repertoire.</p><p><strong>BMI Calculator: Promoting Health with Code Link:</strong> <a href="https://www.codespeedy.com/bmi-calculator-in-java-swing/">BMI Calculator in Java Swing</a></p><p>Body Mass Index (BMI) is a crucial measure for monitoring weight issues. As a beginner, you can tackle this Java Mini Project and create a BMI calculator that takes user inputs like weight and height. Based on this information, your application will display appropriate messages. This project offers a hands-on opportunity to apply Java Swing concepts and gain practical experience in creating useful applications.</p><p><strong>Random Quotes Generator: Inspire with Every Click Link: </strong><a href="https://github.com/fine-code/DashboardProject">Dashboard Project — Random Quotes Generator</a></p><p>Do you enjoy sharing quotes to inspire and motivate others? The Random Quotes Generator project is a fantastic way to generate random quotes from a pre-defined list or by utilizing an API that fetches quotes with a single button press. Embrace your creative side while sharpening your Java skills with this project that adds a touch of inspiration to your programming journey.</p><p><strong>Age Calculator: Unveiling the Secrets of Time Link:</strong> <a href="https://gist.github.com/julia81/ca4aa5b9eeb67dd404be">Age Calculator</a></p><p>Have you ever wondered how to calculate someone’s age programmatically? With the Age Calculator project, you can do just that! This straightforward project allows users to input their date of birth and displays their age. By building this application, you’ll gain valuable insights into date calculations and further enhance your Java coding abilities.</p><p><strong>Text File Encryption and Decryption: Safeguarding Secrets Link: </strong><a href="https://projectworlds.in/text-file-encryption-decryption-project-in-java-netbeans/">Text File Encryption-Decryption Project</a></p><p>Privacy and security are paramount in today’s digital world. This project lets users encrypt a text file using a secret key and then decode it using the same key. By developing this application, you’ll delve into encryption methods, gaining a deeper understanding of how encryption and decryption work. This project can serve as an excellent semester-based Java mini-project, empowering you with essential knowledge for secure data handling.</p><p><strong>Text to PDF Converter: Transforming Words into Portable Documents Link: </strong><a href="https://github.com/shivamv12/OfflineConvertor">Offline Text-to-PDF Converter</a></p><p>Text-to-PDF converters are incredibly useful for individuals who need to convert plain text files into polished and portable PDF documents. In this Java project, you’ll create a text-to-PDF converter that takes text files as input and generates corresponding PDF files. A crucial aspect of this project is preserving formatting from the source text file, including bold, italic, underlined text, indents, and line breaks.</p><p><strong>Quiz Application:</strong> Test Your Knowledge, Challenge Your Friends A quiz application is an engaging way to test your knowledge and compete with others. You can create an online multiplayer quiz app to challenge players worldwide and see how you stack up against global competitors. This project can also be an excellent choice for a Java mini-project, providing you with an opportunity to showcase your skills and create a fun and interactive application.</p><p><strong>Car Racing Game: Fast-Paced Excitement on Your Screen Link:</strong> <a href="https://copyassignment.com/simple-car-race-game-in-java/">Simple Car Race Game in Java</a></p><p>Get ready for high-speed thrills with a Java-based car racing game! By utilizing the Java programming language and the Swing framework, you can design a captivating graphical user interface (GUI) and simulate the adrenaline rush of car racing. This project allows you to learn about user input handling, car motion control, and gameplay elements such as handling, acceleration, and braking.</p><p><strong>Word Counter: Analyzing Text with Code Link: </strong><a href="https://copyassignment.com/word-counter-in-java/">Word Counter in Java</a></p><p>Ever wondered how to count the number of words and characters in a given text? With the Word Counter project, you’ll develop an application that takes user input and provides valuable statistics about the text, including the word count and character count. This project allows you to hone your Java skills while working on a practical utility that can be useful in various scenarios.</p><p><strong>To-Do List: Stay Organized with Ease Link:</strong> <a href="https://copyassignment.com/to-do-list-app-in-java/">To-Do List App in Java</a></p><p>Staying organized is crucial, and a To-Do List application can help you achieve that. This beginner-friendly project allows you to build a simple yet effective task management tool without the need for a database. By leveraging arrays and basic data structures, you’ll create a Java application that empowers users to maintain and organize their daily tasks efficiently.</p><p><strong>Conclusion: </strong>Embarking on these 12 Java projects will provide you with an exciting and interactive journey to enhance your programming skills. From creating mini-games to developing useful applications, each project offers unique opportunities to learn and grow as a Java developer. So, choose a project that sparks your interest and dive into the world of coding innovation. Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=908448b381c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Frequently Asked Java Interview Questions: Google Edition]]></title>
            <link>https://medium.com/@raghunathchavva/frequently-asked-java-interview-questions-google-edition-aef60208871c?source=rss-6386bc8113f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/aef60208871c</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[job-hunting]]></category>
            <dc:creator><![CDATA[Raghu Chavva]]></dc:creator>
            <pubDate>Wed, 14 Jun 2023 09:39:33 GMT</pubDate>
            <atom:updated>2023-06-14T09:39:33.486Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*pwP6X1RXA0W-DWnvBhhBEA.jpeg" /><figcaption>java programming</figcaption></figure><p><strong>1.What are the different types of inner classes in Java?</strong><br>The different types of inner classes in Java are: static nested classes, non-static nested classes (also known as inner classes), local classes, and anonymous classes.</p><p><strong>2.Explain the concept of method overloading and method overriding in Java.</strong><br>Method overloading is when multiple methods in the same class have the same name but different parameters. The compiler determines which method to invoke based on the arguments provided.<br>Method overriding occurs when a subclass provides its own implementation of a method that is already defined in its superclass. The method in the subclass must have the same name, return type, and parameters as the method in the superclass.</p><p><strong>3.How does Java handle exception handling? Explain the try-catch-finally block.</strong><br>Java handles exception handling using the try-catch-finally block. The code that may throw an exception is enclosed within the try block. If an exception occurs, it is caught and handled in the catch block. The finally block is executed regardless of whether an exception occurred or not, and it is used for cleanup operations.</p><p><strong>4.What are the access modifiers in Java? Provide examples.</strong><br>The access modifiers in Java are: public, protected, private, and default.<br>Examples:<br>public: Allows unrestricted access to the member from anywhere.<br>protected: Allows access within the same package and subclasses.<br>private: Restricts access to within the same class.<br>default: Allows access within the same package.</p><p><strong>5.Explain the concept of polymorphism and provide an example in Java.</strong><br>Polymorphism is the ability of an object to take on different forms or have multiple types.<br>Example:</p><pre>class Animal {<br> public void sound() {<br> System.out.println(&quot;Animal makes a sound.&quot;);<br> }<br>}<br>class Dog extends Animal {<br> public void sound() {<br> System.out.println(&quot;Dog barks.&quot;);<br> }<br>}<br>class Cat extends Animal {<br> public void sound() {<br> System.out.println(&quot;Cat meows.&quot;);<br> }<br>}<br>public class Main {<br> public static void main(String[] args) {<br> Animal animal1 = new Dog();<br> Animal animal2 = new Cat();<br> <br> animal1.sound(); // Output: Dog barks.<br> animal2.sound(); // Output: Cat meows.<br> }<br>}</pre><p><strong>6.What is the purpose of the “static” keyword in Java? How is it used?</strong><br>The “static” keyword in Java is used to declare a class-level variable or method that belongs to the class itself rather than an instance of the class. It can be accessed directly using the class name without creating an object.</p><p><strong>7.What are the differences between StringBuffer and StringBuilder in Java?</strong><br>StringBuffer is thread-safe (synchronized), whereas StringBuilder is not thread-safe.<br>StringBuffer is slower compared to StringBuilder due to synchronization, but it is safe to use in a multi-threaded environment.<br>StringBuilder is faster than StringBuffer but should be used in a single-threaded environment.</p><p><strong>8.What is the “this” keyword in Java? How is it used?</strong><br>The “this” keyword refers to the current instance of a class. It can be used to access instance variables, invoke constructors, or differentiate between instance variables and parameters with the same name.</p><p><strong>9.What is the difference between an ArrayList and a LinkedList in Java?</strong><br>ArrayList internally uses an array to store elements and provides fast random access but slower insertions and deletions.<br>LinkedList internally uses a doubly-linked list to store elements and provides fast insertions and deletions but slower random access.</p><p><strong>10.How does Java support multithreading? Explain the Thread synchronization mechanisms.</strong><br>Java supports multithreading through the Thread class and Runnable interface.<br>Thread synchronization mechanisms like synchronized blocks and methods, as well as locks such as ReentrantLock and synchronized keyword, can be used to control access to shared resources and prevent race conditions.</p><p><strong>11.What is the purpose of the “transient” keyword in Java?</strong><br>The “transient” keyword is used to indicate that a variable should not be serialized when an object is converted into a byte stream.</p><p><strong>12.Explain the concept of autoboxing and unboxing in Java?</strong><br>Autoboxing is the automatic conversion of a primitive type to its corresponding wrapper class type.<br>Unboxing is the automatic conversion of a wrapper class type to its corresponding primitive type.</p><p><strong>13.What is the difference between checked and unchecked exceptions in Java?</strong><br>Checked exceptions are checked at compile-time and must be handled using try-catch or declared in the method signature using the “throws” keyword.<br>Unchecked exceptions (RuntimeExceptions) are not checked at compile-time and do not require explicit handling or declaration.</p><p><strong>14.How can you prevent a class from being inherited in Java?</strong><br>To prevent a class from being inherited, declare it as “final.” Final classes cannot be subclassed.</p><p><strong>15.Explain the concept of the Java Collections Framework. What are some commonly used classes and interfaces in the framework?</strong><br>The Java Collections Framework provides a set of classes and interfaces to store, manipulate, and process collections of objects.<br>Some commonly used classes and interfaces in the framework include ArrayList, LinkedList, HashSet, HashMap, List, Set, and Map.</p><p><strong>16.What is the purpose of the “volatile” keyword in Java? How does it work?</strong><br>The “volatile” keyword is used to indicate that a variable’s value may be modified by multiple threads. It ensures that any read or write to the variable happens directly from the main memory and not from a local cache, ensuring visibility and preventing thread interference.</p><p><strong>17.How does Java support networking? Explain the Socket and ServerSocket classes.</strong><br>Java supports networking through the Socket and ServerSocket classes.<br>The Socket class represents a client-side endpoint of a connection, allowing communication with a server.<br>The ServerSocket class represents a server-side endpoint of a connection, waiting for clients to connect.</p><p><strong>18.What is the difference between the “finalize()” method and the “finally” block in Java?</strong><br>The “finalize()” method is a protected method of the Object class that is called by the garbage collector before reclaiming an object’s memory. It is used for cleanup operations.<br>The “finally” block is used in exception handling and is executed regardless of whether an exception occurred or not. It is used for cleanup operations and releasing resources.</p><p><strong>19.How does Java handle memory management? Explain the role of the garbage collector.</strong><br>Java handles memory management automatically through the garbage collector.<br>The garbage collector identifies objects that are no longer referenced by the program and reclaims the memory occupied by those objects, freeing the programmer from manual memory deallocation.</p><p><strong>20.What are lambda expressions in Java? How are they used in functional programming?</strong><br>Lambda expressions are anonymous functions that can be treated as variables and passed as arguments to methods or stored in data structures.<br>They enable functional programming by providing a concise way to write code that can be treated as data, allowing functions to be passed around and used as first-class citizens.</p><p>Remember to further explore these topics and practice implementing code related to these concepts to solidify your understanding and enhance your Java skills. <strong>Good luck with your interview preparations!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aef60208871c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Collection of Riddles on Core Java Topics]]></title>
            <link>https://medium.com/@raghunathchavva/a-collection-of-riddles-on-core-java-topics-4bdbb47b516e?source=rss-6386bc8113f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/4bdbb47b516e</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[javascript-tips]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Raghu Chavva]]></dc:creator>
            <pubDate>Sun, 15 Jan 2023 05:16:04 GMT</pubDate>
            <atom:updated>2023-01-15T05:16:04.770Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bj1V75PBnnCRKhAo" /><figcaption>Photo by <a href="https://unsplash.com/@sickhews?utm_source=medium&amp;utm_medium=referral">Wes Hicks</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><ol><li>I am a class that is used to store and manipulate a group of objects, what am I? <strong>Answer: Collection</strong></li><li>I am a design pattern that is used to create objects in a consistent manner, what am I? <strong>Answer: Factory</strong></li><li>I am a keyword in Java that is used to indicate that a method can throw an exception, what am I? <strong>Answer: throws</strong></li><li>I am a feature in Java that allows a single method or field to be accessed by multiple threads simultaneously, what am I? <strong>Answer: synchronization</strong></li><li>I am a feature in Java that allows a class to inherit properties and methods from another class, what am I? <strong>Answer: inheritance</strong></li><li>I am a feature in Java that allows a class to have multiple implementations of a single interface, what am I? <strong>Answer: polymorphism</strong></li><li>I am a feature in Java that allows a class to define methods that can be overridden by subclasses, what am I?<strong> Answer: abstraction</strong></li><li>I am a type of variable in Java that holds a reference to an object, what am I? <strong>Answer: reference variable</strong></li><li>I am a feature in Java that allows a class to have only one instance throughout the entire program, what am I? <strong>Answer: singleton</strong></li><li>I am a feature in Java that allows a class to define methods that cannot be overridden by subclasses, what am I?<strong> Answer: final</strong></li><li>I am a feature in Java that allows a class to access the private members of another class, what am I? <strong>Answer: inner class</strong></li><li>I am a feature in Java that allows a class to provide a standard set of methods that all subclasses must implement, what am I? <strong>Answer: interface</strong></li><li>I am a feature in Java that allows a class to define methods that will be executed at a specific time, what am I? <strong>Answer: annotation</strong></li><li>I am a feature in Java that allows a class to define methods that will be executed when an object is created, what am I?<strong> Answer: constructor</strong></li><li>I am a feature in Java that allows a class to define methods that will be executed when an object is deleted, what am I? <strong>Answer: finalize</strong></li><li>I am a feature in Java that allows a program to have multiple threads running simultaneously, what am I? <strong>Answer: multithreading</strong></li><li>I am a feature in Java that allows a class to implement multiple interfaces, what am I? <strong>Answer: interface implementation</strong></li><li>I am a feature in Java that allows a class to access the package-private members of another class, what am I? <strong>Answer: package-private</strong></li><li>I am a feature in Java that allows a class to define methods that will be executed when a program exits, what am I? <strong>Answer: shutdown hook</strong></li><li>I am a feature in Java that allows a class to define methods that will be executed after a certain interval of time, what am I? <strong>Answer: timer</strong></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4bdbb47b516e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>