Books Related to Java Technology

Sunday, September 18, 2011

J2EE Interview Questions & Answers

J2EE Interview Questions & Answers

J2EE is a Java 2 Enterprise Edition. J2EE is an environment for developing and deploying enterprise applications. J2EE specification is defined by Sun Microsystems Inc. The J2EE platform is lies of a set of services, application programming interfaces (APIs), and protocols, which provides the functionality necessary for developing multi-tiered, web-based applications. The J2EE platform is one of the richest platform for the development and deployment of enterprise applications.

What is the difference between linker and assembler?

What is the difference between linker and assembler?

Answer1: Here's how it works(Assembler):Most computers come with a specified set of very basic instructions that correspond to the basic machine operations that the computer can perform. For example, a "Load" instruction causes the processor to move a string of bits from a location in the processor's memory to a special holding place called a register. Assuming the processor has at least eight registers, each numbered, the following instruction would move the value (string of bits of a certain length) at memory location 3000 into the holding place called register
Posted On: 2011-09-13 By: Sandeep K Suman

Answer2: An assembler is a program that takes basic computer instructions and converts them into a pattern of bits that the computer's processor can use to perform its basic operations. Some people call these instructions assembler language and others use the term assembly language.
Posted On: 2011-09-13 By: Sandeep K Suman

Answer3: A linker is a program that combines object modules to form an executable program. Many programming languages allow you to write different pieces of code, called modules, separately. This simplifies the programming task because you can break a large program into small, more manageable pieces. Eventually, though, you need to put all the modules together. This is the job of the linker. In addition to combining modules, a linker also replaces symbolic addresses with real addresses. Therefore, you may need to link a program even if it contains only one module.
Posted On: 2011-09-13 By: Sandeep K Suman

Answer4: A program that combines one or more files containing object code into a single file containing executable code. The linker resolves external references among the files, such as function calls. The output of a linker is a machine-code program ready to be loaded into memory and executed.
Posted On: 2011-09-13 By: Sandeep K Suman

Answer5: In computer science, a linker or link editor is a program that takes one or more objects generated by a compiler and combines them into a single executable program.
Posted On: 2011-09-13 By: Sandeep K Suman

MySQL Interview Questions & Answers

MySQL Interview Questions & Answers

What is the most important feature of Java?
Java is a platform independent language.

What do you mean by platform independence?

Platform independence means that we can write and compile the java code in one platform like (Windows) and we can execute the class in any other supported platform like (Linux, Solaris etc).

Is JVM platform independent?

JVM is not platform independent. It is a platform specific run time implementation provided by the vendor.

What is a JVM?

JVM is Java Virtual Machine which is a run time environment for the compiled java class files.

Difference between JRE/JVM/JDK?

To See in Details Click on this Link:- http://javasks.blogspot.com/2009/01/difference-between-jre-jvm-and-jdk.html