Thursday, November 5, 2015

Getting Ready for Technical Interviews - 1

After long time I get chance to continue writing my blog. I thought include some basic java concepts and more technical concepts with this post. There is no any order of concepts. I just put things that I have focused when I was getting ready for interviews.

Ok lets start. 

JDK - Java Development Kit

A bundle of software with tools needed to develop java program such as compiler (javac.exe), java app launcher (java.exe) etc. This is mainly targeted for java development, compile a java file and run a java file. So it is clear even it providing facilities for development purpose, it includes execution environment also. 

JRE - Java Runtime Environment

This can be known as the implementation of java virtual machine which actually executes java programs. Therefore it is mainly targeted for execution of java files. 

JRE = JVM + Java Packages (util,lang etc) + Run time Libraries 

JVM - Java Virtual Machine


An implementation of the Java Virtual Machine Specification, interprets compiled Java binary code (called bytecode) for a computer's processor ( or "hardware platform") so that it perform a Java program's intructions. Java was designed to allow application programs to be built that could be run on any platform without having to be rewritten or recompiled by the programmer for each separate platform. A JVM makes this possible because it is aware of specific instruction lengths and other particularities of the platform.


Execution of a java program. Java is a both compiled and interpreted language.


Next


3 comments: