Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String[] args) {
- some(false);
- }
- public static void some(boolean ...args) {
- if (args.length == 0 || args[0]) {
- System.out.println("Gotcha!");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement