J2ME learning notes

xiaoxiao2021-03-06  16

This is Lannos study notes

CLDC provides support for basic Java language

The CLDC is always compatible with the Java language but needs to pay attention to the following points.

1. Do not support floating point data types. That is, there is no float that does not include java.lang.float this class, which is mainly due to the hardware functionality of the CLDC's hardware function, such as equipment memory, limited to floating point. Wait 2. Does not support class instance class instance end Finalization does not exist Object.Finalize () method 3. Limited error handling Error Handing, the subclass of most java.lang.Error is not supported, this is mainly due to equipment Memory restriction

Does not support floating-point data type No float and double do not support JNI (Java Native Interface) Does not support user-defined Java class-type class loader Class Loaders No reflection (Reflection) 4 Features Do not support thread group Thread Groups or daemon DAEMON Threads does not support class instance class instance end Finalization No Weak Reference Weak References5 limited Error Handling

Changed Class file audit mode Class file verificationCLDC new defined a two-step audit mode

转载请注明原文地址:https://www.9cbs.com/read-45519.html

New Post(0)