Difference Between java & javax

Answer Posted / jigs

A package is introduced as an addition to an existing JRE,
it comes in as javax. If it's first introduced as part of a
JRE (like NIO was, I believe) then it comes in as java. Not
sure why the new date and time API will end up as javax
following this logic though... unless it will also be
available separately as a library to work with earlier
versions (which would be useful).
A classloaders are set up to only allow classes within
java.* to be loaded from rt.jar or something similar.
(There's certainly a check in ClassLoader.preDefineClass.)

Is This Answer Correct ?    19 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?

1554


When a thread blocks on i/o, what state does it enter?

570


What is jboss?

571


Explain about local interfaces.

579


What classes of exceptions may be caught by a catch clause?

553






What is the purpose of the wait(), notify(), and notifyall() methods?

566


How task's priority is used in scheduling?

1779


How primary key is implemented in Oracle?

1914


What are transaction attributes?

610


Explain ioc concept?

621


What is abstract schema?

553


Is “abc” a primitive value?

613


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

1736


What is glasgow?

580


Is a class a subclass of itself?

588