Example & Tutorial understanding programming in easy ways.

what is the Differences Between Core Java and Java for J2ME?.

Differences Between Core Java and Java for J2ME

Major Differences are :

  • Floating-point math is missing in J2ME. MIDlet cannot use any floating-point data types or calculations.
  • Absence of finalize() method in J2ME.
  • Reduced number of error-handling exceptions in J2ME.
  • JVM for small computing devices requires a custom class loader that is supplied by the device manufacturer and cannot be replaced or modified.
  • We cannot group threads. All threads are handled at the object level.
  • The class file verification is replaced with two processes called Preverificaton and Validation. Preverification occurs prior to loading the MIDLet’s and Validation occurs after loading the MIDLet.

Read More →