This topic has been archived. It cannot be replied.
-
工作学习 / 专业技术讨论 / 一个Java 类文件最大允许多大? 一个String最多允许多长? try 块最多允许包含多少行? 这些定义都在哪里? JVM Specification的书里有吗?
-markriver(markriver);
2006-6-30
(#3056634@0)
-
1. 我记得应该是 2**16 -1
2. no. depends on your memeory allocation for the JVM; it is implemented as char array
3. no - or we can say the limitation of it is 1.
-thelordofthekings(皇帝的新马甲);
2006-6-30
(#3056769@0)
-
多谢,“3. no - or we can say the limitation of it is 1”你是指try 块吗? try 块是不能太大的,我前两天刚遇到过一个这种问题
-markriver(markriver);
2006-7-1
(#3057278@0)