<?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 Priyanka Tripathy on Medium]]></title>
        <description><![CDATA[Stories by Priyanka Tripathy on Medium]]></description>
        <link>https://medium.com/@priyanka.tripathy1?source=rss-375c3c32a4cc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*4BayYHBl84FwEPCs</url>
            <title>Stories by Priyanka Tripathy on Medium</title>
            <link>https://medium.com/@priyanka.tripathy1?source=rss-375c3c32a4cc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 00:32:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@priyanka.tripathy1/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[REST API used in the modern state of client/server architecture in software development.]]></title>
            <link>https://medium.com/@priyanka.tripathy1/rest-api-used-in-the-modern-state-of-client-server-architecture-in-software-development-d8a73671d794?source=rss-375c3c32a4cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8a73671d794</guid>
            <dc:creator><![CDATA[Priyanka Tripathy]]></dc:creator>
            <pubDate>Thu, 27 Jan 2022 21:41:30 GMT</pubDate>
            <atom:updated>2022-01-27T21:41:30.843Z</atom:updated>
            <content:encoded><![CDATA[<p>REST API used in the modern state of client/server architecture in software development. In this article you will be introducing to APIs, Rest API and Restful APIs.</p><p><strong>Table of content</strong></p><p>● What is API?</p><p>● Benefits of using APIs</p><p>● What is a RESTful API and REST API?</p><p>● Endpoints REST API and RESTful APIs.</p><p>● Difference between REST API and RESTful API.</p><p><strong>What is API?</strong></p><p>An API, or application programming interface, is a set of rules that define how applications or devices can connect to and communicate with each other. Let’s look into an example to go through with this topic,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8OUR40G4RGuObWhd.png" /></figure><p>Travel booking is a very useful API example because making connections and building relationships is exactly the point of most travel websites. That is, travel websites ,But it’s not just a coincidence that travel booking platforms can pull flight information from American Airlines and book you nights at the Marriot. No, this is the honest, hard work of application programming interfaces.</p><p><strong>Benefits of using API</strong></p><p>APIs needed to make the connection between application functions to handle the data from predefined processes.</p><p>● Ease of integration: APIs can be embedded with any type of software application, So it can easily integrate with the applications and functions between different websites.</p><p>● Reduce software development effort: Using APIs reduce development efforts, developers can implement APIs of Google Maps to provide the exact store location to website visitors. In doing so, you are not going to develop a GPS-based location tracking application from the ground up. Instead, you are using the APIs of an existing application on your website or web application. This approach is a more efficient and cost-effective way to achieve the required functionality.</p><p>● Security: APIs provide a secure communication gateway for different app components to interact and exchange data.</p><p><strong>What is a REST API?</strong></p><p>What is REST API?</p><p>Representational State Transfer abbreviated to REST. It is an API that follows a set of rules for an application and services to communicate with each other.</p><p>REST APIs work by fielding requests for a resource and returning all relevant information about the resource, translated into a format that clients can easily interpret (this format is determined by the API receiving requests). Clients can also modify items on the server and even add new items to the server through a REST API. There four basic HTTP requests a client can make are:</p><p>● GET — To retrieve a resource.</p><p>● POST — To create a new resource.</p><p>● PUT — To edit or update an existing resource.</p><p>● DELETE- To delete a resource.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*VQxyHrlj0feLsrIU_MIoow.png" /></figure><p><strong>Endpoints REST APIs.</strong></p><p>When a user makes a response APIs send a ‘request’ information from a web application or web server, it will receive a ‘response.’ The location where APIs send requests or where resources live are endpoints. With REST APIs, an endpoint is one end of a communication channel.</p><p><strong>Difference between REST API and RESTful APIs.</strong></p><p>Though the architecture of both REST and RESTful API is similar, they vary with a slight difference. The REST API follows all the rules of the REST Architecture. It has a client-server, stateless, cacheable, layer system with a uniform interface, whereas the RESTful web applications have all the features of the REST architecture with unique additional features .</p><p>In REST The protocol is strong, and it inherits many security measures, which are built-in architecture layers. In RESTful APIs It is multi-layer and has a transport protocol which makes the system less secure when compared with REST.</p><p>When using web services REST API working of the URL is based on request and response. The working of RESTful is completely based on REST applications.</p><p>It is highly adaptable and user-friendly to all business enterprises and IT using REST APIs. RESTful APIs It is too flexible when compared to RESTLESS web services.</p><p>In this article I’m go through some basics about APIs, REST API, RESTful API. If you guys find this article useful , share with your friends. Thank you</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8a73671d794" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SDET: Concepts in Java 2]]></title>
            <link>https://medium.com/@priyanka.tripathy1/sdet-concepts-in-java-2-ee9fe4310a33?source=rss-375c3c32a4cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/ee9fe4310a33</guid>
            <dc:creator><![CDATA[Priyanka Tripathy]]></dc:creator>
            <pubDate>Wed, 22 Dec 2021 05:04:01 GMT</pubDate>
            <atom:updated>2021-12-22T05:04:01.935Z</atom:updated>
            <content:encoded><![CDATA[<p>Written By <a href="https://qualitanic.com/?author=6178bd017032c9314927be7c">Priyanka Tripathy</a></p><h4>Method overloading</h4><p>Two or more methods with the same name and either different parameter types or different number of parameters is called method overloading.</p><p>These are three examples of overloaded methods which have the same name.</p><blockquote><em>public int add(int a, int b) {</em></blockquote><blockquote><em>// method implementation</em></blockquote><blockquote><em>}</em></blockquote><blockquote><em>public String add(String a, String b) {</em></blockquote><blockquote><em>// method implementation</em></blockquote><blockquote><em>}</em></blockquote><blockquote><em>public int add (int a, int b, int c) {</em></blockquote><blockquote><em>// method implementation</em></blockquote><blockquote><em>}</em></blockquote><p><strong>Important</strong>: Two methods only differing in return type are not valid overloaded methods.</p><p>The following code will not compile.</p><blockquote><em>These two methods will not compile because they have everything other than return type the same.</em></blockquote><blockquote><em>public int add (int a, int b,) {</em></blockquote><blockquote><em>// method implementation</em></blockquote><blockquote><em>}</em></blockquote><blockquote><em>public void add(int a, int b) {</em></blockquote><blockquote><em>// method implementation</em></blockquote><blockquote><em>}</em></blockquote><h4>Constructor</h4><p>A constructor is a special method in a class. It has the same name as the class name and does not have a return type. Constructors are used to create objects of a class.</p><p><strong>Default constructor</strong>: is a constructor that does not take any parameters.</p><blockquote><em>public class User {</em></blockquote><blockquote><em>private String name;</em></blockquote><blockquote><em>// default constructor</em></blockquote><blockquote><em>public User() {</em></blockquote><blockquote><em>// implementation here.</em></blockquote><blockquote><em>}</em></blockquote><blockquote><em>}</em></blockquote><p><strong>Parametrized constructor</strong>: is a constructor that accepts parameters. A parametrized constructor is generally used to initialize member variables of a class.</p><blockquote><em>public class User {</em></blockquote><blockquote><em>private String name;</em></blockquote><blockquote><em>// default constructor</em></blockquote><blockquote><em>public User() {</em></blockquote><blockquote><em>// implementation here.</em></blockquote><blockquote><em>}</em></blockquote><blockquote><em>// parameterized constructor</em></blockquote><blockquote><em>public User(String n) {</em></blockquote><blockquote><em>this.name = n;</em></blockquote><blockquote><em>}</em></blockquote><p><strong>Constructor overloading</strong>: creating multiple constructors in a class as shown above.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ee9fe4310a33" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Java for SDET: Class, Object and Encapsulation.]]></title>
            <link>https://medium.com/@priyanka.tripathy1/java-for-sdet-class-object-and-encapsulation-2deab20dca2c?source=rss-375c3c32a4cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/2deab20dca2c</guid>
            <category><![CDATA[encapsulation]]></category>
            <category><![CDATA[constructor]]></category>
            <category><![CDATA[object-oriented]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[class]]></category>
            <dc:creator><![CDATA[Priyanka Tripathy]]></dc:creator>
            <pubDate>Sat, 11 Dec 2021 22:59:26 GMT</pubDate>
            <atom:updated>2021-12-11T22:59:26.404Z</atom:updated>
            <content:encoded><![CDATA[<h3>Java for SDET: Classes and Encapsulation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*_8H6raJ9vdu7-sjCh6D3eA.jpeg" /></figure><h4>Java class.</h4><p>A java class is a blueprint for creating objects. For example a class named <em>User</em> can act as a blueprint which can be used to create multiple user objects. An application like Amazon can define a <em>User</em> class and every user registered with Amazon will be an object of that class.</p><p>A class has state - which is stored in <strong>member variables</strong> or properties and action which are defined by <strong>methods</strong>.</p><p>Example of a class</p><pre><em>public class User {</em></pre><pre><em>// member variable that is state of the class.<br>private String name;</em></pre><pre><em>// method that is action of returning the name member variable.<br>public String getName() {<br>    return name;<br>}</em></pre><pre><em>public void updateUserName(String n) {<br>    this.name = n;<br>}</em></pre><pre>}</pre><p>A class can have multiple member variables and multiple methods.</p><p>It’s a good practice to keep member variables private so that their modification and access is controlled by the methods in this class only.</p><p><strong>Encapsulation:</strong> Encapsulation is keeping the member variables and the methods interacting with those variables at one place and also controlling the act of changing those variables by defining methods within the class.</p><h3>Constructors</h3><p>A constructor is a special method in a class. It has the same name as the class name and does not have a return type. Constructors are used to create objects of a class.</p><p><strong>Default constructor</strong>: is a constructor that does not take any parameters.</p><p>Important: Java compiler automatically adds a default constructor to a class. For exception to this rule, please read about <em>Parametrized constructor</em> below.</p><pre><em>public class User {</em></pre><pre><em>private String name;</em></pre><pre><em>/* </em><strong><em>default constructor (java compiler automatically adds it - only   shown for demonstration here)*/</em></strong><em><br>public User() {<br>    // implementation here.<br>}</em></pre><pre><em>}</em></pre><p><strong>Parametrized constructor</strong>: is a constructor that accepts parameters. A parametrized constructor is generally created so that member variables can be initialized with parameters passed by the caller.</p><p>Important: When a parametrized constructor is added, the java compiler does not create a default constructor automatically. If a default constructor is needed, it needs to be added by the programmer as shown below.</p><pre><em>public class User {</em></pre><pre><em>private String name;</em></pre><pre><em>// default constructor<br>public User() {<br>    // implementation here.<br>}</em></pre><pre><em>// </em><strong><em>parameterized constructor</em></strong><em><br>public User(String n) {<br>    this.name = n;<br>}</em></pre><pre>}</pre><p><strong>Constructor overloading</strong>: the act of creating multiple constructors in a call that accept different number of parameters is called constructor overloading. It’s an extension of a concept called <em>method overloading</em> which we’ll learn in a separate blog.</p><h3>Object creation and calling methods on objects</h3><p>An object can be created by calling any of the constructors of the class.</p><p><strong>Creating objects: </strong>These are the examples of creating objects of a class.</p><pre><em>/* Creating userA object by calling default constructor on class User. */<br>User userA = new User();</em></pre><pre><em>/* Creating userB object by calling parametrized constructor on class User.*/<br>User userB = new User(“Priyanka”);</em></pre><p><strong>Calling methods on an object</strong>: Once an object is created, methods defined in the class can be called by using “dot” notation on the object.</p><pre><em>User userA = new User();<br>String name = userA.getName(); // This will return null.</em></pre><pre><em>User userB = new User(“Priyanka Tripathy”);<br>String name = userB.getName(); // This will return &quot;Priyanka&quot;.</em></pre><p>Note that <em>static methods</em> on a <em>class</em> can not be called like above. We’ll learn about static methods in a separate blog.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2deab20dca2c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>