java lang_java.lang

看看wiki关于java.lang包的描述:

The Java package interfaces closely tied to the language and runtime system. This includes the root classes that form the class hierarchy, types tied to the language definition, basic exceptions, math functions, threading, security functions, as well as some information on the underlying native system. This package contains 22 of 32 Error classes provided in JDK 6.

The main classes and interfaces in java.lang are:

enumeration classes (as of J2SE 5.0).

reflection system.

string manipulation (StringBuilder as of J2SE 5.0).

enhanced for loop (as of J2SE 5.0).

dynamic loading of classes, creation of external processes, host environment inquiries such as the time of day, and enforcement of security policies.

sine, cosine, and square root (StrictMath as of J2SE 1.3).

The basic exception classes thrown for language-level and other common exceptions.

Classes in java.lang are automatically imported into every source file.

1) Object 1

2) String 1

3) AbstractStringBuilder 1

4) StringBuffer 1

5) StringBuilder 1

6) Boolean 2

7) Byte 2

8) Double 2

9) Float 2

10) Integer 2

11) Long 2

12) Short 2

13) Thread 2

14) ThreadLocal 2

15) Enum 3

16) Throwable 3

17) Error 3

18) Exception 3

19) Class 4

20) ClassLoader 4

21) Compiler 4

22) System 4

23) Package 4

24) Void 4

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值