This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Pass arrays directly to methods without declaring a variable: method(new int[]{1, 2, 3}).
You've completed the free preview. Subscribe to unlock every lesson in every course.