I come to know that the maximum size of a method in java is 64k. And if it exceeds, we\'ll get a compiler warning like \"Code too large to compile\". So can we call this a
If your method is longer than 50 lines including inside comments - split it. In this case you will never reach any limitation (even if one exists).
I personally saw 1000 lines long methods (written by criminals that call themselves programmers :) ) but did not see such kind of limitation.