Skip to content

Commit 6183816

Browse files
committed
added arguments passing
1 parent 74862cd commit 6183816

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

data/kotlin.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,22 @@
5353
{
5454
"definition": "ক্যারেকটার",
5555
"code": "val c: Char = ‘s’"
56+
},
57+
{
58+
"definition": "বহু লাইনের স্ট্রিং যুক্তকরন",
59+
"code": "val text = """
60+
|First Line
61+
|Second Line
62+
|Third Line
63+
""".trimMargin()"
64+
},
65+
{
66+
"definition": "সাব স্ট্রিং করুন",
67+
"code": "substr = str.substring(8..13)"
5668
}
69+
70+
71+
5772
]
5873
},
5974
{
@@ -94,6 +109,45 @@
94109
"definition": "লেট স্কোপ ফাংশন ,নাল চেক করার জন্য ",
95110
"code": " mediaString?.let { media ->\n\t//do your opeartion you want to do on mediaString object.But use \"media\" in stead of mediaString. It is an alternative of \"if(mediaString != null){}\" in java\n}"
96111
}]
112+
},
113+
114+
{
115+
"title": "টারনারি অপারেশনস",
116+
"items": [ {
117+
"definition": "টারনারি অপারেশন ",
118+
"code": "val text = if (x > 5) x > 5 else x <= 5"
119+
}]
120+
},
121+
{
122+
"title": "বিটওয়াইজ অপারেশনস",
123+
"items": [
124+
{
125+
"definition": "এন্ড অপারেশন ",
126+
"code": "val andResult = a and b"
127+
},
128+
{
129+
"definition": "অর অপারেশন ",
130+
"code": "val orResult = a or b"
131+
},
132+
{
133+
"definition": "এক্স অর অপারেশন ",
134+
"code": "val orResult = a xor b"
135+
},
136+
{
137+
"definition": "রাইট শিফট ",
138+
"code": "a shr 2"
139+
},
140+
{
141+
"definition": "লেফট শিফট ",
142+
"code": "a shl 2"
143+
},
144+
{
145+
"definition": "আনসাইনড রাইট শিফট ",
146+
"code": "a ushr 2"
147+
},
148+
149+
]
97150
}
151+
98152
]
99153
}

0 commit comments

Comments
 (0)