forked from vizzv/cafeBabe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain.java
116 lines (106 loc) · 3.3 KB
/
Main.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
import java.util.Scanner;
public final class Main implements xx,vv{
static final int mainV=50;
public final static String dV="cafeBabe";
static final Float y=30.01f;
private static double x;
static Integer a =50;
public final static float ff=1.0f;
public static void methodd(){
System.out.println(dV+x);
}
public static void methodd(int aa){
System.out.println(dV+x+aa);
}
private static class ku6b{
int ku6bv=0;
}
private static class vizzly extends node implements vv,xx{
int a;
String v;
public static void hidimba(boolean b){ System.out.println("hihihihihihi");}
public static int xeroOrone(boolean b){return b?1:0;}
public static void hidimba1(boolean b){ System.out.println("hihihihihihi1");}
public static int xeroOrone1(boolean b){return b?1:0;}
}
node vvvv= new node(1234, null);
public static void hidimba(boolean b){ System.out.println("hihihihihihi");}
public static int xeroOrone(boolean b){return b?1:0;}
static int staticInteger=0;
public static void main(String[] args) throws Exception
{
System.out.println(ff);
System.out.println("enter kk");
Scanner sc= new Scanner(System.in);
int kk=sc.nextInt();
System.out.println(kk);
sc.close();
a:{
System.out.println("i am in a");
}
System.out.println("namaste!!!");
node v=new node(1,new node());
vizzly vzz= new vizzly();
vzz.a=5;
vzz.hidimba(false);
treeNode root=new treeNode(1, new treeNode(), new treeNode());
System.out.println(v.head+"->"+v.next.next);
System.out.print(root.left.value);
System.out.println(mainV);
System.out.println(y);
treeNode rr= createTree();
methodd();
Main.ku6b k= new ku6b();
k.ku6bv=2;
System.out.println(rr);
System.out.println(50+19);
}
public static treeNode createTree(){
treeNode treeRoot=new treeNode();
treeRoot.left= new treeNode();
treeRoot.right=new treeNode();
return treeRoot;
}
public static treeNode createTree(treeNode leftt,treeNode rightt){
treeNode treeRoot=new treeNode();
treeRoot.left= leftt;
treeRoot.right=rightt;
return treeRoot;
}
}
interface vv{
public static void hidimba(boolean b){ System.out.println("hihihihihihi");}
public static int xeroOrone(boolean b){return b?1:0;}
}
interface xx{
public static void hidimba1(boolean b){ System.out.println("hihihihihihi");}
public static int xeroOrone1(boolean b){return b?1:0;}
}
class node implements xx{
int head;
node next;
node(int head,node next){
this.head=head;
this.next=next;
}
node(){
this.next=null;
}
public static void hidimba(boolean b){ System.out.println("hihihihihihi");}
public static int xeroOrone(boolean b){return b?1:0;}
public static int getValue(node root){
return root.head;
}
}
final class treeNode{
int value;
treeNode left;
treeNode right;
treeNode(){
}
treeNode(int val,treeNode lft,treeNode rght){
this.value=val;
this.left=lft;
this.right=rght;
}
}