Hacker News new | ask | show | jobs
by symlock 2927 days ago
What do you mean?
1 comments

    void do_stuff(Integer[] integers) {
        ....
    }
    
    do_stuff(new String[]{"1", "2", "3"})
    
    Compiler: whoops, you passed an array of strings when the API called for an array of integers.