Here are few interesting concepts that are implemented in the JVM:
1. Encapsulation has two modes. Static and Dynamic. Static encapsulation is the regular encapsulation that enforces of accessing attributes of a java class e.g. access modifier provides capability of visibility whereas Runtime Encapsulation makes it sure the attributes are accessible by a class during runtime inside JVM. This Runtime Encapsulation is enforced by the classloader i.e. package friendly access modifier woudn't be honored if both of the classes are not loaded by the same classloader.
2. OxCAFEBABE is the firest 4 bytes of a java class file in byte code format
Resources:
http://www.artima.com/insidejvm/ed2/introarch.html - JVM Architecture online book
http://betterexplained.com/articles/understanding-big-and-little-endian-byte-order/
1. Encapsulation has two modes. Static and Dynamic. Static encapsulation is the regular encapsulation that enforces of accessing attributes of a java class e.g. access modifier provides capability of visibility whereas Runtime Encapsulation makes it sure the attributes are accessible by a class during runtime inside JVM. This Runtime Encapsulation is enforced by the classloader i.e. package friendly access modifier woudn't be honored if both of the classes are not loaded by the same classloader.
2. OxCAFEBABE is the firest 4 bytes of a java class file in byte code format
Resources:
http://www.artima.com/insidejvm/ed2/introarch.html - JVM Architecture online book
http://betterexplained.com/articles/understanding-big-and-little-endian-byte-order/
No comments:
Post a Comment