<?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: Saleemuddin Khan</title>
    <description>The latest articles on DEV Community by Saleemuddin Khan (@saleemuddinofficial).</description>
    <link>https://dev.to/saleemuddinofficial</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2561200%2Fb35fb781-c191-43f3-9717-0b1c36eda598.jpg</url>
      <title>DEV Community: Saleemuddin Khan</title>
      <link>https://dev.to/saleemuddinofficial</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/saleemuddinofficial"/>
    <language>en</language>
    <item>
      <title>🚀 Kotlin's Key Features #1</title>
      <dc:creator>Saleemuddin Khan</dc:creator>
      <pubDate>Sun, 18 May 2025 13:58:14 +0000</pubDate>
      <link>https://dev.to/saleemuddinofficial/kotlins-key-features-1-38f</link>
      <guid>https://dev.to/saleemuddinofficial/kotlins-key-features-1-38f</guid>
      <description>&lt;p&gt;&lt;strong&gt;🏹 Null Safety in Kotlin&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Dodging the Null Pointer Exception, the Kotlin way🤓🤓&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;➤ Concept of &lt;strong&gt;Strict Null Safety&lt;/strong&gt; in &lt;strong&gt;&lt;em&gt;Kotlin&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
 &lt;strong&gt;• Safe Call Operator &lt;em&gt;( ?. )&lt;/em&gt; in Kotlin&lt;br&gt;
 • Elvis Operator &lt;em&gt;( ?: )&lt;/em&gt; in Kotlin&lt;br&gt;
 • Not Null Assertion &lt;em&gt;( !! )&lt;/em&gt; in Kotlin.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq0f6qgxjkgxsi4cdc6db.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq0f6qgxjkgxsi4cdc6db.png" alt="Strict Null Safety" width="800" height="334"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Kotlin allows to store &lt;em&gt;&lt;strong&gt;“Null”&lt;/strong&gt;&lt;/em&gt; values in a variable.&lt;/li&gt;
&lt;li&gt;In Kotlin, the variables can be made of Null types by just adding a &lt;em&gt;&lt;strong&gt;“?”&lt;/strong&gt;&lt;/em&gt; symbol to the right side of the data type.&lt;/li&gt;
&lt;li&gt;A nullable type variable means it can also hold &lt;strong&gt;&lt;em&gt;“Null”&lt;/em&gt;&lt;/strong&gt; as a value in it.&lt;/li&gt;
&lt;li&gt;A non-nullable type variable means that it can not hold &lt;strong&gt;&lt;em&gt;“Null”&lt;/em&gt;&lt;/strong&gt; as a value in it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvi7uriy5gef4gymk1qn3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvi7uriy5gef4gymk1qn3.png" alt="Safe Call Operator" width="800" height="324"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The safe call operator is simply a question mark followed by a dot &lt;strong&gt;&lt;em&gt;( ?. )&lt;/em&gt;&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;The safe call operator in Kotlin, is one of the methods to impose &lt;strong&gt;&lt;em&gt;“Null Safety Checks”&lt;/em&gt;&lt;/strong&gt; on the nullable variables.&lt;/li&gt;
&lt;li&gt;If the left-hand side of the operator is null, then it will return null value.&lt;/li&gt;
&lt;li&gt;If the left-hand side of the operator is not null, then it will return the result of the right-hand side expression.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzxsmoawf5nu6vtt8s71e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzxsmoawf5nu6vtt8s71e.png" alt="Elvis Operator" width="800" height="328"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The elvis operator is represented by a question mark followed by a colon &lt;strong&gt;&lt;em&gt;( ?: )&lt;/em&gt;&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;The elvis operator in Kotlin, is one of the methods to impose &lt;strong&gt;&lt;em&gt;“Null Safety Checks”&lt;/em&gt;&lt;/strong&gt; on the nullable variables.&lt;/li&gt;
&lt;li&gt;If the first operand is not null, then this operand will be returned by the elvis operator.&lt;/li&gt;
&lt;li&gt;If the first operand is null, then second operand will be returned by the elvis operator.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl8jar1u98sj9d8xpdb1q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl8jar1u98sj9d8xpdb1q.png" alt="Not Null Assertion" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;&lt;em&gt;Not Null Assertion&lt;/em&gt;&lt;/strong&gt; is represented by a double exclamation mark &lt;strong&gt;&lt;em&gt;(!!)&lt;/em&gt;&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;&lt;em&gt;Not Null Assertion&lt;/em&gt;&lt;/strong&gt; in Kotlin, is another tool to deal with nullity.&lt;/li&gt;
&lt;li&gt;This operator explicitly casts nullable variables to non-nullable variables.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>kotlin</category>
      <category>kotlintips</category>
      <category>androiddevelopment</category>
      <category>kotlinfeatures</category>
    </item>
    <item>
      <title>Arrays In Java</title>
      <dc:creator>Saleemuddin Khan</dc:creator>
      <pubDate>Fri, 13 Dec 2024 11:12:10 +0000</pubDate>
      <link>https://dev.to/saleemuddinofficial/arrays-in-java-1pjp</link>
      <guid>https://dev.to/saleemuddinofficial/arrays-in-java-1pjp</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Array introduction&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;An arrays is indexed collection of fix no of homogeneous elements.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The main advantage of arrays is we can represent usage no of values by using a single variable.so that read of the code ability improved. But the main disadvantage of arrays is fixed in size. That is once we create an arrays there is no chance of increasing or decreasing base on our requirement hence to use arrays concept compulsory we should know size in advance, which may not possible always.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Array declaration in java&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;One dimensional array declarations

int[] x;   Recommended --&amp;gt; Because Name is clearly Separated from Type

int []x;   These two ways also valid but first one is mostly use by java programmers
int x[];

int[6] x;  -&amp;gt; Invalid --&amp;gt; Because at the time of declaration we cant specify the size otherwise we will get compile time error.
int[]  x;  -&amp;gt; Valid   --&amp;gt; This is valid because just declare an array.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Two dimensional arrays&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Two dimensional array declarations

int[][] x; Recommended --&amp;gt; Because Name is clearly Separated from Type

int [][]x; 

int x[][];

int[] []x;

int[] x[];

int []x[]; 

*/Also all these declaration is valid in java but mostly first one use by Java Programmers./*

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
Two dimensional array declarations mutiple variable in same line

int[] a,b;  
a--&amp;gt;1 both a and b is one dimensional array.
b--&amp;gt;1

int[] a[],b;
a--&amp;gt;2 a is two dimensional array.
b--&amp;gt;1 but b is one dimensional array.

int[] a[],b[];
a--&amp;gt;2 a is two dimensional array.
b--&amp;gt;1 b is also dimensional array.

int[] []a,b;
a--&amp;gt;2 a is two dimensional array.
b--&amp;gt;1 b is one dimensional array.

int[] []a,b[];
a--&amp;gt;2 a is two dimensional array.
b--&amp;gt;3 but b is three dimensional array.

int[] []a,[]b;     ---&amp;gt; Compile Time Error
int[] []a,[]b,[]c; ---&amp;gt; Compile Time Error

/*if you went specify dimension before the variable the facility is applicable only for first variable in a declaration. if you are try to apply remaining variable we will get compile time error./*

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Three dimensional arrays&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;wo dimensional array declarations

int[][][] a; Recommended --&amp;gt; Beacuse Name is clearly Seprated from Type

int [][][]a;

int a[][][];

int[] [][]a;

int[] a[][];

int[] []a[];

int[][] []a;

int[][] a[];

int [][]a[];

int []a[][];

*/Also all these declaration is valid in java but mostly first one use by Java Programmers/*.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Array Creations in java&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One dimensional array creations&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8nd1ley3ct7bwwvrqi8w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8nd1ley3ct7bwwvrqi8w.png" alt="One dimensional array creations" width="345" height="196"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Two dimensional array creations&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7112kurmkim12li4wsib.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7112kurmkim12li4wsib.png" alt="Two dimensional array creations" width="425" height="231"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Three dimensional array creations&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg0easptb4rlzvcgup3wr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg0easptb4rlzvcgup3wr.png" alt="Three dimensional array creations" width="470" height="239"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Every array in java is an object only. Hence we can create arrays by using new operator.&lt;br&gt;
&lt;strong&gt;&lt;em&gt;a ,b,c,p,q,r,x,y,z → all is reference variable.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0labogu9qbkl7dyh6vtn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0labogu9qbkl7dyh6vtn.png" alt="Image description" width="720" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;for every array type of corresponding class are available and these class are part of &lt;strong&gt;java.lang&lt;/strong&gt; package and not available to programmer level.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy2i8e1nx3vyozwn4rq25.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy2i8e1nx3vyozwn4rq25.png" alt="array 4" width="598" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Array Types → Corresponding Class Names&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;int[] → [I&lt;br&gt;
int[][] → [[I&lt;br&gt;
double[] → [D&lt;br&gt;
short[] → [S&lt;br&gt;
byte[] → [B&lt;br&gt;
boolean[] → [Z&lt;br&gt;
String[] → [java.lang.string;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;At the time of array creation compulsory we should specify the size. otherwise we will get compile time error.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzy8b9eh5zzat54rhes72.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzy8b9eh5zzat54rhes72.png" alt="array reference 3" width="342" height="178"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;It is legal to have an array with size zero in java.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmf3bptrfedrxpcqduik2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmf3bptrfedrxpcqduik2.png" alt="Image description" width="324" height="131"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;If you are trying to specify array size with some Negative int value then we will get Runtime exception “NagativeArraySizeException”&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnk9m7r9zlancrkktor4s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnk9m7r9zlancrkktor4s.png" alt="array reference 2" width="694" height="459"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;To specify array size allowed data type are &lt;strong&gt;byte,short,char,int&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Because &lt;strong&gt;byte → to ← short&lt;/strong&gt; conversion is possible. &lt;strong&gt;short → to ← int&lt;/strong&gt; conversion is possible. &lt;strong&gt;char → to ← int&lt;/strong&gt; conversion is also possible.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;long →to ← in&lt;/strong&gt;t conversion is not possible so when we try then it show compile time error.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;conclusion →&lt;/strong&gt; if you are try to specify any other type then we will get compile time error.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyhd3zk57stjma8q0yykg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyhd3zk57stjma8q0yykg.png" alt="array referance" width="720" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Array Maximum Size Allowed In Java&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;First Case →&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The maximum allowed array size in java is &lt;strong&gt;“2147483647”&lt;/strong&gt;.&lt;br&gt;
which is the maximum value of &lt;strong&gt;int datatype&lt;/strong&gt;.&lt;br&gt;
Even in the first case we may get → &lt;strong&gt;RuntimeException&lt;/strong&gt; → If Sufficient memory not available.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fehn9ketff0f0k8jjjryg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fehn9ketff0f0k8jjjryg.png" alt="first case" width="627" height="387"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Second Case →&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If we are try to assign &lt;strong&gt;2147483648&lt;/strong&gt; size of our array then we get &lt;strong&gt;Compile time Exception → Integer Number is too large.&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Because → In Java Array Support Maximum Integer Value As Size.&lt;/strong&gt;&lt;br&gt;
In Java Maximum &lt;strong&gt;Int datatype&lt;/strong&gt; value is → &lt;strong&gt;“2147483647”&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frjxip8ytr2kg74d5fl4h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frjxip8ytr2kg74d5fl4h.png" alt="array case two" width="723" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Happy Coding...&lt;/em&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
