Amazon Interview Question for Software Engineer / Developers






Comment hidden because of low score. Click to expand.
0
of 0 vote

Java has build JVM for each type of platform and JAVA compiler converts it code into bytecodes, which is uniquely interpreted by each JVM, so that makes JAVA platform independent.

- Hello June 16, 2008 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

what is JVM (sorry i'm a freshee)

- Nick June 17, 2008 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

JVM is java virtual machine....that is used to interpret bytecodes that are generated via java compiler by "javac xyz.java" command......

- Hello June 17, 2008 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

The result of compiling a java source code is a class file. Java compiler transforms a source file into a class file. Class file is also called as bytecode. JVM them interprets the byte code and gives the output.

Assume a file called HelloWorld.java is compiled to HelloWorld.class by Java compiler in Windows machine. Then that HelloWorld.class file can be ran on any platform (Windows, Linux, Solaris) if it has JVM installed. This makes Java platform independent.

Thus people say: Write once, run anywhere.

- badalrocks January 20, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

adding to the above. JVM has the mechanism to covert bytecode to machine specific native code using JIT. (Just In Time Compiler)

- master January 03, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

As we know when any language translate source code into machine code directly then they will become an platform dependant but here's Java use an byte code which known as the mid of source code and machine code and that code can be run anywhere at any platform without any modification.so for these reason's Java is known as platform independent.

- coderhunk January 18, 2014 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More