- 博客(9)
- 收藏
- 关注
转载 Java tutorial - collections
Prior to Java 2, Java provided ad hoc classes such as Dictionary, Vector, Stack, andProperties to store and manipulate groups of objects. Although these classes were quite useful, they lacked a ce
2015-07-12 16:10:02 393
转载 Java tutorial 7
19. Data StructuresThe data structures provided by the Java utility package are very powerful and perform a wide range of functions. These data structures consist of the following interface and
2015-07-11 21:47:45 411
转载 Java tutorial 6
16. Java EncapsulationEncapsulation is one of the four fundamental OOP concepts. The other three are inheritance, polymorphism, and abstraction.Encapsulation is the technique of making the f
2015-07-11 16:35:12 379
转载 Java tutorial 5
13. InheritanceInheritance can be defined as the process where one object acquires the properties of another. With the use of inheritance the information is made manageable in a hierarchical ord
2015-07-10 19:45:39 292
转载 Java tutorial 4
11. Using command line argumentsSometimes you will want to pass information into a program when you run it. This is accomplished by passing command-line arguments to main( ).A command-line a
2015-07-10 09:11:40 452
原创 Java Trouble Shooting
1. 文件目录是这样子的:Test.java是这样子的:package javatutorial;import java.util.*;import java.text.*;public class Test {public static void main(String args[]) {SimpleDateFormat ft = new Simp
2015-07-09 21:35:37 309
转载 Java tutorial 3
10. Date and Time classJava provides the Date class available in java.util package, this class encapsulates the current date and time.The Date class supports two constructors. The first cons
2015-07-09 16:51:18 284
转载 Java tutorial 2
The Bitwise Operators:Java defines several bitwise operators, which can be applied to the integer types, long, int, short, char, and byte.Bitwise operator works on bits and performs bit-by-bit
2015-07-09 10:37:52 199
转载 Java tutorial 1
1. EnumsEnums were introduced in java 5.0. Enums restrict a variable to have one of only a few predefined values. The values in this enumerated list are called enums.With the use of enums it i
2015-07-08 18:17:02 210
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人