Skip to content

Commit 991895d

Browse files
authored
Merge pull request #790 from 0xMahabub/develop
fixed | java-sheet-issue:console.log()
2 parents 7d52769 + 2a6c7fa commit 991895d

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

data/java-cheat-sheet.json

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,25 @@
9999
{
100100
"title": "সহজে অদলবদল দুইটির মান",
101101
"items": [{
102-
"code": "let x =5, y=10;"
102+
"code": "int x =5, y=10;"
103103
},
104104
{
105-
"code": "[x,y]=[y,x];"
105+
"code": "int temp;"
106106
},
107107
{
108-
"code": "consol.log(x) //10;"
108+
"code": "temp = x;"
109109
},
110110
{
111-
"code": "consol.log(y) //5"
111+
"code": "x = y;"
112+
},
113+
{
114+
"code": "y = temp;"
115+
},
116+
{
117+
"code": "System.out.println(x); //10"
118+
},
119+
{
120+
"code": "System.out.println(y); //5"
112121
}
113122
]
114123
},
@@ -128,7 +137,7 @@
128137
"code": "Math.exp()"
129138
},
130139
{
131-
"definition": "y এর পাওয়ার হিসেবে x কে নেয়ার জন্য",
140+
"definition": "x এর পাওয়ার হিসেবে y কে নেয়ার জন্য",
132141
"code": "Math.pow(x,y)"
133142
},
134143
{

0 commit comments

Comments
 (0)