![]() |
http://www.jindent.com |
![]() |
Next: White Spaces
![]() |
Put empty statements and declarations on new line |
;
without any real
functionality. They are mostly used as code separators or place holders.
class ClassA { int x=10; ;;;;; // semicolons used as separator void method(int a) { ;; } int getA();; } |
class ClassA { int x=10; ; ; ; ; ; // semicolons used as separator void method(int a) { ; ; } int getA(); ; } |