Is JRE required to compile Java files ?

Answer Posted / abhishek

see,javac is compiler of java which is use to convert
the .java file into .class file,but only .class file can
not exceute the java program for exceuting java program we
should require a enviorment and a JIT compiler,the
enviorment over which .class file exceutes itself is called
jre(java runtime enviorment),Na JIt compliler which works
as interepter for .class file ,that makes java plate for
independent

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is slash r?

550


Explain the different forms of polymorphism?

580


Explain different ways of creating a thread?

537


What is default switch case? Give example.

580


What is the base class of all exception classes?

599






What are mutable classes?

530


What is the difference between iterator and list iterator?

547


What is thread safe in java?

560


Can you extend main method in java?

635


What is void class in java?

536


What are the problems faced by java programmers who don't use layout managers?

569


What are the 3 types of loops in java?

546


Can a class declared as private be accessed outside it’s package?

522


What is square root in java?

598


What is a stringbuilder?

523