52ky 发表于 2022-10-19 16:40:19

java开发工具.ppt

Eclipse的使用工作空间:既寄存所开发的java程序的目录。工作空间途径中不要使用空格和中文字符,避免编码致使的怪异问题。Java工程:创建、打开、关闭、删去、导入创建java工程,指定JRE创建类导入java工程关闭、打开java工程删去java工程,可以选择是不是在删去工程的时候删去工程文件Java命名规范:所有类都必须有包名包名全面小写,通常选用企业网址的倒写方式安排包名。类名首字母大写,这以后的每个单词的首字母大写方法名、变量名首字母小写,除首个单词外的每个单词首字母大写。常量的名字应当都使用大写字母,并且指出该常量完整含义。假如一个常量称号由多个单词构成,则应当用下划线来切割这些单词。

(Working space for Eclipse: the directory where the developed java programs are stored. Do not use spaces and Chinese characters in the workspace to avoid strange problems caused by coding. Java project: Create, open, close, delete, import and create a Java project. Specify the JRE creation class to import the Java project. Close, open the Java project and delete the Java project. You can choose whether to delete the project file when deleting the project. Java naming convention: All classes must have the package name in all lowercase. Usually, the package name is arranged in the reverse mode of the enterprise website. The first letter of class name is capitalized, and the first letter of method name and variable name is lowercase. The first letter of every word except the first word is capitalized. The names of constants should all use uppercase letters and indicate the full meaning of the constants. If a constant title is composed of multiple words, they should be cut with underscores.)




页: [1]
查看完整版本: java开发工具.ppt