Relative Content

Tag Archive for javajvm

Does JVM encompasses the JAVA SE library’s binary code

As per my understanding,
*.java file convert into bytecote,*.class by executing javac.
Once JVM instantiate, JVM component JIT Compiler, converts that bytecode into binary code. and that binary code instruction eventually executed by JVM on to underlying architecture.

What does a field in a java abstract class look like after compilation is complete? Can anyone describe it?

abstract class MyAbstractClass { protected String field; public MyAbstractClass(String field) { this.field = field; } public abstract void someMethod(); } class SubClass extends MyAbstractClass { public SubClass(String field) { super(field); } @Override public void someMethod() { System.out.println(“Implementing abstract method in SubClass”); } } Subclasses reuse these fields. Would it make any difference to the compiler […]