<?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 Farhad Rasheed on Medium]]></title>
        <description><![CDATA[Stories by Farhad Rasheed on Medium]]></description>
        <link>https://medium.com/@farhadrasheed02?source=rss-edbf4741f4b7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ZNF-XfbVWWSmyfyz.jpg</url>
            <title>Stories by Farhad Rasheed on Medium</title>
            <link>https://medium.com/@farhadrasheed02?source=rss-edbf4741f4b7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 21:38:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@farhadrasheed02/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[Depths of Operations Create Heights of Character]]></title>
            <link>https://medium.com/@farhadrasheed02/depths-of-operations-create-heights-of-character-b0456f0c9d54?source=rss-edbf4741f4b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0456f0c9d54</guid>
            <dc:creator><![CDATA[Farhad Rasheed]]></dc:creator>
            <pubDate>Sun, 25 Jun 2023 19:08:56 GMT</pubDate>
            <atom:updated>2023-06-25T19:08:56.049Z</atom:updated>
            <content:encoded><![CDATA[<p>In our life when we face any difficulty, we get frightened and lose our control which in turn changes our good fortune into mesmerized ending.</p><p>If things would happen according to our will, then how can say our self as</p><p>عبد(Slave) of the Allah, which means we are submitting ourself to the creator.</p><p>He knows our needs and deeds, he chooses best for us, let us take an example of how to understand this concept in our day life, when we were in the young age we use to get things mostly by the choice of our parents, we resist sometimes but when they explain the thing to us, we use to get convenience by the logic, so what apparently seems to us as bad was actually of blessing to us chosen by our parents.</p><p>When I am writing this article, I have a very vast and enormous idea to explain, but as we say, everything has its time, sometimes things kept in silence are the actual answer to the crowd.</p><p>Being a predominant follower of Islam, I usually have tough times to face, either in one way or another way, but One thing has been there, I never opted for ungrateful, because that only leads me to darkness, but Al-Quran tells I bring you from darkness to light. Never lose hope, I have read many articles where we Muslims are only doing grievance that this If we have this person as Prime Minister, or we have this government ,we are going to be vanished, No person in this world can beat another person , if he is determinant, It is like we have no charged our phone and we are cursing the battery, if we charge the battery, we will get the access to the features of the mobile phone.</p><p>Many People have written article till today, and what I am writing about might be written billions times, but how many of we think actually, what we have achieved till today, how coward we are, how foolish we have become, Allah mentions in Quran whatever there is in this world it is meant for human being but , the human being is meant for the Akhirah(life hereafter).</p><p>Do we really do what we have been told? Think about it for just few seconds,</p><p>How much actually we are believing in the creator, who so ever we are, Hindu, Muslim, Christian any other person who is a religious.</p><p>What is the purpose of our life and what we are doing?</p><p>When we go to the worship place, we try to bring our good self, but the same person goes to the office, and where is his good side?</p><p>How cruel we are, we are always blaming others for our faults, why?</p><p>You know what, I have learnt in this short span of life, If you want to be at the top, try to get humiliated, by others, and think about humiliation and try not to get this humiliation next time, how Can that happen? I will not write the answer for this? Just put this in comment. I will answer after all your comments.</p><p>We are trying to live in fantasy,</p><p>I will conclude this by telling you how we are, and please think about this as well, do you really get fitted in this category?</p><p>If someone gives us a compliment, we feel in the upper sky and if someone tries to correct our mistake, we call the same person ill words?</p><p>Remember, depths of operations are this thing, take other comments and make them a garden of your own, and people will realize how you created the castle, in which the peasants were actually those who humiliated you.</p><p>Thank you for reading my article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0456f0c9d54" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Collection Framework]]></title>
            <link>https://medium.com/@farhadrasheed02/collection-framework-d899651fea8a?source=rss-edbf4741f4b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d899651fea8a</guid>
            <dc:creator><![CDATA[Farhad Rasheed]]></dc:creator>
            <pubDate>Mon, 29 May 2023 04:46:12 GMT</pubDate>
            <atom:updated>2023-05-29T04:46:12.218Z</atom:updated>
            <content:encoded><![CDATA[<p>Collection Framework</p><p>Interfaces of Collections FrameWork</p><p>The Java collections framework provides various interfaces. These interfaces include several methods to perform different operations on collections.</p><p>We will learn about these interfaces, their subinterfaces, and implementation in various classes in detail in the later chapters. Let&#39;s learn about the commonly used interfaces in brief in this tutorial.</p><p>Java Collection Interface</p><p>The Collection interface is the root interface of the collections framework hierarchy.</p><p>Java does not provide direct implementations of the Collection interface but provides implementations of its subinterfaces like List, Set, and Queue. To learn more, visit: <a href="https://www.programiz.com/java-programming/collection-interface">Java Collection Interface</a></p><p>Collections Framework Vs. Collection Interface</p><p>People often get confused between the collections framework and Collection Interface.</p><p>The Collection interface is the root interface of the collections framework. The framework includes other interfaces as well: Map and Iterator. These interfaces may also have subinterfaces.</p><p>Java Collections Framework</p><p>In this tutorial, we will learn about different interfaces of the Java collections framework.</p><p>The Java collections framework provides a set of interfaces and classes to implement various data structures and algorithms.</p><p>For example, the LinkedList class of the collections framework provides the implementation of the doubly-linked list data structure.</p><p>Interfaces of Collections FrameWork</p><p>The Java collections framework provides various interfaces. These interfaces include several methods to perform different operations on collections.</p><p>We will learn about these interfaces, their subinterfaces, and implementation in various classes in detail in the later chapters. Let&#39;s learn about the commonly used interfaces in brief in this tutorial.</p><p>Java Collection Interface</p><p>The Collection interface is the root interface of the collections framework hierarchy.</p><p>Java does not provide direct implementations of the Collection interface but provides implementations of its subinterfaces like List, Set, and Queue. To learn more, visit: <a href="https://www.programiz.com/java-programming/collection-interface">Java Collection Interface</a></p><p>Collections Framework Vs. Collection Interface</p><p>People often get confused between the collections framework and Collection Interface.</p><p>The Collection interface is the root interface of the collections framework. The framework includes other interfaces as well: Map and Iterator. These interfaces may also have subinterfaces.</p><p>Subinterfaces of the Collection Interface</p><p>As mentioned earlier, the Collection interface includes subinterfaces that are implemented by Java classes.</p><p>All the methods of the Collection interface are also present in its subinterfaces.</p><p>Here are the subinterfaces of the Collection Interface:</p><p>List Interface</p><p>The List interface is an ordered collection that allows us to add and remove elements like an array. To learn more, visit <a href="https://www.programiz.com/java-programming/list">Java List Interface</a></p><p>Set Interface</p><p>The Set interface allows us to store elements in different sets similar to the set in mathematics. It cannot have duplicate elements. To learn more, visit <a href="https://www.programiz.com/java-programming/set">Java Set Interface</a></p><p>Queue Interface</p><p>The Queue interface is used when we want to store and access elements in First In, First Out manner. To learn more, visit <a href="https://www.programiz.com/java-programming/queue">Java Queue Interface</a></p><p>Java Map Interface</p><p>In Java, the Map interface allows elements to be stored in key/value pairs. Keys are unique names that can be used to access a particular element in a map. And, each key has a single value associated with it. To learn more, visit <a href="https://www.programiz.com/java-programming/map">Java Map Interface</a></p><p>Java Iterator Interface</p><p>In Java, the Iterator interface provides methods that can be used to access elements of collections. To learn more, visit <a href="https://www.programiz.com/java-programming/iterator">Java Iterator Interface</a></p><p>Why the Collections Framework?</p><p>The Java collections framework provides various data structures and algorithms that can be used directly. This has two main advantages:</p><p>We do not have to write code to implement these data structures and algorithms manually.</p><p>Our code will be much more efficient as the collections framework is highly optimized.</p><p>Moreover, the collections framework allows us to use a specific data structure for a particular type of data. Here are a few examples,</p><p>If we want our data to be unique, then we can use the Set interface provided by the collections framework.</p><p>To store data in key/value pairs, we can use the Map interface.</p><p>The ArrayList class provides the functionality of resizable arrays</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d899651fea8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Should we Travel]]></title>
            <link>https://medium.com/@farhadrasheed02/why-should-we-travel-a1606ece04be?source=rss-edbf4741f4b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1606ece04be</guid>
            <dc:creator><![CDATA[Farhad Rasheed]]></dc:creator>
            <pubDate>Mon, 08 May 2023 04:10:48 GMT</pubDate>
            <atom:updated>2023-05-08T04:10:48.840Z</atom:updated>
            <content:encoded><![CDATA[<p>Why Should we Travel</p><p>All of us always ask ourselves why people travel. In my opinion, traveling is one of the best ways that make you feel relaxed and inspired! We love to feel relaxed and physically good! We love the quiet and calm meals, the new adventures and experiences, the people we meet and memories we made, the long and messy walks, and the new spots we visit. All of the previous make us feel comfortable and satisfied that we are alive.</p><p>We always hear that traveling is very beneficial, and a lot of people say that traveling will help you to maintain your physical and physiological health, but what are the benefits of traveling? Why do we have to travel? What happens to your brain when you are traveling? The idea of the traveling benefits varies from person to another, but the benefits of traveling are unlimited. It&#39;s important to know them and to know how is important for you to travel! <br> <br>Now, you need to know in detail why traveling is important and how to get every benefit from it.</p><p>1. Traveling will improve your mental health <br> <br>The most significant benefit for you from traveling is that you are restarting your life for just a small period which the traveling period and this will affect your health positively! Surrounded by new people, new places, and even new food recipes, all of that and more will help you to feel relaxed and chilled. If you have depression and anxiety you will feel good after traveling and making new activities, and as we know a healthy body means definitely a healthy mind and healthy life!</p><p>2. Traveling improves your communications skills and helps you to disjoin the busy life <br> <br> If you already live your daily life in a busy, crowded region, I think it is time to run from all of this and choose a calm quiet destination and disconnect from that bustling life. Traveling will help you in enhancing your language, too, and also gain the experience to learn new languages from the countries you visit.</p><p>Traveling makes your mind calm and more positive<br> <br>Traveling will help you to disconnect the virtual life and the Technology we are all stuck in, when you travel you will feel the sea, the green areas, the colorful streets, and the ancient areas you can visit. Traveling will give you positive feelings and a positive mind.</p><p>4. Traveling give you the opportunity to explore the other cultures <br> <br>Traveling is not only visiting a new place or seeing new spots you never see before, it&#39;s also a chance to know other people&#39;s culture and history! It gives you the chance to accept the other&#39;s culture and traditions and gives you the ability to adapt to the circumstances you live in this city with those people. You will be able to make conversations and talk with different people with different cultures and backgrounds. You will have tolerance for the different people, their backgrounds, their lifestyles, their traditions, and more!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1606ece04be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Social Media Impact : -]]></title>
            <link>https://medium.com/@farhadrasheed02/social-media-impact-fa702cb51265?source=rss-edbf4741f4b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa702cb51265</guid>
            <dc:creator><![CDATA[Farhad Rasheed]]></dc:creator>
            <pubDate>Mon, 10 Apr 2023 05:22:05 GMT</pubDate>
            <atom:updated>2023-04-10T05:22:07.030Z</atom:updated>
            <content:encoded><![CDATA[<p>Social Media Impact : -</p><p>Social media has a significant impact on our daily lives, both positive and negative. Some of the ways social media can impact our lives are:</p><p>Communication: Social media has revolutionized the way we communicate with each other. With social media, people can connect with others from all over the world instantly and easily.</p><p>Information sharing: Social media provides a platform for individuals and organizations to share information and news on a global scale. This can help spread awareness about important issues and events.</p><p>Networking: Social media has made networking much easier, allowing people to connect with others in their field or industry, creating opportunities for professional growth and development.</p><p>Entertainment: Social media provides a platform for entertainment and can help people relieve stress and relax.</p><p>Addiction and Mental Health: Social media addiction and its impact on mental health are growing concerns. It can lead to addiction, anxiety, depression, and other mental health issues.</p><p>Cyberbullying: Social media has also led to an increase in cyberbullying. People can easily hide behind anonymous profiles and bully others without consequences.</p><p>Privacy and security: Social media has raised concerns about privacy and security. Users must be cautious about the information they share and who they share it with.</p><p>In summary, social media has impacted our lives in many ways, from the way we communicate and connect with others to the way we consume and share information. However, it&#39;s essential to be aware of the negative impacts of social media and take steps to mitigate them.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa702cb51265" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ramdhan Mubarak :-]]></title>
            <link>https://medium.com/@farhadrasheed02/ramdhan-mubarak-d9a6b54e975e?source=rss-edbf4741f4b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9a6b54e975e</guid>
            <dc:creator><![CDATA[Farhad Rasheed]]></dc:creator>
            <pubDate>Mon, 27 Mar 2023 05:10:14 GMT</pubDate>
            <atom:updated>2023-03-27T05:10:14.261Z</atom:updated>
            <content:encoded><![CDATA[<p>Ramdhan Mubarak :-</p><p>Ramadan Mubarak Greeting.</p><p>Ramadan Mubarak is a traditional greeting used by Muslims during the holy month of Ramadan. Ramadan is the ninth month of the Islamic calendar, and during this time, Muslims fast from sunrise to sunset as an act of worship and self-discipline.</p><p>Ramadan Mubarak can be translated to &quot;Blessed Ramadan&quot; or &quot;Happy Ramadan.&quot; It is a way to wish others a peaceful and fulfilling Ramadan and to express one&#39;s own excitement and anticipation for the month.</p><p>During Ramadan, Muslims engage in additional prayers, charity, and acts of kindness. The month is a time of spiritual reflection and devotion, and Muslims believe that their good deeds during this time will be rewarded by God.</p><p>Overall, Ramadan Mubarak is a way to express well wishes for the holy month of Ramadan and to celebrate the spiritual significance of the occasion.</p><p>Ramadan Mubarak Greeting</p><p>Ramdhan Mubarak description</p><p>Ramadan Mubarak is a traditional greeting used by Muslims during the holy month of Ramadan. Ramadan is the ninth month of the Islamic calendar, and during this time, Muslims fast from sunrise to sunset as an act of worship and self-discipline.</p><p>Ramadan Mubarak can be translated to &quot;Blessed Ramadan&quot; or &quot;Happy Ramadan.&quot; It is a way to wish others a peaceful and fulfilling Ramadan and to express one&#39;s own excitement and anticipation for the month.</p><p>During Ramadan, Muslims engage in additional prayers, charity, and acts of kindness. The month is a time of spiritual reflection and devotion, and Muslims believe that their good deeds during this time will be rewarded by God.</p><p>Overall, Ramadan Mubarak is a way to express well wishes for the holy month of Ramadan and to celebrate the spiritual significance of the occasion.</p><p>Ramdhan Mubarak origin</p><p>The origins of the greeting &quot;Ramadan Mubarak&quot; can be traced back to the early Islamic period. It is believed that the Prophet Muhammad (peace be upon him) used to greet his companions with similar phrases during Ramadan.</p><p>The Arabic word &quot;Mubarak&quot; means &quot;blessed,&quot; and it is often used to express congratulations or good wishes on various occasions. Therefore, saying &quot;Ramadan Mubarak&quot; is a way of wishing someone a blessed or happy Ramadan.</p><p>Over time, the tradition of using the greeting &quot;Ramadan Mubarak&quot; has spread throughout the Muslim world and is now commonly used by Muslims to greet one another during the holy month of Ramadan.</p><p>Ramadan Mubarak Greeting</p><p>Ramdhan Mubarak description</p><p>Ramadan Mubarak is a traditional greeting used by Muslims during the holy month of Ramadan. Ramadan is the ninth month of the Islamic calendar, and during this time, Muslims fast from sunrise to sunset as an act of worship and self-discipline.</p><p>Ramadan Mubarak can be translated to &quot;Blessed Ramadan&quot; or &quot;Happy Ramadan.&quot; It is a way to wish others a peaceful and fulfilling Ramadan and to express one&#39;s own excitement and anticipation for the month.</p><p>During Ramadan, Muslims engage in additional prayers, charity, and acts of kindness. The month is a time of spiritual reflection and devotion, and Muslims believe that their good deeds during this time will be rewarded by God.</p><p>Overall, Ramadan Mubarak is a way to express well wishes for the holy month of Ramadan and to celebrate the spiritual significance of the occasion.</p><p>Ramdhan Mubarak origin</p><p>The origins of the greeting &quot;Ramadan Mubarak&quot; can be traced back to the early Islamic period. It is believed that the Prophet Muhammad (peace be upon him) used to greet his companions with similar phrases during Ramadan.</p><p>The Arabic word &quot;Mubarak&quot; means &quot;blessed,&quot; and it is often used to express congratulations or good wishes on various occasions. Therefore, saying &quot;Ramadan Mubarak&quot; is a way of wishing someone a blessed or happy Ramadan.</p><p>Over time, the tradition of using the greeting &quot;Ramadan Mubarak&quot; has spread throughout the Muslim world and is now commonly used by Muslims to greet one another during the holy month of Ramadan.</p><p>Taraweeh is a special prayer that is performed by Muslims during the holy month of Ramadan. It is an additional prayer that is performed after the Isha prayer and consists of a series of units (rak&#39;ahs) that are recited in pairs.</p><p>The Taraweeh prayer is not obligatory but is highly recommended for Muslims to perform during Ramadan. It is considered a way to increase one&#39;s spirituality, seek forgiveness, and connect with God during this blessed month.</p><p>Muslims usually perform Taraweeh in congregation in mosques or Islamic centers. The prayer is led by an imam who recites verses from the Quran, and the worshippers follow along by standing, bowing, and prostrating in unison.</p><p>During Taraweeh, the imam recites one-thirtieth (juz&#39;) of the Quran each night, so that by the end of Ramadan, the entire Quran has been recited in congregation.</p><p>Overall, Taraweeh is an essential part of the Ramadan experience for many Muslims, as it provides an opportunity to connect with God and seek spiritual renewal during this holy month.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9a6b54e975e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Multithreading in Java]]></title>
            <link>https://medium.com/@farhadrasheed02/multithreading-in-java-f822cb78184b?source=rss-edbf4741f4b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f822cb78184b</guid>
            <dc:creator><![CDATA[Farhad Rasheed]]></dc:creator>
            <pubDate>Mon, 13 Mar 2023 04:47:24 GMT</pubDate>
            <atom:updated>2023-03-13T04:47:24.828Z</atom:updated>
            <content:encoded><![CDATA[<p>Multithreading in Java</p><p>Multithreading is a Java feature that allows concurrent execution of two or more parts of a program for maximum utilization of CPU. Each part of such program is called a thread. So, threads are light-weight processes within a process.</p><p>Threads can be created by using two mechanisms :</p><p>Extending the Thread class</p><p>Implementing the Runnable Interface</p><p>Thread creation by extending the Thread class<br>We create a class that extends the java.lang.Thread class. This class overrides the run() method available in the Thread class. A thread begins its life inside run() method. We create an object of our new class and call start() method to start the execution of a thread. Start() invokes the run() method on the Thread object.</p><p>Thread creation by implementing the Runnable Interface<br>We create a new class which implements java.lang.Runnable interface and override run() method. Then we instantiate a Thread object and call start() method on this object</p><p><a href="https://www.geeksforgeeks.org/">GEEKSFORGEEKS</a></p><p>Multithreading in Java</p><p>Multithreading is a Java feature that allows concurrent execution of two or more parts of a program for maximum utilization of CPU. Each part of such program is called a thread. So, threads are light-weight processes within a process.</p><p>Threads can be created by using two mechanisms :</p><p>Extending the Thread class</p><p>Implementing the Runnable Interface</p><p>Thread creation by extending the Thread class<br>We create a class that extends the java.lang.Thread class. This class overrides the run() method available in the Thread class. A thread begins its life inside run() method. We create an object of our new class and call start() method to start the execution of a thread. Start() invokes the run() method on the Thread object.</p><p>Java</p><p>// Java code for thread creation by extending</p><p>// the Thread class</p><p>class MultithreadingDemo extends Thread {</p><p>public void run()</p><p>{</p><p>try {</p><p>// Displaying the thread that is running</p><p>System.out.println(</p><p>&quot;Thread &quot; + Thread.currentThread().getId()</p><p>+ &quot; is running&quot;);</p><p>}</p><p>catch (Exception e) {</p><p>// Throwing an exception</p><p>System.out.println(&quot;Exception is caught&quot;);</p><p>}</p><p>}</p><p>}</p><p>// Main Class</p><p>public class Multithread {</p><p>public static void main(String[] args)</p><p>{</p><p>int n = 8; // Number of threads</p><p>for (int i = 0; i &lt; n; i++) {</p><p>MultithreadingDemo object</p><p>= new MultithreadingDemo();</p><p>object.start();</p><p>}</p><p>}</p><p>}</p><p>Output</p><p>Thread 15 is running Thread 14 is running Thread 16 is running Thread 12 is running Thread 11 is running Thread 13 is running Thread 18 is running Thread 17 is running</p><p>Thread creation by implementing the Runnable Interface<br>We create a new class which implements java.lang.Runnable interface and override run() method. Then we instantiate a Thread object and call start() method on this object.</p><p>Java</p><p>// Java code for thread creation by implementing</p><p>// the Runnable Interface</p><p>class MultithreadingDemo implements Runnable {</p><p>public void run()</p><p>{</p><p>try {</p><p>// Displaying the thread that is running</p><p>System.out.println(</p><p>&quot;Thread &quot; + Thread.currentThread().getId()</p><p>+ &quot; is running&quot;);</p><p>}</p><p>catch (Exception e) {</p><p>// Throwing an exception</p><p>System.out.println(&quot;Exception is caught&quot;);</p><p>}</p><p>}</p><p>}</p><p>// Main Class</p><p>class Multithread {</p><p>public static void main(String[] args)</p><p>{</p><p>int n = 8; // Number of threads</p><p>for (int i = 0; i &lt; n; i++) {</p><p>Thread object</p><p>= new Thread(new MultithreadingDemo());</p><p>object.start();</p><p>}</p><p>}</p><p>}</p><p>OutputThread 13 is running Thread 11 is running Thread 12 is running Thread 15 is running Thread 14 is running Thread 18 is running Thread 17 is running Thread 16 is running</p><p>Thread Class vs Runnable Interface</p><p>If we extend the Thread class, our class cannot extend any other class because Java doesn’t support multiple inheritance. But, if we implement the Runnable interface, our class can still extend other base classes.</p><p>We can achieve basic functionality of a thread by extending Thread class because it provides some inbuilt methods like yield(), interrupt() etc. that are not available in Runnable interface.</p><p>Using runnable will give you an object that can be shared amongst multiple threads.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f822cb78184b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is an IP Address ?]]></title>
            <link>https://medium.com/@farhadrasheed02/what-is-an-ip-address-2aa0b1f3e4f7?source=rss-edbf4741f4b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/2aa0b1f3e4f7</guid>
            <dc:creator><![CDATA[Farhad Rasheed]]></dc:creator>
            <pubDate>Mon, 20 Feb 2023 05:29:13 GMT</pubDate>
            <atom:updated>2023-02-20T05:29:13.994Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is an IP Address ?</h3><p>All computers on the Internet World communicate each other with underground or underwater or wirelessly.</p><p>If I want to download a file from the internet or load a web page or literally do anything with the internet, my computer must have</p><p>An address so that the computers can find and locate mine in order to deliver that particular file or webpage that I am requesting.</p><p>In technical terms, that address is called IP Address or Internet Protocol Address.</p><p>Here each number in the set is from 0 to 255 range. Or we can say that a full IP address ranges from 0.0.0.0 to 255.255.255.255. And these IP addresses are assigned by IANA(Internet Corporation For Internet Assigned Numbers Authority).</p><p>-&gt; set of rules that makes the internet work</p><p>The working of IP addresses is similar to other languages. It can also use some set of rules to send information. Using these protocols we can easily send, and receive data or files to the connected devices.</p><ul><li><strong>On Windows: </strong>Click Start and type “cmd” in the search box and run the command prompt. In the black command prompt dialog box type “ipconfig” and press enter. You will be able to see your IP Address there.</li></ul><p><strong>Types of IP Address</strong></p><p>IP Address is of two types:</p><p><strong>1. IPv4: </strong>Internet Protocol version 4. It consists of 4 numbers separated by the dots. Each number can be from 0–255 in decimal numbers. But computers do not understand decimal numbers, they instead change them to binary numbers which are only 0 and 1. Therefore, in binary, this (0–255) range can be written as (00000000–11111111). Since each number N can be represented by a group of 8-digit binary digits. So, a whole IPv4 binary address can be represented by 32-bits of binary digits. In IPv4, a unique sequence of bits is assigned to a computer, so a total of (2³²) devices approximately = 4,294,967,296 can be assigned with IPv4.</p><p>The first is the 0.0.0.0 address and refers to the default network and the 255.255.255.255 address which is called the broadcast address</p><p>Class</p><p>Start address</p><p>Finish address</p><p>A</p><p>0.0.0.0</p><p>126.255.255.255</p><p>B</p><p>128.0.0.0</p><p>191.255.255.255</p><p>C</p><p>192.0.0.0</p><p>223.255.255.255</p><p>D</p><p>224.0.0.0</p><p>239.255.255.255</p><p>E</p><p>240.0.0.0</p><p>255.255.255.255</p><p>IP Address Classes</p><p>IPV6 :-</p><p><strong>IPv6: </strong>But, there is a problem with the IPv4 address. With IPv4, we can connect only the above number of 4 billion devices uniquely, and apparently, there are much more devices in the world to be connected to the internet. So, gradually we are making our way to <strong>IPv6 Address </strong>which is a 128-bit IP address. In human-friendly form, IPv6 is written as a group of 8 hexadecimal numbers separated with colons(:). But in the computer-friendly form, it can be written as 128 bits of 0s and 1s. Since, a unique sequence of binary digits is given to computers, smartphones, and other devices to be connected to the internet. So, via IPv6 a total of (2¹²⁸) devices can be assigned with unique addresses which are actually more than enough for upcoming future generations.</p><p>IPv6 can be written as:</p><p><em>2</em>011:0bd9:75c5:0000:0000:6b3e:0170:8394</p><p>Classification of IP Address :</p><p><strong>Public :-</strong></p><p>This address is available publicly and it is assigned by your network provider to your router.</p><p>Public is further divided into two :-</p><ol><li>Dynamic</li></ol><p>When you connect a smartphone or computer to the internet, your Internet Service Provider provides you an IP Address from the range of available IP Addresses. Now, your device has an IP Address and you can simply connect your device to the Internet and send and receive data to and from your device. The very next time when you try to connect to the internet with the same device, your provider provides you with different IP Addresses to the same device and also from the same available range. Since IP Address keeps on changing every time when you connect to the internet, it is called a Dynamic IP Address.</p><ol><li>Static :-</li></ol><p>Static address never changes. They serve as a permanent internet address. These are used by DNS servers. What are DNS servers? Actually, these are computers that help you to open a website on your computer. Static IP Address provides information such as device is located on which continent, which country, which city, and which Internet Service Provider provides internet connection to that particular device. Once, we know who is the ISP, we can trace the location of the device connected to the internet. Static IP Addresses provide less security than Dynamic IP Addresses because they are easier to track.</p><p><strong>2. Private IP Address:</strong></p><p>This is an internal address of your device which are not routed to the internet and no exchange of data can take place between a private address and the internet.</p><p><strong>3. Shared IP addresses: </strong>Many websites use shared IP addresses where the traffic is not huge and very much controllable, they decide to rent it to other similar websites so to make it cost-friendly. Several companies and email sending servers use the same IP address (within a single mail server) to cut down the cost so that they could save for the time the server is idle.</p><p>4.Dedicated IP addresses: A dedicated IP Address is an address used by a single company or an individual which gives them certain benefits using a private Secure Sockets Layer (SSL) certificate which is not in the case of a shared IP address. It allows to access the website or log in via File Transfer Protocol (FTP) by IP address instead of its domain name. It increases the performance of the website when the traffic is high. It also protects from a shared IP address that is black-listed due to spam.</p><p><strong>IP address security threats</strong></p><p>Each IP address is associated with virtual ports in a computer that acts as a doorway that allows web applications or websites to send and receive data or information on your device. If after the connection is terminated the ports remain open somehow, might allow hackers to get into your device. Once, a hacker gets access to your device remotely through various tools and viruses, they would be able to access all your stored files and data and your computer hardware as well, which includes your webcam, mic, speaker, and all your browsing history, your emails and saved passwords. These are some serious threats from which we need to be extra careful.</p><p>Various online activities can reveal your IP address from playing games or accepting bad cookies from a trap website or commenting on a website or forum. Once, they have your IP, there are websites that help them get a decent idea of your location. They can further use social media websites to track your online presence and cross verify everything that they got from these sites and use your information for their benefits or can sell these data collected on the dark web which can further exploit you.</p><p>The worst which I have seen in my friend’s pc got infected while he was installing an application that he downloaded from a pirated website. The moment he hit install, a number of command prompt boxes started appearing, tens of commands started running and after a while, it was back to normal. Some malware was installed in the process. After a few days, someone was trying to log in to his social media account and other accounts using his computer as a host pc (his own IP address) but his computer was idle. The hacker was using his pc and his network, i.e., his IP address to do some serious stuff. He formatted his computer then and there, secured all his emails and other accounts, and changed all the passwords and all the security measures that had to be taken.</p><p>Cybercriminals use different techniques to get hands-on with your IP address and know your location, get into your network and hack into your computers. For instance, they will find you through Skype which uses IP addresses to speak. If you are using these apps, it’s important to notice that your IP address might be vulnerable. Attackers can use the various tools, where they will find your IP address. Some of the threats are: Online stalking, downloading illegal content using your IP address, tracking your location, directly attacking your network, and hacking into your device.</p><p><strong>Protect and hide IP address</strong></p><p>To secure and hide your IP address from unwanted people always remember the following points:</p><ul><li>Use a proxy server.</li><li>Use a virtual private network (VPN) when using public Wi-Fi, you are traveling, working remotely, or just want some privacy.</li><li>Change privacy settings on instant messaging applications.</li><li>Create unique passwords.</li><li>Beware of phishing emails and malicious content.</li><li>Use a good and paid antivirus application and keep it up to date.</li><li>When you are using public wifi in a cafe or station or anywhere, you must hide your IP address by using VPN. Getting your IP from public wifi is just a cakewalk for these hackers and they are very good at stealing all your information while using your computer’s address. There are different phishing techniques in which they email you, call you, and SMS you about giving vital information about you. They give links to vicious websites which are pre-rigged. The moment you open these websites, they steal all your device’s information revealing all the information about you and your device which are to be kept private. These leaks help the hackers to exploit your device and install or download some spyware and malware on your device. But using a good anti-virus gives you web security as well, which will prevent those websites to launch and warn you about the information being passed to these websites.</li><li>It is also not recommended to use torrent or pirated websites which are a threat to your online identity and can compromise your device or emails or any other information about you.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*_m-anyDvQhhe1pm2" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2aa0b1f3e4f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>