😀
- ezcod.blogspot.com https://bit.ly/3v8PLxm
- @Dappyoutube
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Art4{ | |
public static void main(String args[]){ | |
/* | |
0 | |
00 | |
000 | |
0000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Art3{ | |
public static void main(String args[]){ | |
/* 00000 | |
00000 | |
00000 | |
00000 | |
00000 */ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Art2{ | |
public static void main(String args[]){ | |
/* 00000 00000 00000 00000 00000 */ | |
int a = 0; | |
while(a<5){ | |
int c = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Art1{ | |
public static void main(String args[]){ | |
System.out.println(" "); | |
System.out.println(" \\ SORRY /"); | |
System.out.println(" \\ /"); | |
System.out.println(" \\ This page does /"); | |
System.out.println(" ] not exist yet. [ ,'|"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Conditional_opr { | |
public static void main(String args[]){ | |
boolean Ans = false; | |
int i = Ans ? 1 : 0; // 0 | |
System.out.println(i); | |
//----------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Shift_Operators { | |
public static void main(String args[]){ | |
int i = 2; | |
int result = i << 4; // 2 * 2* 2* 2 *2 32 | |
System.out.println(result); | |
int a = 32; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Boolean_and { | |
public static void main(String args[]){ | |
int a = 5 ; | |
int b = 4 ; | |
if( a & b ){ | |
//true | |
System.out.println("yes"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Relational { | |
public static void main(String[] args) { | |
int a = 25 ; | |
int b = 25 ; | |
// <, <=, >, >= ,== , != | |
if( a < b ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class prefix { | |
public static void main(String args[]){ | |
int i = 5 ; | |
System.out.println(++i); // Output is 6 | |
System.out.println(--i); // Output is 4 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Postfix { | |
public static void main(String args[]){ | |
int i = 5 ; | |
System.out.println(i++); // Output is 6 but its incresed after print | |
System.out.println(i--); // Output is 4 but its Decrement after print | |
} |
NewerOlder