Java语言中英文简介
- 格式:doc
- 大小:26.00 KB
- 文档页数:3
JAVA语言常用英语汇总1. Class: 类2. Object: 对象3. Method: 方法4. Variable: 变量5. Interface: 接口6. Inheritance: 继承7. Abstraction: 抽象8. Polymorphism: 多态性9. Encapsulation: 封装10. Constructor: 构造函数11. Access Modifier: 访问修饰符12. Public: 公开的13. Private: 私有的14. Protected: 受保护的15. Static: 静态的16. Final: 最终的17. Return: 返回18. Parameter: 参数19. Null: 空20. Array: 数组21. List: 列表22. Set: 集合23. HashMap: 哈希表24. TreeMap: 树图25. Iterator: 迭代器26. Loop: 循环27. If statement: 如果语句28. Switch statement: 多分支语句29. While loop: while循环30. For loop: for循环31. Try-catch: 异常处理32. Throw: 抛出33. Exception: 异常36. Break: 跳出循环37. Continue: 继续循环38. Package: 包39. Import: 导入40. Main method: 主函数41. Thread: 线程42. Runnable: 可运行的43. Synchronized: 同步的44. Lock: 锁45. Semaphore: 信号量46. Deadlock: 死锁47. Garbage collection: 垃圾回收48. Heap: 堆49. Stack: 栈50. String: 字符串51. StringBuilder: 字符串构建器52. StringBuffer: 字符串缓冲区55. Overloading: 重载56. Overriding: 重写57. Method signature: 方法签名58. Generic: 泛型59. Type casting: 类型转换60. Assertion: 断言61. Annotation: 注解62. Reflection: 反射63. Lambda expression: Lambda 表达式64. Stream: 流65. File: 文件66. Exception handling: 异常处理67. Serialization: 序列化68. Deserialization: 反序列化69. JUnit: 单元测试70. JDBC: Java 数据库连接71. URL: Uniform Resource Locator72. FTP: File Transfer Protocol73. HTTP: HyperText Transfer Protocol74. JSON: JavaScript Object Notation75. API: Application Programming Interface76. GUI: Graphical User Interface77. IDE: Integrated Development Environment78. JVM: Java Virtual Machine79. JDK: Java Development Kit81. OOP: Object-Oriented Programming82. JDK: Java Development Kit83. Bytecode: 字节码85. Debugging: 调试86. Documentation: 文档87. FTP: File Transfer Protocol88. Inheritance: 继承89. IDE: Integrated Development Environment90. JVM: Java Virtual Machine91. JDK: Java Development Kit93. OOP: Object-Oriented Programming94. Pointer: 指针95. Protocol: 协议96. Race condition: 竞态条件97. Regular expression: 正则表达式98. Stack trace: 堆栈跟踪99. TCP/IP: Transmission Control Protocol/Internet Protocol 100. XML: eXtensible Markup Language101. SQL: Structured Query Language102. JDBC: Java Database Connectivity103. ORM: Object-Relational Mapping104. API: Application Programming Interface 105. GUI: Graphical User Interface106. HTTP: Hypertext Transfer Protocol107. HTML: Hypertext Markup Language108. CSS: Cascading Style Sheets109. JavaScript: JavaScript110. JSON: JavaScript Object Notation111. AJAX: Asynchronous JavaScript and XML112. DOM: Document Object Model113. Servlet: Servlet114. JSP: JavaServer Pages115. JSTL: JavaServer Pages Standard Tag Library 116. EJB: Enterprise JavaBeans117. JPA: Java Persistence API118. JSF: JavaServer Faces119. Spring: Spring framework。
Java语言概述与面向对象思想Java,是由Sun Microsystems公司于1995年5月推出的Java程序设计语言和Java的总称。
用Java实现的Hot Java 浏览器(支持Java applet)显示了Java的魅力:跨平台、动态的Web、Internet计算。
从此,Java被广泛接受并推动了Web的迅速发展,常用的浏览器现在均支持Java applet。
平台Java平台由Java虚拟机(Java Virtual Machine)和Java 应用编程接口(Application Programming Interface、简称API)构成。
Java 应用编程接口为Java应用提供了一个独立于操作系统的标准接口,可分为基本部分和扩展部分。
在硬件或操作系统平台上安装一个Java平台之后,Java应用程序就可运行。
现在Java平台已经嵌入了几乎所有的操作系统。
这样Java程序可以只编译一次,就可以在各种系统中运行。
Java应用编程接口已经从1.1x版发展到1.2版。
目前常用的Java平台基于Java1.5,最近版本为Java1.7。
Java分为三个体系JavaSE(Java2 Platform Standard Edition,java 平台标准版),JavaEE(Java 2 Platform,Enterprise Edition,java平台企业版),JavaME(Java 2 Platform Micro Edition,java平台微型版)。
Java SEJAVA* Java SE(Java Platform,Standard Edition)。
Java SE 以前称为J2SE。
它允许开发和部署在桌面、服务器、嵌入式环境和实时环境中使用的Java 应用程序。
Java SE 包含了支持Java Web 服务开发的类,并为Java Platform,Enterprise Edition(Java EE)提供基础。
Java基础常见英语词汇(共70个)OO: object-oriented ,面向对象OOP: object-oriented programming,面向对象编程JDK:Java development kit, java开发工具包JVM:java virtual machine ,java虚拟机Compile:编绎Run:运行Class:类Object:对象System:系统out:输出print:打印line:行variable:变量type:类型operation:操作,运算array:数组parameter:参数method:方法function:函数member-variable:成员变量member-function:成员函数get:得到set:设置public:公有的private:私有的protected:受保护的default:默认access:访问package:包import:导入static:静态的void:无(返回类型)extends:继承parent class:父类base class:基类super class:超类child class:子类derived class:派生类override:重写,覆盖overload:重载final:最终的,不能改变的abstract:抽象interface:接口implements:实现exception:异常Runtime:运行时ArithmeticException:算术异常ArrayIndexOutOfBoundsException:数组下标越界异常NullPointerException:空引用异常ClassNotFoundException:类没有发现异常NumberFormatException:数字格式异常(字符串不能转化为数字) Try:尝试Catch:捕捉Finally:最后Throw:抛出Throws: (投掷)表示强制异常处理Throwable:(可抛出的)表示所有异常类的祖先类Lang:language,语言Util:工具 Display:显示Random:随机Collection:集合ArrayList:(数组列表)表示动态数组HashMap: 散列表,哈希表Swing:轻巧的 Awt:abstract window toolkit:抽象窗口工具包Frame:窗体Size:尺寸Title:标题Add:添加Panel:面板Layout:布局Scroll:滚动Vertical:垂直Horizonatal:水平Label:标签TextField:文本框TextArea:文本域Button:按钮Checkbox:复选框Radiobutton:单选按钮Combobox:复选框 Event:事件Mouse:鼠标Key:键Focus:焦点Listener:监听Border:边界Flow:流Grid:网格MenuBar:菜单栏Menu:菜单MenuItem:菜单项PopupMenu:弹出菜单Dialog:对话框Message:消息 Icon:图标Tree:树Node:节点Jdbc:java database connectivity,java数据库连接DriverManager:驱动管理器Connection:连接Statement:表示执行对象Preparedstatement:表示预执行对象Resultset:结果集Next:下一个Close:关闭executeQuery:执行查询Jbuilder中常用英文(共33个)File:文件New:新建New Project:新建项目New Class: 新建类New File:新建文件Open project:打开项目Open file:打开文件Reopen:重新打开Close projects:关闭项目Close all except…:除了..全部关闭Rename:重命名Exit:退出View:视图Panes:面板组Project:项目Content:内容Structure:结构Message:消息 Source:源文件Bean:豆子Properties:属性Make:编绎Build:编绎Rebuild:重编绎Refresh:刷新Project properties:项目属性Default project properties:默认的项目属性Run:运行Debug:调试Tools:工具Preferences:参数配置Configure:配置Libraries:库JSP中常用英文URL: Universal Resource Location:统一资源定位符IE: Internet Explorer 因特网浏览器JSP:java server page.java服务器页面Model:模型View:视图C:controller:控制器Tomcat:一种jsp的web服务器WebModule:web模块Servlet:小服务程序Request:请求Response:响应Init: initialize,初始化Service:服务Destroy:销毁Startup:启动Mapping:映射pattern:模式Getparameter:获取参数Session:会话Application:应用程序Context:上下文redirect:重定向dispatch:分发forward:转交setAttribute:设置属性getAttribute:获取属性page:页面contentType:内容类型charset:字符集include:包含tag:标签taglib:标签库EL:expression language,表达式语言Scope:作用域Empty:空JSTL:java standard tag library,java标准标签库TLD:taglib description,标签库描述符Core:核心Test:测试Foreach:表示循环Var:variable,变量Status:状态Items:项目集合Fmt:format,格式化Filter:过滤器报错英文第一章:JDK(Java Development Kit) java开发工具包JVM(Java Virtual Machine) java虚拟机Javac编译命令java解释命令Javadoc生成java文档命令classpath 类路径Version版本author作者public公共的class类static静态的void没有返回值String字符串类System系统类out输出print同行打印println换行打印JIT(just-in-time)及时处理第二章:byte 字节char 字符boolean 布尔short 短整型int 整形long 长整形float 浮点类型double 双精度if 如果else 否则switch 多路分支case 与常值匹配break 终止default 默认while 当到循环do 直到循环for 已知次数循环continue结束本次循环进行下次跌代length 获取数组元素个数第三章:OOPobject oriented programming 面向对象编程Object 对象Class 类Class member 类成员Class method类方法Class variable 类变量Constructor 构造方法Package 包Import package 导入包第四章:Extends 继承Base class 基类Super class 超类Overloaded method 重载方法Overridden method 重写方法Public 公有Private 私有Protected 保护Static 静态Abstract抽象Interface 接口Implements interface 实现接口第五章:Exception 意外,异常RuntimeExcepiton 运行时异常ArithmeticException 算术异常IllegalArgumentException 非法数据异常ArrayIndexOutOfBoundsException 数组索引越界异常NullPointerException 空指针异常ClassNotFoundException 类无法加载异常(类不能找到)NumberFormatException 字符串到float类型转换异常(数字格式异常)IOException 输入输出异常找不到文件异常EOFException 文件结束异常InterruptedException (线程)中断异常try 尝试catch 捕捉finally 最后throw 投、掷、抛throws 投、掷、抛print Stack Trace() 打印堆栈信息get Message()获得错误消息get Cause()获得异常原因method 方法able 能够instance 实例check 检查第六章:byte(字节)char(字符)int(整型)long(长整型)float(浮点型)double(双精度)boolean(布尔)short(短整型)Byte (字节类)Character (字符类)Integer(整型类)Long (长整型类)Float(浮点型类)Double (双精度类)Boolean(布尔类)Short (短整型类)Digit (数字)Letter (字母)Lower (小写)Upper (大写)Space (空格) Identifier (标识符) Start (开始)String (字符串) length (值)equals (等于)Ignore (忽略)compare (比较)sub (提取)concat (连接)replace (替换)trim (整理)Buffer (缓冲器) reverse (颠倒)delete (删除)append (添加)Interrupted (中断的)第七章:Date 日期,日子After 后来,后面Before 在前,以前Equals 相等,均等toString 转换为字符串SetTime 设置时间Display 显示,展示Calendar 日历Add 添加,增加GetInstance获得实例getTime 获得时间Clear 扫除,清除Clone 克隆,复制Util 工具,龙套Components成分,组成Month 月份Year 年,年岁Hour 小时,钟头Minute 分钟Second 秒Random 随意,任意Next Int 下一个整数Gaussian 高斯ArrayList 对列LinkedList链表Hash 无用信息,杂乱信号Map 地图Vector 向量,矢量Size 大小Collection收集Shuffle 混乱,洗牌RemoveFirst移动至开头RemoveLast 移动至最后lastElement最后的元素Capacity 容量,生产量Contains 包含,容纳Copy 副本,拷贝Search 搜索,查询InsertElementAt 插入元素在某一位置第八章:io->in out 输入/输出File文件import导入exists存在isFile是文件isDirectory 是目录getName获取名字getPath获取路径getAbsolutePath 获取绝对路径lastModified 最后修改日期length长度InputStream 输入流OutputStream 输出流Unicode统一的字符编码标准, 采用双字节对字符进行编码Information 信息文件输入流文件输出流IOException 输入输出异常文件对象available 可获取的read读取write写BufferedReader 缓冲区读取文本文件读取BufferedWriter 缓冲区输出文本文件写出flush清空close关闭DataInputStream 二进制文件读取DataOutputStream二进制文件写出EOF最后encoding编码Remote远程release释放第九章:JBuiderJava 集成开发环境(IDE)Enterprise 企业版Developer 开发版Foundation 基础版Messages 消息格Structure 结构窗格Project工程Files文件Source源代码Design设计History历史Doc文档File文件Edit编辑Search查找Refactor 要素View视图Run运行Tools工具Window窗口Help帮助Vector矢量addElement 添加内容Project Winzard 工程向导Step步骤Title标题Description 描述Copyright 版权Company公司Aptech Limited Aptech有限公司author 作者Back后退Finish完成version版本Debug调试New新建ErrorInsight 调试第十章:JFrame窗口框架JPanel 面板JScrollPane 滚动面板title 标题Dimension 尺寸Component组件SwingJA V A轻量级组件getContentPane 得到内容面板LayoutManager布局管理器setVerticalScrollBarPolicy设置垂直滚动条策略AWT(Abstract Window Toolkit)抽象窗口工具包GUI (Graphical User Interface)图形用户界面VERTICAL_SCROLLEARAS_NEEDED当内容大大面板出现滚动条VERTICAL_SOROLLEARAS_ALWAYS显示滚动条VERTICAL_SOROLLEARAS_NEVER不显示滚动条JLabel标签Icon 图标image图象LEFT 左对齐RIGHT右对齐JTextField单行文本getColumns得到列数setLayout设置布局BorderLayout 边框布局CENTER居中对齐JTextArea多行文本setFont设置字体setHorizontalAlignment设置文本水平对齐方式setDefaultCloseOperation设置默认的关闭操作add增加JButton 按钮JCheckBox 复选框JRadioButton单选按钮addItem 增加列表项getItemAt 得到位置的列表项getItemCount 得到列表项个数setRolloverIcon 当鼠标经过的图标setSelectedIcon 当选择按钮的图标getSelectedItem 得到选择的列表项getSelectedIndex 得到选择的索引ActionListener按钮监听ActionEvent 按钮事件actionPerformed按钮单击方法附加.............可能有重复编程英语:(手摘)abstract (关键字) 抽象['?bstr?kt]accessvt.访问,存取['?kses]'(n.入口,使用权)algorithmn.算法['?lg?riem]Annotation[java] 代码注释[?n?u'tei??n]anonymousadj.匿名的[?'n?nim?s]'(反义:directly adv.直接地,立即[di'rektli, dai'rektli]) apply v.应用,适用[?'plai]application n.应用,应用程序[,?pli'kei??n]' (application crash 程序崩溃) arbitrarya.任意的['ɑ:bitr?ri]argument n.参数;争论,论据['ɑ:gjum?nt]'(缩写args)assert (关键字) 断言[?'s?:t] ' (java 1.4 之后成为关键字)associaten.关联(同伴,伙伴) [?'s?u?ieit]attributen.属性(品质,特征) [?'tribju:t]boolean(关键字) 逻辑的, 布尔型call n.v.调用; 呼叫; [k?:l]circumstancen.事件(环境,状况) ['s?:k?mst?ns]crash n.崩溃,破碎[kr??]cohesion 内聚,黏聚,结合[k?u'hi:??n](a class is designed with a single, well-focoused purpose. 应该不止这点)command n. 命令,指令[k?'mɑ:nd](指挥, 控制) (command-line 命令行) Comments [java] 文本注释['k?ments]compile[java] v.编译[k?m'pail]' Compilation n.编辑[,k?mpi'lei??n]const (保留字)constant n. 常量, 常数, 恒量['k?nst?nt]continue (关键字)coupling 耦合,联结['k?pli?]making sure that classes know about other classes only through their APIs.declare[java] 声明[di'kl??]default(关键字) 默认值; 缺省值[di'f?:lt]delimiter定义符; 定界符Encapsulation[java] 封装(hiding implementation details)Exception [java] 例外; 异常[ik'sep??n]entry n.登录项, 输入项, 条目['entri]enum(关键字)execute vt.执行['eksikju:t]exhibit v.显示, 陈列[ig'zibit]exist 存在, 发生[ig'zist] '(SQL关键字exists)extends(关键字) 继承、扩展[ik'stend]false (关键字)final (关键字) finally (关键字)fragments段落; 代码块['fr?gm?nt]FrameWork [java] 结构,框架['freimw?:k]Generic[java] 泛型[d?i'nerik]goto(保留字) 跳转heap n.堆[hi:p]implements(关键字) 实现['implim?nt]import (关键字) 引入(进口,输入)Info n.信息(information [,inf?'mei??n] )Inheritance [java] 继承[in'herit?ns] (遗传,遗产)initialize 预置初始化[i'ni??laiz]instanceof(关键字) 运算符,用于引用变量,以检查这个对象是否是某种类型。
一、概述在Java编程语言中,general是一个常见的术语,它通常用来描述一般性的概念或一般化的特性。
在Java中,general一般可以指代多种不同的含义,包括泛型、一般类或对象等。
本篇文章将从不同的角度来解析general在Java中的意思及其相关概念。
二、泛型1. 泛型的概念泛型是Java编程语言中的一个重要特性,它允许我们定义一种数据类型,这种数据类型可以在使用时进行具体化,从而实现对不同类型数据的通用操作。
使用泛型可以使代码更加灵活和可复用,同时也可以提高代码的安全性和可读性。
2. 泛型的语法在Java中,泛型通常使用尖括号<>来表示,其中放置泛型类型参数。
`List<String>`表示一个元素类型为String的列表。
在方法声明和类声明中,可以使用泛型来定义泛型形参,从而使得方法或类可以接受不同类型的参数。
3. 泛型的应用泛型在Java中被广泛应用于集合类、类库以及框架中,通过泛型可以实现对不同类型数据的统一管理和处理。
泛型的引入大大提高了Java编程的灵活性和安全性,使得代码变得更加健壮和可靠。
三、一般类1. 一般类的概念一般类是指普通的、非泛型的类,它们可以用来描述具体的实体、对象或数据结构。
一般类是Java编程中最常见的类,它们可以包含字段、方法、构造函数等成员,用于表示具体的实现逻辑或数据结构。
2. 一般类的特性一般类可以具有各种不同的特性,包括继承、封装、多态等。
通过定义一般类,我们可以实现对具体对象或数据结构的描述和操作,从而实现程序的功能逻辑。
3. 一般类的实例在Java编程中,我们经常会创建各种不同类型的一般类,并通过它们来实现程序的具体功能。
一般类的设计和实现是Java程序开发中的重要内容,良好的一般类设计可以提高代码的可维护性和扩展性。
四、一般对象1. 一般对象的概念一般对象是指普通的、非特定类型的对象,它们可以用来表示实际的实体或数据。
Java常用英语词汇Java是一种通用的、面向对象的、高级编程语言,广泛应用于软件开发领域。
下面是一些常用的Java英语词汇。
1. Class(类): 在Java中,类是一种定义对象的模板,它包含了对象的属性和方法。
Class(类): 在Java中,类是一种定义对象的模板,它包含了对象的属性和方法。
2. Object(对象): 对象是类的实例化,它具有类定义的属性和方法。
Object(对象): 对象是类的实例化,它具有类定义的属性和方法。
3. Variable(变量): 变量是用于存储数据的,Java中有不同类型的变量,如整数、浮点数、字符等。
Variable(变量): 变量是用于存储数据的容器,Java中有不同类型的变量,如整数、浮点数、字符等。
4. Method(方法): 方法是执行特定任务的代码块,它定义在类中并可以被其他代码调用执行。
Method(方法): 方法是执行特定任务的代码块,它定义在类中并可以被其他代码调用执行。
5. Parameter(参数): 参数是方法的输入值,通过参数可以向方法传递数据。
Parameter(参数): 参数是方法的输入值,通过参数可以向方法传递数据。
6. Return(返回): 返回是方法执行完毕后返回的结果值。
Return(返回): 返回是方法执行完毕后返回的结果值。
7. Array(数组): 数组是一种用于存储多个相同类型数据的,可以通过索引访问数组元素。
Array(数组): 数组是一种用于存储多个相同类型数据的容器,可以通过索引访问数组元素。
8. Loop(循环): 循环是重复执行一段代码的结构,Java提供了不同类型的循环,如for循环、while循环等。
Loop(循环): 循环是重复执行一段代码的结构,Java提供了不同类型的循环,如for循环、while循环等。
9. If statement(条件语句): 条件语句根据条件的真假执行不同的代码块,常见的条件语句有if语句、else语句等。
Java Technical DescriptionJava as a Programming Platform.Java is certainly a good programming language. There is no doubt that it is one of the better languages available to serious programmers. We think it could potentially have been a great programming language, but it is probably too late for that. Once a language is out in the field, the ugly reality of compatibility with existing code sets in."Java was never just a language. There are lots of programming languages out there, and few of them make much of a splash. Java is a whole platform, with a huge library, containing lots of reusable code, and an execution environment that provides services such as security, portability across operating systems, and automatic garbage collection.As a programmer, you will want a language with a pleasant syntax and comprehensible semantics (i.e., not C++). Java fits the bill, as do dozens of other fine languages. Some languages give you portability, garbage collection, and the like, but they don't have much of a library, forcing you to roll your own if you want fancy graphics or networking or database access. Well, Java has everything—a good language, a high-quality execution environment, and a vast library. That combination is what makes Java an irresistible proposition to so many programmers.Features of Java.1.SimpleWe wanted to build a system that could be programmed easily without a lot of esoteric training and which leveraged today's standard practice. So even though we found that C++ was unsuitable, we designed Java as closely to C++ as possible in order to make the system more comprehensible. Java omits many rarely used, poorly understood, confusing features of C++ that, in our experience, bring more grief than benefit.The syntax for Java is, indeed, a cleaned-up version of the syntax for C++. There is no need for header files, pointer arithmetic (or even a pointer syntax), structures, unions, operator overloading, virtual base classes, and so on. (See the C++ notes interspersed throughout the text for more on the differences between Java and C++.) The designers did not, however, attempt to fix all of the clumsy features of C++. For example, the syntax of the switch statement is unchanged in Java. If you know C++, you will find the transition to the Java syntax easy.If you are used to a visual programming environment (such as Visual Basic), you will not find Java simple. There is much strange syntax (though it does not take long to get the hang of it). More important, you must do a lot more programming in Java. The beauty of Visual Basic is that its visual design environment almost automatically provides a lot of the infrastructure for an application. The equivalent functionality must be programmed manually, usually with a fair bit of code, in Java. There are, however, third-party development environments that provide "drag-and-drop"-style program development.Another aspect of being simple is being small. One of the goals of Java is to enable the construction of software that can run stand-alone in small machines. The size of the basic interpreter and class support is about 40K bytes; adding the basic standard libraries and thread support (essentially a self-contained microkernel) adds an additional 175K.2. Object OrientedSimply stated, object-oriented design is a technique for programming that focuses on the data (= objects) and on the interfaces to that object. To make an analogy with carpentry, an "object-oriented" carpenter would be mostly concerned with the chair he was building, and secondarily with the tools used to make it; a "non-object-oriented" carpenter would think primarily of his tools. The object-oriented facilities of Java are essentially those of C++.Object orientation has proven its worth in the last 30 years, and it is inconceivable that a modern programming language would not use it. Indeed, the object-oriented features of Java are comparable to those of C++. The major differencebetween Java and C++ lies in multiple inheritance, which Java has replaced with the simpler concept of interfaces, and in the Java metaclass model. The reflection mechanism and object serialization feature make it much easier to implement persistent objects and GUI builders that can integrate off-the-shelf components.3. DistributedJava has an extensive library of routines for coping with TCP/IP protocols like HTTP and FTP. Java applications can open and access objects across the Net via URLs with the same ease as when accessing a local file system. We have found the networking capabilities of Java to be both strong and easy to use. Anyone who has tried to do Internet programming using another language will revel in how simple Java makes onerous tasks like opening a socket connection. (We cover networking in Volume 2 of this book.) The remote method invocation mechanism enables communication between distributedobjects (also covered in Volume 2).There is now a separate architecture, the Java 2 Enterprise Edition (J2EE), that supports very large scale distributed applications.4. RobustJava is intended for writing programs that must be reliable in a variety of ways. Java puts a lot of emphasis on early checking for possible problems, later dynamic (run-time) checking, and eliminating situations that are error-prone.… The single biggest difference between Java and C/C++ is that Java has a pointer model that eliminates the possibility of overwriting memory and corrupting data.This feature is also very useful. The Java compiler detects many problems that, in other languages, would show up only at run time. As for the second point, anyone who has spent hours chasing memory corruption caused by a pointer bug will be very happy with this feature of Java.If you are coming from a language like Visual Basic that doesn't explicitly use pointers, you are probably wondering why this is so important. C programmers are not so lucky. They need pointers to access strings, arrays, objects, and even files. In Visual Basic, you do not use pointers for any of these entities, nor do you need to worry about memory allocation for them. On the other hand, many data structures aredifficult to implement in a pointerless language. Java gives you the best of both worlds. You do not need pointers for everyday constructs like strings and arrays. You have the power of pointers if you need it, for example, for linked lists. And you always have complete safety, because you can never access a bad pointer, make memory allocation errors, or have to protect against memory leaking away.5. SecureJava is intended to be used in networked/distributed environments. Toward that end, a lot of emphasis has been placed on security. Java enables the construction of virus-free, tamper-free systems.In the first edition of Core Java we said: "Well, one should 'never say never again,'" and we turned out to be right. Not long after the first version of the Java Development Kit was shipped, a group of security experts at Princeton University found subtle bugs in the security features of Java 1.0. Sun Microsystems has encouraged research into Java security, making publicly available the specification and implementation of the virtual machine and the security libraries. They have fixed all known security bugs quickly. In any case, Java makes it extremely difficult to outwit its security mechanisms. The bugs found so far have been very technical and few in number. From the beginning, Java was designed to make certain kinds of attacks impossible, among them:∙Overrunning the runtime stack—a common attack of worms and viruses Corrupting memory outside its own process space Reading or writing files without permission.∙A number of security features have been added to Java over time. Since version1.1, Java has the notion of digitally signed classesWith a signed class, you can be sure who wrote it. Any time you trust the author of the class, the class can be allowed more privileges on your machine.6. Architecture NeutralThe compiler generates an architecture-neutral object file format—the compiled code is executable on many processors, given the presence of the Java runtime system.The Java compiler does this by generating bytecode instructions which have nothing to do with a particular computerarchitecture. Rather, they are designed to be both easy to interpret on any machine and easily translated into native machine code on the fly.This is not a new idea. More than 20 years ago, both Niklaus Wirth's original implementation of Pascal and the UCSD Pascal system used the same technique. Of course, interpreting bytecodes is necessarily slower than running machine instructions at full speed, so it isn't clear that this is even a good idea. However, virtual machines have the option of translating the most frequently executed bytecode sequences into machine code, a process called just-in-time compilation. This strategy has proven so effective that even Microsoft's .NET platform relies on a virtual machine.The virtual machine has other advantages. It increases security because the virtual machine can check the behavior of instruction sequences. Some programs even produce bytecodes on the fly, dynamically enhancing the capabilities of a running program.7. PortableUnlike C and C++, there are no "implementation-dependent" aspects of the specification. The sizes of the primitive data types are specified, as is the behavior of arithmetic on them.For example, an int in Java is always a 32-bit integer. In C/C++, int can mean a 16-bit integer, a 32-bit integer, or any other size that the compiler vendor likes. The only restriction is that the int type must have at least as many bytes as a short int and cannot have more bytes than a long int. Having a fixed size for number types eliminates a major porting headache. Binary data is stored and transmitted in a fixed format, eliminating confusion about byte ordering. Strings are saved in a standard Unicode format.The libraries that are a part of the system define portable interfaces. For example, there is an abstract Window class and implementations of it for UNIX, Windows, and the Macintosh.As anyone who has ever tried knows, it is an effort of heroic proportions to write a program that looks good on Windows, the Macintosh, and 10 flavors of UNIX. Java1.0 made the heroic effort, delivering a simple toolkit that mapped common user interface elements to a number of platforms.Unfortunately, the result was a library that, with a lot of work, could give barely acceptable results on different systems. (And there were often different bugs on the different platform graphics implementations.) But it was a start. There are many applications in which portability is more important than user interface slickness, and these applications did benefit from early versions of Java. By now, the user interface toolkit has been completely rewritten so that it no longer relies on the host user interface. The result is far more consistent and, we think, more attractive than in earlier versions of Java.8. InterpretedThe Java interpreter can execute Java bytecodes directly on any machine to which the interpreter has been ported. Since linking is a more incremental and lightweight process, the development process can be much more rapid and exploratory.Incremental linking has advantages, but its benefit for the development process is clearly overstated. In any case, we have found Java development tools to be quite slow. If you are used to the speed of the classic Microsoft Visual C++ environment, you will likely be disappointed with the performance of Java development environments. (The current version of Visual Studio isn't as zippy as the classic environments, however. No matter what languageyou program in, you should definitely ask your boss for a faster computer to run the latest development environments. )9. High PerformanceWhile the performance of interpreted bytecodes is usually more than adequate, there are situations where higher performance is required. The bytecodes can be translated on the fly (at run time) into machine code for the particular CPU the application is running on.If you use an interpreter to execute the bytecodes, "high performance" is not the term that we would use. However, on many platforms, there is also another form ofcompilation, the just-in-time (JIT) compilers. These work by compiling the bytecodes into native code once, caching the results, and then calling them again if needed. This approach speeds up commonly used code tremendously because one has to do the interpretation only once. Although still slightly slower than a true native code compiler, a just-in-time compiler can give you a 10- or even 20-fold speedup for some programs and will almost always be significantly faster than an interpreter. This technology is being improved continuously and may eventually yield results that cannot be matched by traditional compilation systems. For example, a just-in-time compiler can monitor which code is executed frequently and optimize just that code for speed.10. MultithreadedThe enefits of multithreading are better interactive responsiveness and real-time behavior.if you have ever tried to do multithreading in another language, you will be pleasantly surprised at how easy it is in Java. Threads in Java also can take advantage of multiprocessor systems if the base operating system does so. On the downside, thread implementations on the major platforms differ widely, and Java makes no effort to be platform independent in this regard. Only the code for calling multithreading remains the same across machines; Java offloads the implementation of multithreading to the underlying operating system or a thread library. Nonetheless, the ease of multithreading is one of the main reasons why Java is such an appealing language for server-side development.11. DynamicIn a number of ways, Java is a more dynamic language than C or C++. It was designed to adapt to an evolving environment. Libraries can freely add new methods and instance variables without any effect on their clients. In Java, finding out run time type information is straightforward.This is an important feature in those situations in which code needs to be added to a running program. A prime example is code that is downloaded from the Internet to run in a browser. In Java 1.0, finding out runtime type information was anything but straightforward, but current versions of Java give the programmer full insight intoboth the structure and behavior of its objects. This is extremely useful for systems that need to analyze objects at run time, such as Java GUI builders, smart debuggers, pluggable components, and object databases.Java技术介绍Java是一种程序设计平台Java是一种优秀的程序设计语言。
API (Application Programming Interface) 应用编程接口JRE (Java Runtime Enviroment) Java 运行时环境JDK (Java Development Kit) Java开发工具包SDK(Software Development Kit, 即软件开发工具包)JVM (Java Virtual Machine) Java虚拟机JNI (Java Native Interface) Java本地接口AWT (Abstract Windows Toolekit) 抽象窗口工具箱JNDI (Java Naming & Directory Interface) JAVA命名目录服务.主要提供的功能是:提供一个目录系统,让其它各地的应用程序在其上面留下自己的索引,从而满足快速查找和定位分布式应用程序的功能。
JMS (Java Message Service)JAVA消息服务.主要实现各个应用程序之间的通讯.包括点对点和广播.JTA (Java Transcation API) JAVA事务服务.提供各种分布式事务服务.应用程序只需调用其提供的接口即可.JAF (Java Action FrameWork) JAVA安全认证框架.提供一些安全控制方面的框架.让开发者通过各种部署和自定义实现自己的个性安全控制策略.RMI (Remote Method Interface) 远程方法调用CVS (Concurrent Versions System) 版本控制器SVN (Subversion) 版本控制器TC (Test Case) 测试用例,是为某个特殊目标而编制的一组测试输入、执行条件以及预期结果,以便测试某个程序路径或核实是否满足某个特定需求。
指对一项特定的软件产品进行测试任务的描述,体现测试方案、方法、技术和策略。
内容包括测试目标、测试环境、输入数据、测试步骤、预期结果、测试脚本等,并形成文档。
java开发常用单词含解释共100个1. Java: 一种面向对象的编程语言。
2. Class: 类,是Java中的基本代码组织单元。
3. Object: 对象,是类的实例。
4. Method: 方法,类中的函数。
5. Variable: 变量,用于存储数据。
6. Interface: 接口,定义了一组方法的契约。
7. Package: 包,用于组织和管理类。
8. Inheritance: 继承,通过现有类创建新类的机制。
9. Polymorphism: 多态性,同一操作作用于不同的对象上,可以有不同的解释。
10. Abstraction: 抽象,隐藏复杂性,显示关键信息。
11. Encapsulation: 封装,将代码和数据捆绑在一起并保护它们。
12. Constructor: 构造方法,用于对象的初始化。
13. Instance: 实例,类的一个具体对象。
14. Static: 静态,指类的成员或方法。
15. Final: 最终,用于修饰类、方法或变量,表示不可更改。
16. Public: 公共,访问修饰符,表示对所有类可见。
17. Private: 私有,访问修饰符,表示只有类内部可见。
18. Protected: 受保护,访问修饰符,表示对同一包内的类和所有子类可见。
19. Abstract: 抽象,关键字用于定义抽象类和方法。
20. Exception: 异常,用于处理程序运行时的错误。
21. Try-catch: 用于捕获和处理异常的代码块。
22. Throw: 抛出异常。
23. Throws: 用于声明可能抛出异常的方法。
24. Enum: 枚举,一种特殊的数据类型。
25. Array: 数组,存储相同类型的数据。
26. List: 列表,一种动态数组。
27. Map: 映射,一种键值对集合。
28. Set: 集合,一种不包含重复元素的集合。
29. Iterator: 迭代器,用于遍历集合。
J A V A编程常用英文单词汇总The saying "the more diligent, the more luckier you are" really should be my charm in2006.Java基础常见英语词汇共70个OO: object-oriented ,面向对象OOP: object-oriented programming,面向对象编程JDK:Java development kit, java开发工具包JVM:java virtual machine ,java虚拟机Compile:编绎Run:运行Class:类Object:对象System:系统out:输出print:打印line:行variable:变量type:类型operation:操作,运算array:数组parameter:参数method:方法function:函数member-variable:成员变量member-function:成员函数get:得到set:设置public:公有的private:私有的protected:受保护的default:默认access:访问package:包import:导入static:静态的void:无返回类型extends:继承parent class:父类base class:基类super class:超类child class:子类derived class:派生类override:重写,覆盖overload:重载final:最终的,不能改变的abstract:抽象interface:接口implements:实现exception:异常Runtime:运行时ArithmeticException:算术异常ArrayIndexOutOfBoundsException:数组下标越界异常NullPointerException:空引用异常ClassNotFoundException:类没有发现异常NumberFormatException:数字格式异常字符串不能转化为数字Catch:捕捉Finally:最后Throw:抛出Throws: 投掷表示强制异常处理Throwable:可抛出的表示所有异常类的祖先类Lang:language,语言Util:工具Display:显示Random:随机Collection:集合ArrayList:数组列表表示动态数组HashMap: 散列表,哈希表Swing:轻巧的Awt:abstract window toolkit:抽象窗口工具包Frame:窗体Size:尺寸Title:标题Add:添加Panel:面板Layout:布局Scroll:滚动Vertical:垂直Horizonatal:水平Label:标签TextField:文本框TextArea:文本域Button:按钮Checkbox:复选框Radiobutton:单选按钮Combobox:复选框Event:事件Mouse:鼠标Key:键Focus:焦点Listener:监听Border:边界Flow:流Grid:网格MenuBar:菜单栏Menu:菜单MenuItem:菜单项PopupMenu:弹出菜单Dialog:对话框Message:消息 Icon:图标Tree:树Node:节点Jdbc:java database connectivity, java数据库连接DriverManager:驱动管理器Connection:连接Statement:表示执行对象Preparedstatement:表示预执行对象Resultset:结果集Next:下一个Close:关闭executeQuery:执行查询Jbuilder中常用英文共33个File:文件New:新建New Project:新建项目New Class: 新建类New File:新建文件Open project:打开项目Open file:打开文件Reopen:重新打开Close projects:关闭项目Close all except…:除了..全部关闭Rename:重命名Exit:退出View:视图Panes:面板组Project:项目Content:内容Structure:结构Message:消息Source:源文件Bean:豆子Properties:属性Make:编绎Build:编绎Rebuild:重编绎Refresh:刷新Project properties:项目属性Default project properties:默认的项目属性Run:运行Debug:调试Tools:工具Preferences:参数配置Configure:配置Libraries:库JSP中常用英文URL: Universal Resource Location:统一资源定位符IE: Internet Explorer 因特网浏览器JSP:java server 服务器页面Model:模型View:视图C:controller:控制器Tomcat:一种jsp的web服务器WebModule:web模块Servlet:小服务程序Request:请求Response:响应Init: initialize,初始化Service:服务Destroy:销毁Startup:启动Mapping:映射pattern:模式Getparameter:获取参数Session:会话Application:应用程序Context:上下文redirect:重定向dispatch:分发forward:转交setAttribute:设置属性getAttribute:获取属性page:页面contentType:内容类型charset:字符集include:包含tag:标签taglib:标签库EL:expression language,表达式语言Scope:作用域Empty:空JSTL:java standard tag library,java标准标签库TLD:taglib description,标签库描述符Core:核心Test:测试Foreach:表示循环Var:variable,变量Status:状态Items:项目集合Fmt:format,格式化Filter:过滤器报错英文第一章:JDKJava Development Kit java开发工具包JVMJava Virtual Machine java虚拟机Javac编译命令java解释命令Javadoc生成java文档命令classpath 类路径Version版本author作者public公共的class类static静态的void没有返回值String字符串类System系统类out输出print同行打印println换行打印JITjust-in-time及时处理第二章:byte 字节char 字符boolean 布尔short 短整型int 整形long 长整形float 浮点类型double 双精度if 如果else 否则switch 多路分支case 与常值匹配break 终止default 默认while 当到循环do 直到循环for 已知次数循环continue结束本次循环进行下次跌代length 获取数组元素个数第三章:OOPobject oriented programming 面向对象编程Object 对象Class 类Class member 类成员Class method类方法Class variable 类变量Constructor 构造方法Package 包Import package 导入包第四章:Extends 继承Base class 基类Super class 超类Overloaded method 重载方法Overridden method 重写方法Public 公有Private 私有Protected 保护Static 静态Abstract抽象Interface 接口Implements interface 实现接口第五章:Exception 意外,异常RuntimeExcepiton 运行时异常ArithmeticException 算术异常IllegalArgumentException 非法数据异常ArrayIndexOutOfBoundsException 数组索引越界异常NullPointerException 空指针异常ClassNotFoundException 类无法加载异常类不能找到NumberFormatException 字符串到float类型转换异常数字格式异常IOException 输入输出异常FileNotFoundException 找不到文件异常EOFException 文件结束异常InterruptedException 线程中断异常try 尝试catch 捕捉finally 最后throw 投、掷、抛throws 投、掷、抛print Stack Trace 打印堆栈信息get Message 获得错误消息get Cause 获得异常原因method 方法able 能够instance 实例check 检查第六章:byte字节char字符int整型long长整型float浮点型double双精度boolean布尔short短整型Byte 字节类Character 字符类Integer整型类Long 长整型类Float浮点型类Double 双精度类Boolean布尔类Short 短整型类Digit 数字Letter 字母Lower 小写Upper 大写Space 空格Identifier 标识符Start 开始String 字符串length 值equals 等于Ignore 忽略compare 比较sub 提取concat 连接replace 替换trim 整理Buffer 缓冲器reverse 颠倒delete 删除append 添加Interrupted 中断的第七章:Date 日期,日子After 后来,后面Before 在前,以前Equals 相等,均等toString 转换为字符串SetTime 设置时间Display 显示,展示Calendar 日历Add 添加,增加GetInstance获得实例getTime 获得时间Clear 扫除,清除Clone 克隆,复制Util 工具,龙套Components成分,组成Random 随意,任意Next Int 下一个整数Gaussian 高斯ArrayList 对列LinkedList链表Hash 无用信息,杂乱信号Map 地图Vector 向量,矢量Size 大小Collection收集Shuffle 混乱,洗牌RemoveFirst移动至开头RemoveLast 移动至最后lastElement最后的元素Capacity 容量,生产量Contains 包含,容纳Search 搜索,查询InsertElementAt 插入元素在某一位置第八章:io->in out 输入/输出File文件import导入exists存在isFile是文件isDirectory 是目录getName获取名字getPath获取路径getAbsolutePath 获取绝对路径lastModified 最后修改日期length长度InputStream 输入流OutputStream 输出流Unicode统一的字符编码标准, 采用双字节对字符进行编码Information 信息FileInputStream 文件输入流FileOutputStream文件输出流IOException 输入输出异常fileobject 文件对象available 可获取的read读取write写BufferedReader 缓冲区读取FileReader 文本文件读取BufferedWriter 缓冲区输出FileWriter 文本文件写出flush清空close关闭DataInputStream 二进制文件读取DataOutputStream二进制文件写出EOF最后encoding编码Remote远程release释放第九章:JBuiderJava 集成开发环境IDEEnterprise 企业版Developer 开发版Foundation 基础版Messages 消息格Structure 结构窗格Project工程Files文件Source源代码Design设计History历史Doc文档File文件Edit编辑Search查找Refactor 要素View视图Run运行Tools工具Window窗口Help帮助Vector矢量addElement 添加内容Project Winzard 工程向导Step步骤Title标题Description 描述Copyright 版权Company公司Aptech Limited Aptech有限公司author 作者Back后退Finish完成version版本Debug调试New新建ErrorInsight 调试第十章:JFrame窗口框架JPanel 面板JScrollPane 滚动面板title 标题Dimension 尺寸Component组件SwingJAVA轻量级组件getContentPane 得到内容面板LayoutManager布局管理器setVerticalScrollBarPolicy设置垂直滚动条策略AWTAbstract Window Toolkit 抽象窗口工具包GUI Graphical User Interface 图形用户界面VERTICAL_SCROLLEARAS_NEEDED当内容大大面板出现滚动条VERTICAL_SOROLLEARAS_ALWAYS显示滚动条VERTICAL_SOROLLEARAS_NEVER不显示滚动条JLabel标签Icon 图标image图象LEFT 左对齐RIGHT右对齐JTextField单行文本getColumns得到列数setLayout设置布局BorderLayout 边框布局CENTER居中对齐JTextArea多行文本setFont设置字体setHorizontalAlignment设置文本水平对齐方式setDefaultCloseOperation设置默认的关闭操作add增加JButton 按钮JCheckBox 复选框JRadioButton单选按钮addItem 增加列表项getItemAt 得到位置的列表项getItemCount 得到列表项个数setRolloverIcon 当鼠标经过的图标setSelectedIcon 当选择按钮的图标getSelectedItem 得到选择的列表项getSelectedIndex 得到选择的索引ActionListener按钮监听ActionEvent 按钮事件actionPerformed按钮单击方法附加.............可能有重复编程英语:手摘abstract 关键字抽象 'bstrktaccessvt.访问,存取 'kses'n.入口,使用权algorithmn.算法 'lgriemAnnotationjava 代码注释 nu'teinanonymousadj.匿名的'nnims'反义:directly adv.直接地,立即di'rektli, dai'rektli apply v.应用,适用 'plaiapplication n.应用,应用程序 ,pli'kein' application crash 程序崩溃arbitrarya.任意的 'ɑ:bitrriargument n.参数;争论,论据 'ɑ:gjumnt'缩写 argsassert 关键字断言 's:t ' java 之后成为关键字associaten.关联同伴,伙伴 'suieitattributen.属性品质,特征 'tribju:tboolean关键字逻辑的, 布尔型call .调用; 呼叫; k:lcircumstancen.事件环境,状况 's:kmstnscrash n.崩溃,破碎 krcohesion 内聚,黏聚,结合 ku'hi:na class is designed with a single, well-focoused purpose. 应该不止这点command n. 命令,指令 k'mɑ:nd指挥, 控制 command-line 命令行Comments java 文本注释 'kmentscompilejava v.编译 km'pail' Compilation n.编辑,kmpi'leinconst 保留字constant n. 常量, 常数, 恒量 'knstntcontinue 关键字coupling 耦合,联结 'kplimaking sure that classes know about other classes only through their APIs. declarejava 声明 di'kldefault关键字默认值; 缺省值 di'f:ltdelimiter定义符; 定界符Encapsulationjava 封装 hiding implementation detailsException java 例外; 异常 ik'sepnentry n.登录项, 输入项, 条目'entrienum关键字execute vt.执行 'eksikju:texhibit v.显示, 陈列 ig'zibitexist 存在, 发生 ig'zist 'SQL关键字 existsextends关键字继承、扩展 ik'stendfalse 关键字final 关键字 finally 关键字fragments段落; 代码块 'frgmntFrameWork java 结构,框架 'freimw:kGenericjava 泛型 di'nerikgoto保留字跳转heap n.堆 hi:pimplements关键字实现 'implimntimport 关键字引入进口,输入Info n.信息 information ,inf'meinInheritance java 继承 in'heritns 遗传,遗产initialize 预置初始化 i'nilaizinstanceof关键字运算符,用于引用变量,以检查这个对象是否是某种类型;返回 boolean 值; interface 关键字接口 'intfeisinvokevt.调用 in'vuk' invocation ,invu'keinIterator java 迭代器, 迭代程序legal 合法的 'li:gllogn.日志,记录 lgnative 关键字 'neitivnested java 嵌套的 'nestid '如:内部类nested classesObject java 对象 'bdektOverload java 方法的重载不同参数列表的同名方法 ,uv'ludOverride java 方法的覆盖覆盖父类的方法 ,uv'raidpolymiorphismjava 多态 polymorphism 多形性,pli'm:fizmallowing a single object to be seen as having many types.principlen.原则,原理,主义 'prinsiplpriority n. 优先级 prai'ritiprocess n. 程序, 进程 'prsesprotected 关键字受保护的,私有的 pr'tektidprovide v.规定供应,准备,预防pr'vaidrefer to v.引用 ri'f:tu:referencen. 参考引用,涉及'refrns' -->reference variable 参量, 参考变量,引用变量Reflectionjava 反射 ri'fleknscriptn.手写体,小型程序 skriptserialized vt.序列化,串行化 'sirilaiz'serializable adj.deserialize反序列化,反串行化Socket java 网络套接字'skitstack n.堆栈 stk 对应 heap 堆statement程序语句; 语句 'steitmnt' n. 陈述,指令subclass n.子类 'sbklɑ:s' supertype 父类switch 关键字选择语句; n.开关,道岔 switsynchronized 关键字同步锁 'sikrnaizThread java 线程θredthrow 关键字 throws 关键字θru 抛出异常transient 关键字瞬变;临时的'trnzint'可序列化valid 正确的,有效的 'vlidvariable n.变量 a.可变的'vriblvolatile 关键字不稳定的'vltailwhile 关键字循环语句; 当...的时候 hwailabstract 关键字抽象 'bstrktaccessvt.访问,存取 'kses'n.入口,使用权algorithmn.算法 'lgriemAnnotationjava 代码注释 nu'teinanonymousadj.匿名的'nnims'反义:directly adv.直接地,立即di'rektli, dai'rektli apply v.应用,适用 'plaiapplication n.应用,应用程序 ,pli'kein' application crash 程序崩溃arbitrarya.任意的 'ɑ:bitrriargument n.参数;争论,论据 'ɑ:gjumnt'缩写 argsassert 关键字断言 's:t ' java 之后成为关键字associaten.关联同伴,伙伴 'suieitattributen.属性品质,特征 'tribju:tboolean关键字逻辑的, 布尔型call .调用; 呼叫; k:lcircumstancen.事件环境,状况 's:kmstnscrash n.崩溃,破碎 krcohesion 内聚,黏聚,结合 ku'hi:na class is designed with a single, well-focoused purpose. 应该不止这点command n. 命令,指令 k'mɑ:nd指挥, 控制 command-line 命令行Comments java 文本注释 'kmentscompilejava v.编译 km'pail' Compilation n.编辑,kmpi'leinconst 保留字constant n. 常量, 常数, 恒量 'knstntcontinue 关键字coupling 耦合,联结 'kplimaking sure that classes know about other classes only through their APIs. declarejava 声明 di'kldefault关键字默认值; 缺省值 di'f:ltdelimiter定义符; 定界符Encapsulationjava 封装 hiding implementation detailsException java 例外; 异常 ik'sepnentry n.登录项, 输入项, 条目'entrienum关键字execute vt.执行 'eksikju:texhibit v.显示, 陈列 ig'zibitexist 存在, 发生 ig'zist 'SQL关键字 existsextends关键字继承、扩展 ik'stendfalse 关键字final 关键字 finally 关键字fragments段落; 代码块 'frgmntFrameWork java 结构,框架 'freimw:kGenericjava 泛型 di'nerikgoto保留字跳转heap n.堆 hi:pimplements关键字实现 'implimntimport 关键字引入进口,输入Info n.信息 information ,inf'meinInheritance java 继承 in'heritns 遗传,遗产initialize 预置初始化 i'nilaizinstanceof关键字运算符,用于引用变量,以检查这个对象是否是某种类型;返回 boolean 值; interface 关键字接口 'intfeisinvokevt.调用 in'vuk' invocation ,invu'keinIterator java 迭代器, 迭代程序legal 合法的 'li:gllogn.日志,记录 lgnative 关键字 'neitivnested java 嵌套的 'nestid '如:内部类nested classesObject java 对象 'bdektOverload java 方法的重载不同参数列表的同名方法 ,uv'ludOverride java 方法的覆盖覆盖父类的方法 ,uv'raidpolymiorphismjava 多态 polymorphism 多形性,pli'm:fizmallowing a single object to be seen as having many types.principlen.原则,原理,主义 'prinsiplpriority n. 优先级 prai'ritiprocess n. 程序, 进程 'prsesprotected 关键字受保护的,私有的 pr'tektidprovide v.规定供应,准备,预防pr'vaidrefer to v.引用 ri'f:tu:referencen. 参考引用,涉及'refrns' -->reference variable 参量, 参考变量,引用变量Reflectionjava 反射 ri'fleknscriptn.手写体,小型程序 skriptserialized vt.序列化,串行化 'sirilaiz'serializable adj.deserialize反序列化,反串行化Socket java 网络套接字'skitstack n.堆栈 stk 对应 heap 堆statement程序语句; 语句 'steitmnt' n. 陈述,指令subclass n.子类 'sbklɑ:s' supertype 父类switch 关键字选择语句; n.开关,道岔 switsynchronized 关键字同步锁 'sikrnaizThread java 线程θredthrow 关键字 throws 关键字θru 抛出异常transient 关键字瞬变;临时的'trnzint'可序列化valid 正确的,有效的 'vlidvariable n.变量 a.可变的'vriblvolatile 关键字不稳定的'vltailwhile 关键字循环语句; 当...的时候 hwailargument 参量 abstract 抽象ascent 提升 already 已经 AWTAbstract Window Toolkit抽象窗口工具 APIApplication Programming Interface应用程序接口B. byte 字节 Boolean 布尔 banana香蕉base 基础 buffer缓冲器 button 按钮 break 中断body 身体C. color颜色 class类 count计数 client客户 code代码calculation计算 cell单元 circle圆capital首都 catch捕获 check检查 container容器 component 组件 command 命令 cube立方,三次方 char=character字符 cancel取消 case 情况 choice选择 click单击 center 中心compile编译 clone克隆,复制 continue 继续 create建立D. draw 绘图 data数据 demo示例 DLLDynamic Link Library动态链接库 document 文档descent 继承 division 分裂,除法 define定义,说明 display显示E. error 错误 extends 扩展 executed 执行 event 事件 enter 输入,回车键 exception 异常except 除外 employee 雇员environment 环境 east 东方 equal 相等 Echo 重复F. false 假的 float 单精度型 fruit 水果 file 文件 find 发现found 发现 field 域 final 终结的 friend 朋友 fill 填充 focus 焦点font 字体 factorial 阶乘G. graphic 图像 grid 方格 GUI图形化用户接口 get 得到H. host 主机 height 高度I. init=initialize初始化 input 输入 implement 实现 instance 实例 io=input/output输出输入 interrupted 中断 int=integer整型 item元素 interface 接口 inner 内部的 import 导入index 索引image 图像J. Java 爪哇 JDKJava Development Kit Java开发工具 JSPJava Server Page Java服务页JVMJava Virtual Machine Java虚拟机K. Kit 工具L. language 语言 loop 循环 long 长整型 label 标签 layout 布局 list 列表 listener 收听者M. move 移动 menu 菜单 mode 模式 method 方法 metric 米的,公尺 motion 运动 manager 经理 main 主要的 msg=message 消息N. new 新的 number 数字 north 北方 null 空的 native 本地的O. override 过载 orange 橘子 output 输出 object 对象 out 外部的 oval 椭圆P. public 公共的 protected 保护的 private 私有的 property 属性 point 点 price 价格 problem 问题 package 打包,包裹 print 打印 path 路径 po;ygon 多边形 program 程序 prompt 提示parse 分析 press 按,压 panel 面板 paint 画Q. q无R. return 返回 runnable 可捕获的 radius 半径 round 环绕 release 释放 rect=rectangle长方形radio 无线电 resolve 解析S. short 短整型 south 南方的 string 字符串 static 静态的 system 系统 seed 种子 seasonal 季节的 set 设置 super 超级 square 平方,二次方 sub 替代的 screen 屏幕 sound声音 state 状态salary 薪水 sleep 睡觉 size 大小,尺寸 start 开始 sort 排序 status 状态 synchronize 同步发生switch 开关 stream 流 symbol 符号T. true 真的 title 标题 type 类型 temp=temporary暂时的 throw 扔 thread 线程 temperate 温度 tool 工具 try 试图U. undefined 未定义 UIUser Interface 用户接口 update 更新 URLUniform Resource Locator 统一资源定位器V. volatile 挥发性 visible 不可见的 virtual 虚拟的 variable 变量 value 数值 void 无返回值的 volume 列 viewer 观察者 vector 矢量●我喜欢「式」:constructor 建构式declaration 宣告式definition 定义式destructor 解构式expression 算式运算式function 函式pattern 范式、模式、样式program 程式signature 标记式签名式/署名式●我喜欢「件」:这是个弹性非常大的可组合字assembly 装配件component 组件construct 构件control 控件event 事件hardware 硬件object 物件part 零件、部件singleton 单件software 软件work 工件、机件●我喜欢「器」:adapter 配接器allocator 配置器compiler 编译器container 容器iterator 迭代器linker 连结器listener 监听器interpreter 直译器translator 转译器/翻译器●我喜欢「别」:class 类别type 型别●我喜欢「化」:generalized 泛化specialized 特化overloaded 多载化重载●我喜欢「型」:polymorphism 多型genericity 泛型●我喜欢「程」:process 行程/进程大陆用语thread 绪程/线程大陆用语programming 编程●英中繁简编程术语对照英文繁体译词有些是侯捷个人喜好,普及与否难说大陆惯用术语--------------------------------------------------------------------------------------- define 定义预定义abstract 抽象的抽象的abstraction 抽象体、抽象物、抽象性抽象体、抽象物、抽象性access 存取、取用存取、访问access level 存取级别访问级别access function 存取函式访问函数activate 活化激活active 作用中的adapter 配接器适配器address 位址地址address space 位址空间,定址空间address-of operator 取址运算子取地址操作符aggregation 聚合algorithm 演算法算法allocate 配置分配allocator 空间配置器分配器application 应用程式应用、应用程序application framework 应用程式框架、应用框架应用程序框架architecture 架构、系统架构体系结构argument 引数传给函式的值;叁见 parameter 叁数、实质叁数、实叁、自变量array 阵列数组arrow operator arrow箭头运算子箭头操作符assembly 装配件assembly language 组合语言汇编语言assertion 断言assign 指派、指定、设值、赋值赋值assignment 指派、指定赋值、分配assignment operator 指派赋值运算子 = 赋值操作符associated 相应的、相关的相关的、关联、相应的associative container 关联式容器对应 sequential container 关联式容器atomic 不可分割的原子的attribute 属性属性、特性audio 音讯音频. 人工智慧人工智能background 背景背景用於图形着色後台用於行程backward compatible 回溯相容向下兼容bandwidth 频宽带宽base class 基础类别基类base type 基础型别等同於 base classbatch 批次意思是整批作业批处理benefit 利益收益best viable function 最佳可行函式最佳可行函式从 viable functions 中挑出的最佳吻合者binary search 二分搜寻法二分查找binary tree 二元树二叉树binary function 二元函式双叁函数binary operator 二元运算子二元操作符binding 系结绑定bit 位元位bit field 位元栏位域bitmap 位元图位图bitwise 以 bit 为单元逐一┅bitwise copy 以 bit 为单元进行复制;位元逐一复制位拷贝block 区块,区段块、区块、语句块boolean 布林值真假值,true 或 false 布尔值border 边框、框线边框bracecurly brace 大括弧、大括号花括弧、花括号bracketsquare brakcet 中括弧、中括号方括弧、方括号breakpoint 中断点断点build 建造、构筑、建置MS 用语build-in 内建内置bus 汇流排总线business 商务,业务业务buttons 按钮按钮byte 位元组由 8 bits 组成字节cache 快取高速缓存call 呼叫、叫用调用callback 回呼回调call operator call函式呼叫运算子调用操作符同 function call operatorcandidate function 候选函式候选函数在函式多载决议程序中出现的候选函式chain 串链例 chain of function calls 链character 字元字符check box 核取方块 . check button 复选框checked exception 可控式异常Javacheck button 方钮 . check box 复选按钮child class 子类别或称为derived class, subtype 子类class 类别类class body 类别本体类体class declaration 类别宣告、类别宣告式类声明class definition 类别定义、类别定义式类定义class derivation list 类别衍化列类继承列表class head 类别表头类头class hierarchy 类别继承体系, 类别阶层类层次体系class library 类别程式库、类别库类库class template 类别模板、类别范本类模板class template partial specializations类别模板偏特化类模板部分特化class template specializations类别模板特化类模板特化cleanup 清理、善後清理、清除client 客端、客户端、客户客户client-server 主从架构客户/服务器clipboard 剪贴簿剪贴板。
Java语言
Java正在使快速开发Internet上通讯与协同工作的通用程序成为可能。
这里,我们不仅是谈论字处理、电子数据表,而且是能够处理销售、客户服务、记帐、数据库和人事资源管理的应用程序一一它们是公司计算的基础。
Java也使争论中的一类新的、称之为网络计算机(即NC)的便宜计算机成为可能,SUN IBM、Apple和其它公司希望这种计算机将在公司和家庭中普及开来。
Java工作的方法简单。
与那些要占用PC机硬盘多兆字节的普通应用软件不一样,java应用程序,即小应用程序,是很小的程序,它常驻在网络中集中式的服务器上。
只有当你需要这种应用程序时,网络才把它们送到你的机器上,山于小应用程序比常规程序小得多,故下载不需很多时间。
比方说,你要检查一下西南地区的销售结果,利用Internet浏览器找到能提交则一务数据的公司内部Web站点,再用鼠标器击一下或两下,便可以调这些数字。
服务器将不仅快速给你数据,而且显示它所需要的销售分析小应用程序。
这些数字在Java数据表中将浮现在你的屏幕上,因而你能即兴地使用它们,而不是麻烦地将它们调入你自己的数据表程序中。
为用图形显示这些数字,你可以一调入作图表的小应用程序,让你漂漂亮亮地打印出报表来,而所有这些不必离开浏览器。
你也始终能得到最新最好的小应用程序版本:因为这种软件只存储存一才\地方,公司的技术人员可较答易地使其保持最新。
然而,Java语言的真正优点是具有让用户省钱的能力,因为它大大简化了应用程序的开发与部署使用。
而且让它们保留己有的“传统”计算机和软件。
Java程序一旦写好了,就能在任何一种计算机(PC机、Macintosh机、Unix工作站、甚至是大型机)上无需修改就能运行。
基本的操作系统是没有差别的。
Java实际上给予了那些较旧的专用的计算机(有变成废品风险的产品)新的生命。
在不到一年的时间内,Java己成了微软的PC操作系统Windows系列的主要挑战者,比DOS和WINDOWS挑战传统的大型机和小型机的速度还要快。
Java也在成为最重要的Internet 软件标准的道路上迅跑,使Sun超过Netscape和微软成为Internet计算的领袖。
Java
Java is making possible the rapid development of versatile programs for communicating and collaborating on the Internet. We're not just talking word processors and spreadsheets here, but also applications to handle sales, customer service, accounting, databases, and human resources--the meat and potatoes of corporate computing. Java is also making possible a controversial new class of cheap machines called network computers,or NCs,which SUN,IBM, Oracle, Apple, and others hope will proliferate in corporations and our homes.
The way Java works is simple, Unlike ordinary software applications, which take up megabytes on the hard disk of your PC,Java applications,or"applets",are little programs that reside on the network in centralized servers,the network that delivers them to your machine only when you need them to your machine only when you need them.Because the applets are so much smaller than conventional programs, they don't take forever to download.
Say you want to check out the sales results from the southwest region. You'll use your Internet browser to find the corporate Internet website that dishes up financial data and, with a mouse click or two, ask for the numbers.The server will zap you not only the data, but also the sales-analysis applet you need to display it. The numbers will pop up on your screen in a Java spreadsheet, so you can noodle around with them immediately rather than hassle with
importing them to your own spreadsheet program。
To graph the numbers,you'll call in a charting applet that will let you print out your report nice and pretty, all without leaving your browser, and you'll always get the latest, greatest version of the applets too:since the software is stored in only one place corporate teaches can keep it up to date more easily.
The real beauty of the Java language, however, visits power to save users money, because it vastly simplifies creating and deploying applications and be-cause it lets them keep their existing "legacy" com-puters and software.
Java programs, once written, can run without modification on just about any kind of computer: a PC,a Macintosh,a Unix workstation--heck,even a mainframe. The underlying operating system makes difference. Java actually can breathe new life into older specialized computers that wear at risk of becoming obsolete.
In scarcely a year, Java has evolved into a majar challenger to Microsoft's Windows family of PC operating systems-faster even than DOS and Windowse rose to challenge traditional mainframes and minicomputers.Java is also well on its way to becoming the most important Internet software standard, catapulting Sun past Netscape and Microsoft as the leader in Internet computing.。