Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package com.mycompany.ja9;
- /**
- *
- * @author Admin
- */
- public class Main2 {
- public static void printAllBoxes(Box[] array) {
- }
- //
- public static void main(String[] args) {
- Box b1 = new Box(0, 0, 0, 0, 0, 0);
- Box b2 = new Box(0, 0, 0, 0, 0, 1);
- Box[] array = {b1, b2};
- Box[] array1 = {new Box(0, 0, 0, 0, 0, 0), new Box(0, 0, 0, 0, 0, 1)};
- printAllBoxes(array1);
- //
- printAllBoxes(new Box[]{new Box(0, 0, 0, 0, 0, 0), new Box(0, 0, 0, 0, 0, 1)});
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement