What is Java Compiler

828 views · Published 26 January 2014 · 3:12 · Indexed 21 October 2026

Channel: Interview DOT · 2014 · Science & Technology

Watch on YouTube

Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. What is Java Compiler

What is a "Java Compiler" ? Java Interview Question And Answer ? 

"Java Compiler" :

First step is to write your java code and save it as a .java file (Employee.Java).

The compiler takes your Employee.java file and compiles it into a Employee.class file (the Employee.class file contains Java byte code).

The interpreter wil help your program to run. The JVM (or interpreter) takes your Employee.class file and interprets it.JVM can understand "ByteCode" and it executes on the Operating System.

The javac command compiles Java source code into Java bytecodes.

Compiler checks for errors and won't let you compile successfully ,untill all the compiler errors are resolved.

Example : % javac Employee


What is Java Compiler

A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm

Are you looking for a new Job ?
InterviewDot.com - A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm

More from this channel