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?
1 Answer
+ 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");
}