What does the first opening curly bracket and the second opening curly bracket mean in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 18

What does the first opening curly bracket and the second opening curly bracket mean in java

26th May 2019, 5:19 PM
@ana_victorius
@ana_victorius - avatar
9 Answers
+ 17
Ty
26th May 2019, 5:54 PM
@ana_victorius
@ana_victorius - avatar
+ 15
Ya but what the name s of the 2 brackets
26th May 2019, 5:43 PM
@ana_victorius
@ana_victorius - avatar
+ 8
In most language, that's where the operation starts and the closing, that's where it ends
26th May 2019, 5:30 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 4
@ana_victorius the curly braces don't have names but you can call them Larry and Mo if you like.
27th May 2019, 6:11 AM
Sonic
Sonic - avatar
+ 1
https://www.sololearn.com/Discuss/1819573/?ref=app Sololearn survey 2019
28th May 2019, 8:14 AM
GeneralZod
GeneralZod - avatar
+ 1
It defines the scope of a particular block of code such as methods , for loops , classes etc... It denotes the beginning and end...
28th May 2019, 3:53 PM
Thanigai Velan
Thanigai Velan - avatar
0
The curly brackets indicates the scope of the class if curly brackets starts after the class.the next curly brackets indicates the scope of the method.
27th May 2019, 7:09 AM
Dinesh Kotamreddy
Dinesh Kotamreddy - avatar
0
cool
27th May 2019, 4:00 PM
Mohammed Masta
Mohammed Masta - avatar