0

How to use java curly brackets?

help my guys. Its really confusing how to work with this curly things. Can anyone explain this to me? or tell me how to properly use it?

24th Sep 2017, 1:16 AM
Jerrakiztah
Jerrakiztah - avatar
1 ответ
+ 2
Its pretty simple. Curly brackets contains a piece of code. Without those, you`ll get an compilation error. Ex: public static void main(String[] args){ System.out.println("Message"); }
24th Sep 2017, 2:09 AM
_Cătălin
_Cătălin - avatar