<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Anand Singh</title>
    <description>The latest articles on DEV Community by Anand Singh (@anandsingh8).</description>
    <link>https://dev.to/anandsingh8</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F472708%2Fbbc05ea7-cab1-4515-8af3-42d92f3236d1.jpg</url>
      <title>DEV Community: Anand Singh</title>
      <link>https://dev.to/anandsingh8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anandsingh8"/>
    <language>en</language>
    <item>
      <title>Role of Primary key in DBMS</title>
      <dc:creator>Anand Singh</dc:creator>
      <pubDate>Wed, 09 Dec 2020 15:03:10 +0000</pubDate>
      <link>https://dev.to/anandsingh8/role-of-primary-key-in-dbms-4524</link>
      <guid>https://dev.to/anandsingh8/role-of-primary-key-in-dbms-4524</guid>
      <description>&lt;p&gt;An entity can contain multiple keys but the key which is most suitable from those lists become a primary key.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In the EMPLOYEE table, id can be primary key since it is unique for each employee.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Main features are-&lt;br&gt;
1-It must contain a unique value.&lt;br&gt;
2-It cannot contain null values.&lt;/p&gt;

&lt;h1&gt;
  
  
  dbms #primarykey
&lt;/h1&gt;

</description>
      <category>database</category>
      <category>management</category>
      <category>sql</category>
    </item>
    <item>
      <title>String important points</title>
      <dc:creator>Anand Singh</dc:creator>
      <pubDate>Tue, 29 Sep 2020 05:34:04 +0000</pubDate>
      <link>https://dev.to/anandsingh8/string-important-points-1bp0</link>
      <guid>https://dev.to/anandsingh8/string-important-points-1bp0</guid>
      <description>&lt;p&gt;String s1="java";&lt;br&gt;
String s2="coder";&lt;/p&gt;

&lt;p&gt;//Sop means System.out.println(for print)&lt;/p&gt;

&lt;p&gt;Sop(s1+s2);  //output-javacoder&lt;/p&gt;

&lt;p&gt;Sop(s1+10); // java10&lt;br&gt;
//10 is treated like a string.&lt;/p&gt;

&lt;p&gt;Sop(s1+10+20);  //java1020&lt;/p&gt;

&lt;p&gt;Sop(10+20+s1);   //30java&lt;br&gt;
//First 10 and 20 were added and then 30 concat with s1.&lt;/p&gt;

&lt;p&gt;note-Left to right operation takes place with the plus operator ... first addition will happen and then concat.&lt;/p&gt;

&lt;p&gt;Sop(10+s1+20);  //10java20&lt;/p&gt;

&lt;p&gt;Sop(s1+20/10);  //java2&lt;br&gt;
//First division took place and then concat method was used&lt;/p&gt;

&lt;p&gt;Note--BODMAS rule is used in Java ... if you do not know the bodmas rule then do a Google search.&lt;/p&gt;

&lt;p&gt;Sop(s1+10-5);   //error&lt;/p&gt;

&lt;p&gt;//first s1+10 =java10&lt;br&gt;
then java10-5&lt;br&gt;
java10 -5 is not possible, so we will get error.&lt;/p&gt;

&lt;p&gt;If you found this post useful, then follow me❤️&lt;/p&gt;

</description>
      <category>java</category>
      <category>cpp</category>
      <category>codenewbie</category>
      <category>csharp</category>
    </item>
    <item>
      <title>Important points for Java interface</title>
      <dc:creator>Anand Singh</dc:creator>
      <pubDate>Mon, 21 Sep 2020 11:49:37 +0000</pubDate>
      <link>https://dev.to/anandsingh8/important-points-for-java-interface-1f5m</link>
      <guid>https://dev.to/anandsingh8/important-points-for-java-interface-1f5m</guid>
      <description>&lt;p&gt;interface I1&lt;br&gt;
{&lt;br&gt;
    public void show(); &lt;br&gt;
    //interface tells the class what to do&lt;br&gt;
}&lt;br&gt;
class Test implements I1&lt;br&gt;
//for interface use implements keyword&lt;br&gt;
{&lt;br&gt;
   public void show()&lt;br&gt;
   //It is necessary to create body of abstract method in child class&lt;br&gt;
   {&lt;br&gt;
       System.out.println("1");&lt;br&gt;
   }&lt;/p&gt;

&lt;p&gt;public static void main(String[] args)&lt;br&gt;
{&lt;br&gt;
   //We cannot create an object of interface so we have created the object of test class here&lt;br&gt;
    Test t=new Test();&lt;br&gt;
    t.show();&lt;/p&gt;

&lt;p&gt;}&lt;br&gt;
}&lt;/p&gt;

</description>
      <category>java</category>
      <category>interface</category>
      <category>corejava</category>
      <category>oop</category>
    </item>
  </channel>
</rss>
