SCJP14高效率复习提纲(Englishversion).doc

SCJP14高效率复习提纲(Englishversion).doc

  1. 1、本文档共7页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
SCJP14高效率复习提纲(Englishversion)

SECTION 1: DECLARATIONS AND ACCESS CONTROL   1. An identifier in java must begin with a letter, a dollar sign($), or an underscore (_); subsequent characters may be letters, dollar signs, underscores, or digits.   2. All the keywords in java are comprised of lower case characters only.   3. There are three top-level elements that may appear in a file. None of these elements is required. If they are present, then they must appear in the following order:     -package declaration     -import statements     -class definitions   4. A Java source file (Java file) cannot have more than one public class, interface or combination of both.   5. The variables in an interface are implicitly public, final and static. If the interface, itself, is declared as public the methods and variables are implicitly public.   6. Variables cannot be synchronized.   7. The variables in Java can have the same name as method or class.   8. A transient variable may not be serialized.   9. The transient keyword is applicable to variables only.   10. The native keyword is applicable to methods only.   11. The final keyword is applicable to methods, variables and classes.   12. The abstract keyword is applicable to methods and classes.   13. The static keyword is applicable to variables, methods or a block of code called static initializers.   14. A native method cannot be abstract but it can throw exception(s).   15. A final class cannot have abstract methods.   16. An abstract class might not have any final methods.   17. All methods of a final class are automatically final.   18. Interfaces cannot be final and should not be declared abstract.   19. The visibility of the class is not limited by the visibility of its members. I.e. A class with the entire members declared private can still be declared public.   20. Interface methods cannot be native, static, synchronized, final, private, protected or abstract. They are implicitly public, abstract and non-static.   21. The statement float f = 5.0; w

文档评论(0)

haihang2017 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档