Abstract

Abstract Java is not only a modern, powerful, and frequently used programming language, but together with Java Virtual Machine it represents a novel dynamic approach of writing and executing computer programs. The fact that Java programs are executed in a controlled environment has several important implications that define the nature of the language and makes it different from the traditional C-like languages. Knowing the detailed differences between the two types of languages and execution environments is a part of the holistic education of a computer engineer. In this paper, we present some behind-the-scene details about the Java Virtual Machine and we show how these details could be used in the educational process to demonstrate the differences and to emphasise the advantages of the dynamic programming approach when compared to the static one. After presenting some information about class files and about the internal structure and operation of the Java Virtual Machine we demonstrate the usage of public domain programs that could be used in the educational process to put these theoretical concepts into practice.

Highlights

  • Java is a modern, powerful, robust, secure and frequently used programming language

  • After presenting some information about class files and about the internal structure and operation of the Java Virtual Machine we demonstrate the usage of public domain programs that could be used in the educational process to put these theoretical concepts into practice

  • In Sections. 2 and 3 we present some details on the organization of the Java class file and provide some information about the internal structure and behaviour of the Java Virtual Machine

Read more

Summary

Introduction

Its popularity reflects in several different-purpose programming language indices which place Java at the very top of the scoreboard [1, 2, 12]. Considering these facts it is not surprising that Java has became a very popular programming language in the in-. 2 and 3 we present some details on the organization of the Java class file and provide some information about the internal structure and behaviour of the Java Virtual Machine.

Java class files
Inside the JVM
The javap program
The hexdump program
32 | Method
Class Editor
Dr Garbage’s Bytecode Visualizer
PyJVMGUI
Java from a pedagogical point of view
Conclusions
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call