Exception Handling (Arithmetic Exception) – Divide by Zero

Exception Handling (Arithmetic Exception) – Divide by Zero

So after a brief explanation on Exception Handling, today we are goona implement “Exception Handling” (Arithmetic Exception) by taking a very common example of “Divide by Zero”. So we all…

Exception Handling in Java (Explained!)

Exception Handling in Java (Explained!)

Hello! guys, today we are going to learn Exception Handling in Java. So first of all let me tell you that “Exception” and “Errors” both are very much different from…

CSS Shapes Collection 1

CSS Shapes Collection 1

  VIEW DEMO   DOWNLOAD SOURCE Hey! Wass up! friends.Today we are going towards the new tutorial which is from the Collections (This is the very first tutorial of our “Collection” Series)….

Centered and Responsive Page using CSS

Centered and Responsive Page using CSS

  VIEW DEMO   DOWNLOAD SOURCE First of all Welcome to the very first tutorial of CSS (that’s what we say “CSS Tuts”). Here we are going to “Design a Custom Page”…

Bitwise Right Shift operators in Java

Bitwise Right Shift operators in Java

Creating a Right Pointer Pattern of Star in Java

Creating a Right Pointer Pattern of Star in Java

Logic Used –> n– (to make it odd) –> n=(n/2)+1 –> j=i –> j=n-i

Creating a 2 in 4 Triangles Pattern in Java

Creating a 2 in 4 Triangles Pattern in Java

Logic Used –> n=n/4 –> j=n-i+1 –> j=2*i-1 –> j=i –> j=2*(n-i)+1 –> j=i –> j=n-i+1 –> j=2*i-1 –>j=n-i+1 –> j=i –> j=2*(n-i)+1

Creating a 3 in 1 Triangle Pattern in Java

Creating a 3 in 1 Triangle Pattern in Java

Logic Used –> j=i-1 –> j=2*(n-i)+1 –> j=2*i-1 –> j=2*(n-i)+1 –> int  k=i-1 –> j=i-1 –> j=2*(n-i)+1

Creating a White-Spaced Diamond Pattern in Java

Creating a White-Spaced Diamond Pattern in Java

Logic Used –> n=n/2 –> j=n-i+1 –> j=2*i-1 –> j=n-i+1 –> j=i –> j=2*(n-i)+1 –> j=i

Creating a Boomerang Pattern/Shape in Java

Creating a Boomerang Pattern/Shape in Java

Logic Used –> n=n/2 –> j=i-1 –> j=i –> j=n-i –> j=n-i+1


1 2 3 6 7