<?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 Rashidautturkar on Medium]]></title>
        <description><![CDATA[Stories by Rashidautturkar on Medium]]></description>
        <link>https://medium.com/@rashidautturkar?source=rss-716da7ece29a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*YV3iOnwBwTQuMUpZ</url>
            <title>Stories by Rashidautturkar on Medium</title>
            <link>https://medium.com/@rashidautturkar?source=rss-716da7ece29a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 09:08:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rashidautturkar/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[Static keyword in java]]></title>
            <link>https://medium.com/@rashidautturkar/static-keyword-in-java-c6d7b6e9e306?source=rss-716da7ece29a------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6d7b6e9e306</guid>
            <dc:creator><![CDATA[Rashidautturkar]]></dc:creator>
            <pubDate>Wed, 05 Aug 2020 14:12:12 GMT</pubDate>
            <atom:updated>2020-08-05T15:44:11.175Z</atom:updated>
            <content:encoded><![CDATA[<p>The static keyword in Java is used for memory management.</p><p>It can be used with variables, methods, blocks and nested classes.</p><p>The static keyword belongs to the class than an instance of the class.</p><p>The static can be:</p><ul><li>Variable</li><li>Method</li><li>Block</li><li>Nested class</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XUu4G92e4J7qVvgvMEuEdw.png" /></figure><ul><li><strong>Java static variable</strong></li></ul><p>If you declare any variable as static, it is known as a static variable.</p><ul><li>The static variable can be used to refer to the common property of all objects.</li><li>The static variable gets memory only once in the class area at the time of class loading.</li></ul><p><strong>Example of static variable</strong></p><p>class Student</p><p>{</p><p>int rollno;//instance variable</p><p>String name;</p><p>static String college =&quot;SGM&quot;;</p><p>//static variable</p><p>//constructor</p><p>Student(int r, String n)</p><p>{</p><p>rollno = r;</p><p>name = n;</p><p>}</p><p>//method to display the values</p><p>void display ()</p><p>{</p><p>System.out.println(rollno+&quot; &quot;+name+&quot; &quot;+college);</p><p>}</p><p>}</p><p>//Test class to show the values of</p><p>objects</p><p>public class TestStaticVariable1</p><p>{</p><p>public static void main(String</p><p>args[])</p><p>{</p><p>Student s1 = new Student(101,</p><p>&quot;Ira&quot;);</p><p>Student s2 = new Student(202,</p><p>&quot;Riya&quot;);</p><p>//we can change the college of all</p><p>objects by the single line of code</p><p>//Student.college=&quot;BBDIT&quot;;</p><p>s1.display();</p><p>s2.display();</p><p>}</p><p>}</p><p><strong>Output</strong></p><p>101 Ira SGM</p><p>202 Riya SGM</p><ul><li><strong>Java static method</strong></li><li>If you apply static keyword with any method, it is known as static method.</li><li>A static method belongs to the class rather than the object of a class.</li><li>A static method can be invoked without the need for creating an instance of a class.</li><li>A static method can access static data member and can change the value of it.</li></ul><p><strong>Example of static method</strong></p><p>class Calculate</p><p>{</p><p>static int cube(int x)</p><p>{</p><p>return x*x*x;</p><p>}</p><p>public static void main(String</p><p>args[])</p><p>{</p><p>int result=Calculate.cube(5);</p><p>System.out.println(result);</p><p>}</p><p>}</p><p><strong>Output</strong></p><p>125</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6d7b6e9e306" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Constructors in java]]></title>
            <link>https://medium.com/@rashidautturkar/constructors-in-java-31043295b0c6?source=rss-716da7ece29a------2</link>
            <guid isPermaLink="false">https://medium.com/p/31043295b0c6</guid>
            <dc:creator><![CDATA[Rashidautturkar]]></dc:creator>
            <pubDate>Fri, 31 Jul 2020 05:29:43 GMT</pubDate>
            <atom:updated>2020-07-31T05:29:43.350Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Constructor</strong> -: A Java constructor is special method that is called when an object is instantiated. In other words, when you use the new keyword. The purpose of a Java constructor is to initializes the newly created object before it is used. When object is created constructor will invoke automatically. It is special member function because its name is same as class name. It does not have any return type.</p><p><strong>Example</strong></p><p>Class Student</p><p>{</p><p>………</p><p>Student()//constructor</p><p>{</p><p>……..</p><p>}</p><p>Student s=new Student();</p><p>}</p><h4><strong>Rules for creating Java constructor</strong></h4><ul><li>Constructor name must be the same as its class name.</li><li>A Constructor must have no explicit return type.</li><li>A Java constructor cannot be abstract, static, final, and synchronized.</li></ul><p><strong>Types of Java constructors</strong></p><p><strong>Default constructor:-</strong>A constructor is called &quot;Default Constructor&quot; when it doesn&#39;t have any parameter.</p><p>Syntax of default constructor:</p><p>&lt;class_name&gt;(){}</p><p><strong>Example of default constructor</strong></p><p>class Student3</p><p>{</p><p>int id;</p><p>String name;</p><p>//method to display the value of id and name</p><p>void display()</p><p>{</p><p>System.out.println(id+&quot; &quot;+name);</p><p>}</p><p>public static void main(String args[])</p><p>{</p><p>//creating objects</p><p>Student3 s1=new Student3();</p><p>Student3 s2=new Student3();</p><p>//displaying values of the object</p><p>s1.display();</p><p>s2.display();</p><p>}</p><p>}</p><p><strong>Output</strong></p><p>0 null</p><p>0 null</p><p><strong>Parameterized Constructor:-</strong>A constructor which has a specific number of parameters is called a parameterized constructor.</p><h4><strong>Example of parameterized constructor</strong></h4><p>class Student4</p><p>{</p><p>int id;</p><p>String name;</p><p>//creating a parameterized constructor</p><p>Student4(int i,String n)</p><p>{</p><p>id = i;</p><p>name = n;</p><p>}</p><p>//method to display the values</p><p>void display()</p><p>{</p><p>System.out.println(id+&quot; &quot;+name);</p><p>}</p><p>public static void main(String args[])</p><p>{</p><p>//creating objects and passing values</p><p>Student4 s1 = new Student4(100,&quot;Siya&quot;);</p><p>Student4 s2 = new Student4(200,&quot;Riya&quot;);</p><p>//calling method to display the values of object</p><p>s1.display();</p><p>s2.display();</p><p>}</p><p>}</p><p><strong>Output</strong></p><p>100 Siya</p><p>200 Riya</p><p><strong>Constructor Overloading in Java:-</strong>In Java, a constructor is just like a method but without return type. It can also be overloaded like Java methods.</p><p>Constructor <a href="https://www.javatpoint.com/method-overloading-in-java">overloading in Java</a> is a technique of having more than one constructor with different parameter lists. They are arranged in a way that each constructor performs a different task. They are differentiated by the compiler by the number of parameters in the list and their types.</p><p><strong>Example of Constructor Overloading</strong></p><p>class Student5</p><p>{</p><p>int id;</p><p>String name;</p><p>int age;</p><p>//creating two arg constructor</p><p>Student5(int i,String n)</p><p>{</p><p>id = i;</p><p>name = n;</p><p>}</p><p>//creating three arg constructor</p><p>Student5(int i,String n,int a)</p><p>{</p><p>id = i;</p><p>name = n;</p><p>age=a;</p><p>}</p><p>void display()</p><p>{</p><p>System.out.println(id+&quot; &quot;+name+&quot; &quot;+age);</p><p>}</p><p>public static void main(String args[])</p><p>{</p><p>Student5 s1 = new Student5 (101,&quot;Karan&quot;);</p><p>Student5 s2 = new Student5 (102,&quot;Aryan&quot;,20);</p><p>s1.display();</p><p>s2.display();</p><p>}</p><p>}</p><p><strong>Output</strong></p><p>101 Karan 0</p><p>102 Aryan 20</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31043295b0c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Looping statement in java]]></title>
            <link>https://medium.com/@rashidautturkar/looping-statement-in-java-9e7160fad878?source=rss-716da7ece29a------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e7160fad878</guid>
            <dc:creator><![CDATA[Rashidautturkar]]></dc:creator>
            <pubDate>Tue, 21 Jul 2020 15:39:35 GMT</pubDate>
            <atom:updated>2020-07-21T15:39:35.357Z</atom:updated>
            <content:encoded><![CDATA[<p>The process of repeatedly executing a block of statements is known as looping.</p><p>Basically loop in a program consists of two parts:-</p><p>1.The body of the loop</p><p>2.The control statement.</p><p>A control structure are classified as follows:</p><p>1.Entry-controlled loop</p><p>2.Exit-controlled loop</p><p><strong>Entry Controlled Loop</strong></p><p>An <strong>entry control loop,</strong> controls entry to the loop and thus why it is referred as entry control loop. An entry control loop checks the condition at the time of entry and if the condition or expression (statement that has value) becomes true then control transfers into the body of the loop. Examples of exit controlled loop include, For <strong>Loop and While Loop.</strong></p><p><strong>Exit Controlled Loop</strong></p><p>An <strong>exit control loop,</strong> controls exit of the loop, thus why it is referred to as exit control loop. An exit control loop checks the condition for exit and if given condition for exit evaluate to true, control will exit from the loop body or else control will enter again into the loop. An example of exit controlled loop is <strong>Do While Loop.</strong></p><p><strong>Types of loop</strong></p><p>1.While loop</p><p>2.for loop</p><p>3.dowhile loop</p><p><a href="https://www.geeksforgeeks.org/java-while-loop-with-examples/amp/"><strong>while loop:</strong></a></p><p>A while loop is a control flow statement that allows code to be executed repeatedly based on a given Boolean condition. The while loop can be thought of as a repeating if statement.<br><strong>Syntax :</strong></p><p>while (boolean condition)</p><p>{</p><p>loop statements...</p><p>}</p><p><strong>Flowchart</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*ms1Vjby9vbvKG2MTX911qw.png" /></figure><p><strong>Example of whileLoop</strong></p><p>class whileLoopDemo</p><p>{</p><p>public static void main(String args[])</p><p>{</p><p>int x = 1;</p><p>// Exit when x becomes greater than 4</p><p>while (x &lt;= 4)</p><p>{</p><p>System.out.println(&quot;Value of x:&quot; + x);</p><p>// Increment the value of x for</p><p>// next iteration</p><p>x++;</p><p>}</p><p>}</p><p>}</p><p><strong>Output</strong></p><p>Value of x:1</p><p>Value of x:2</p><p>Value of x:3</p><p>Value of x:4</p><p><a href="https://www.geeksforgeeks.org/java-for-loop-with-examples/amp/"><strong>for loop:</strong></a></p><p>for loop provides a concise way of writing the loop structure. Unlike a while loop, a for statement consumes the initialization, condition and increment/decrement in one line thereby providing a shorter, easy to debug structure of looping.<br><strong>Syntax:</strong></p><p>for (initialization condition; testing condition; increment/decrement)</p><p>{</p><p>statement(s)</p><p>}</p><p><strong>Flowchart</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*Xg8KDU4MiZ4p4kTEkUYvBQ.png" /></figure><p><strong>Example of forLoop</strong></p><p>class forLoopDemo</p><p>{</p><p>public static void main(String args[])</p><p>{</p><p>// for loop begins when x=2</p><p>// and runs till x &lt;=4</p><p>for (int x = 2; x &lt;= 4; x++)</p><p>System.out.println(&quot;Value of x:&quot; + x);</p><p>}</p><p>}</p><p><strong>Output</strong></p><p>Value of x:2</p><p>Value of x:3</p><p>Value of x:4</p><p><a href="https://www.geeksforgeeks.org/java-do-while-loop-with-examples/amp/"><strong>do while Loop:</strong></a></p><p>do while loop is similar to while loop with only difference that it checks for condition after executing the statements.<br><strong>Syntax:</strong></p><p>do</p><p>{</p><p>statements..</p><p>}</p><p>while (condition);</p><p><strong>Flowchart</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/539/1*DfNMhKl6_wMnK9_IwOpIqQ.png" /></figure><p><strong>Example of dowhileloop</strong></p><p>class dowhileloopDemo</p><p>{</p><p>public static void main(String args[])</p><p>{</p><p>int x = 21;</p><p>do</p><p>{</p><p>// The line will be printed even</p><p>// if the condition is false</p><p>System.out.println(&quot;Value of x:&quot; + x);</p><p>x++;</p><p>}</p><p>while (x &lt; 20);</p><p>}</p><p>}</p><p><strong>Output</strong></p><p>Value of x: 21</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e7160fad878" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Break and Continue Statements]]></title>
            <link>https://medium.com/@rashidautturkar/break-and-continue-statements-f1b32e71bb58?source=rss-716da7ece29a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1b32e71bb58</guid>
            <dc:creator><![CDATA[Rashidautturkar]]></dc:creator>
            <pubDate>Tue, 21 Jul 2020 14:11:46 GMT</pubDate>
            <atom:updated>2020-07-21T15:44:57.457Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Break Statement:-</strong></p><ul><li>When the break Statement is encountered inside a loop,the loop is immediately exited or terminated and the program continues with the statement immediately following the loop.</li><li>The break Statement which is used in switch construct,can also be used within while,do or for loops.</li><li><strong>Syntax:</strong></li></ul><p>jump-statement;</p><p>Break;</p><p><strong>Flowchart of Break statement</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*AW2q9djAZYazmHzKGlfdJg.png" /></figure><p><strong>Example:</strong></p><p>public class BreakExample</p><p>{</p><p>public static void main(String[] args)</p><p>{</p><p>//using for loop</p><p>for(int i=1;i&lt;=10;i++){</p><p>if(i==5){</p><p>//breaking the loop</p><p>break;</p><p>}</p><p>System.out.println(i);</p><p>}</p><p>}</p><p>}</p><p><strong>Output</strong></p><p>1</p><p>2</p><p>3</p><p>4</p><p><strong>Continue statement:-</strong></p><ul><li>The continue statement is used in loop control structure when you need to jump to the next iteration of the loop immediately. It can be used with for loop or while loop.</li><li>The Java continue statement is used to continue the loop. It continues the current flow of the program and skips the remaining code at the specified condition. In case of an inner loop, it continues the inner loop only.</li><li>We can use Java continue statement in all types of loops such as for loop, while loop and do-while loop.</li><li><strong>Syntax</strong></li></ul><p>jump-statement;</p><p>Continue;</p><p><strong>Example:-</strong></p><p>public class ContinueExample</p><p>{</p><p>public static void main(String[] args)</p><p>{</p><p>//for loop</p><p>for(int i=1;i&lt;=10;i++){</p><p>if(i==5){</p><p>//using continue statement</p><p>continue;//it will skip the rest statement</p><p>}</p><p>System.out.println(i);</p><p>}</p><p>}</p><p>}</p><p><strong>Output</strong></p><p>1</p><p>2</p><p>3</p><p>4</p><p>5</p><p>6</p><p>7</p><p>8</p><p>9</p><p>10</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1b32e71bb58" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Variables in java]]></title>
            <link>https://medium.com/@rashidautturkar/variable-in-java-f49dc8856802?source=rss-716da7ece29a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f49dc8856802</guid>
            <dc:creator><![CDATA[Rashidautturkar]]></dc:creator>
            <pubDate>Thu, 09 Jul 2020 04:50:52 GMT</pubDate>
            <atom:updated>2020-07-09T04:52:11.464Z</atom:updated>
            <content:encoded><![CDATA[<p>A variable is a name which is associated with a value that can be changed. For example: int i=15; here variable name is i which is associated with value 15, int is a data type that represents that this variable can hold integer values.</p><p><strong>How to Declare a variable in Java </strong>To declare a variable follow this syntax:</p><h4>data_type variable_name = value;</h4><p>here value is optional because in java, you can declare the variable first and then later assign the value to it.</p><p><strong>Types of Variables in Java</strong></p><p>There are three types of variables in Java.<strong><br></strong>1) Local variable 2) Static (or class) variable 3) Instance variable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*pW3Su7l8P8-k_mfhiKy-KQ.png" /></figure><p><strong>Static variable</strong></p><p>Static variables are also known as class variable because they are associated with the class and common for all the instances of class.</p><p><strong>Instance variable</strong></p><p>Each instance(objects) of class has its own copy of instance variable. Unlike static variable, instance variables have their own separate copy of instance variable.</p><p><strong>Local variable</strong></p><p>These variables are declared inside method of the class. Their scope is limited to the method which means that You can’t change their values and access them outside of the method.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f49dc8856802" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[●FEATURES OF JAVA:-]]></title>
            <link>https://medium.com/@rashidautturkar/features-of-java-611d77d06f6d?source=rss-716da7ece29a------2</link>
            <guid isPermaLink="false">https://medium.com/p/611d77d06f6d</guid>
            <dc:creator><![CDATA[Rashidautturkar]]></dc:creator>
            <pubDate>Sat, 27 Jun 2020 12:42:03 GMT</pubDate>
            <atom:updated>2020-06-27T13:54:29.313Z</atom:updated>
            <content:encoded><![CDATA[<p>●<strong>FEATURES OF JAVA:-</strong></p><p><strong>1.Simple:-</strong> Java is simple because it is easy to learn, easy to understand. It removes complexity because it doesn’t use complex and difficult features of other languages like C and C++. For example pointers and operator overloading are not in Java but it important in C++.</p><p><strong>2 .Object-Oriented:-</strong> Java is an object-oriented programming language. Everything in Java is an object. Object-oriented means we organize our software as a combination of different types of objects that incorporates both data and behavior.</p><ul><li><strong>Basic concepts of OOPs are:</strong></li><li>Object</li><li>Class</li><li>Inheritance</li><li>Polymorphism</li><li>Abstraction</li></ul><p><strong>3.Portable:-</strong> Java is portable because it facilitates you to carry the Java bytecode to any platform. It doesn’t require any implementation</p><p><strong>4.Platform independent</strong>:- Java is platform independent because it is different from other languages like C, C++, etc. which are compiled into platform specific machines while Java is a write once, run anywhere language. A platform is the hardware or software environment in which a program runs.</p><p><strong>5.Secured:-</strong> Java is best known for its security. With Java, we can develop virus-free systems. Java is secured.<br> <strong>6.Robust:-</strong> Robust simply means strong.Java is robust because:</p><ul><li>It uses strong memory management.</li><li>There is a lack of pointers that avoids security problems.</li><li>There is automatic garbage collection in java which runs on the Java Virtual Machine.</li><li>There are exception handling and the type checking mechanism in Java.</li></ul><p><strong>7.Architecture neutral:-</strong> Java is architecture neutral because there are no implementation dependent features, for example, the size of primitive types is fixed.</p><p><strong>8.Interpreted:-</strong> Java is an interpreted language that is why it is slower than compiled languages, e.g., C, C++, etc.</p><p><strong>9.High Performance:-</strong> Java is faster than other traditional interpreted programming languages because Java bytecode is &quot;close&quot; to native code. It is still a little bit slower than a compiled language (e.g., C++).</p><p><strong>10.Multithreaded:- </strong>A thread is like a separate program, executing concurrently. We can write Java programs that deal with many tasks at once by defining multiple threads</p><p><strong>11.Distributed:-</strong> Java is distributed because it facilitates users to create distributed applications in Java. RMI and EJB are used for creating distributed applications.</p><p><strong>12.Dynamic:-</strong> Java is a dynamic language. It supports dynamic loading of classes. It means classes are loaded on demand. It also supports functions from its native languages, i.e., C and C++.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=611d77d06f6d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Friend function in c++]]></title>
            <link>https://medium.com/@rashidautturkar/friend-function-in-c-230ddbe27716?source=rss-716da7ece29a------2</link>
            <guid isPermaLink="false">https://medium.com/p/230ddbe27716</guid>
            <dc:creator><![CDATA[Rashidautturkar]]></dc:creator>
            <pubDate>Wed, 20 May 2020 09:35:31 GMT</pubDate>
            <atom:updated>2020-05-20T09:35:31.803Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*q_bfqNECUkFECbQYok_yzw.jpeg" /></figure><p>If a function is defined as a friend function in C++, then the protected and private data of a class can be accessed using the function.</p><p>By using the keyword friend, compiler knows that the given function is a friend function.</p><p>accessing the data, the declaration of a friend function should be done inside the body of a class starting with the keyword friend.</p><p><strong>Declaration of friend function in C++</strong><br>class class_name<br> {<br> friend data_type function_name(argument/s); // syntax of friend function.</p><p>};</p><p>In friend function the function can be defined anywhere in the program like a normal C++ function. The function definition does not use either the keyword friend or scope resolution operator.</p><h4><strong>Characteristics of friend function</strong></h4><p>1.function declaration is preceded by the keyword friend.</p><p>2. The scope of the friend is not limited to the class in which it has been declared.</p><p>3.function definition need not required any scope resolution operator::.</p><p>4.The function is defined else where in program like a normal c++ function.</p><p>Example:-</p><p>#include&lt;iostream&gt;</p><p>using namespace std;</p><p>class ABC;</p><p>class XYZ;</p><p>{</p><p>int x;</p><p>public:</p><p>void setvalue(int i)</p><p>{</p><p>x=i;</p><p>}</p><p>friend void max(XYZ,ABC);</p><p>}</p><p>class ABC</p><p>{</p><p>int a;</p><p>public:</p><p>void stevalue(int i)</p><p>{</p><p>a=i;</p><p>}</p><p>friend void max(XYZ,ABC);</p><p>};</p><p>void max(XYZ m,ABC n)</p><p>{</p><p>if(m.x&gt;=n.a)</p><p>count&lt;&lt;m.x;</p><p>else</p><p>count&lt;&lt;n.a;</p><p>}</p><p>int main()</p><p>{</p><p>ABC abc;</p><p>abc.setvalue(10);</p><p>XYZ xyz;</p><p>XYZ.setvalue(20);</p><p>max(abc,xyz);</p><p>return 0;</p><p>}</p><p>Output-20</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=230ddbe27716" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Class and object in c++]]></title>
            <link>https://medium.com/@rashidautturkar/class-and-object-in-c-6f04e08f3578?source=rss-716da7ece29a------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f04e08f3578</guid>
            <dc:creator><![CDATA[Rashidautturkar]]></dc:creator>
            <pubDate>Sun, 17 May 2020 05:43:07 GMT</pubDate>
            <atom:updated>2020-05-17T05:43:07.469Z</atom:updated>
            <content:encoded><![CDATA[<h3>Class:</h3><p>1. Class is the blueprint for the object.Class is a user-defined data type</p><p>2.Class is a collection of data members and member functions.</p><p>3. For example- we can think of a class as a sketch (prototype) of the house. It contains all the details about the floors, doors, windows, etc. Based on these descriptions we built the house. Here hour is an object.</p><p>4.Syntax :</p><p>Class class_name</p><p>{<br><em> access</em> specifier:<br><em>Data member</em>;(variable)<br>Member function;{}</p><p>};</p><h3>Object:</h3><p>1. Objects are basic run-time entities in OOP.</p><p>2.Object are instances of class an wich holds the data veriable declared in class and the member function work on these class objects. Each objects has different data variables.</p><p>Syntax :-Class_Name object name;</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f04e08f3578" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Difference between Pop and Oop]]></title>
            <link>https://medium.com/@rashidautturkar/difference-between-pop-and-oop-a8ba7b0d3048?source=rss-716da7ece29a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8ba7b0d3048</guid>
            <dc:creator><![CDATA[Rashidautturkar]]></dc:creator>
            <pubDate>Sat, 16 May 2020 17:15:56 GMT</pubDate>
            <atom:updated>2020-05-16T17:15:56.063Z</atom:updated>
            <content:encoded><![CDATA[<p>Difference between Pop and Oop</p><p>1.Pop is procedure oriented programming and Oop is object oriented programming</p><p>2.in Pop there is top down approach and in Oop there is bottom up approach.</p><p>3.in Pop large program is divided into functions and in Oop large program is divided into objects.</p><p>4.Pop does not hide data but in Oop there is way for hiding the data.</p><p>5.in Pop no access specifier is used and in Oop there is ,private, protected and public access specifier are used.</p><p>6. Pop Overloading is not possible. In Oop overloading is possible in the form of Function Overloading and Operator Overloading.</p><p>7.Examples: Example of Pop are : C, FORTRAN, Pascal. Example of Oop are : C++, JAVA, VB.NET.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8ba7b0d3048" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>