JAVA
java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import java.util.*;
import java.lang.*;
import java.io.*;
/* The same in java... high formally
i try to do the same, i can't
*/
class Program
{
public static void main (String[] args) throws java.lang.Exception
{
// your code goes here
int a = 0;
int b= 0;
int c = 1;
/* java doesn't allow assignment in if
if you do that, you get a compile error.
*/
if(a == get(b)){
System.out.println("true");
}else{
System.out.println("false");
}
if(a == get(c)){
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run