jvm - What is the maximum of number of arguments for varargs in java? -
what maximum of number of arguments can used vararg in java ? believe there should limit , not infinite.
a method (including static class initializer) can have @ 64k. if arguments such can pushed single bytecode 1 byte long each, can have 64000 arguments on call.
Comments
Post a Comment