0
Do static block gets executed before main block in Java?
6 Antworten
+ 1
Nope. first of everything is the main method. actually it starts with the first line of the main.
+ 1
you can call it (your method) in the main
+ 1
Bennett Post hmm, maybe.
0
Bennett Post oh I didn't know that. thanks.
0
Bennett Post , yes, I get it wrong. lol
0
Bennett sry i typed it wrong
Actually My question was
"Do static block gets executed before main method?"