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:-

Monday, March 8, 2010

Online free training

Take a free online training on any technology like java, jsp, servlet, hibernate, php, spring, flex.

for more details pls visit:

Saturday, January 16, 2010

Percentile Calculation in C++

Question: Write a program for the problem: the array of inetegers indicating the marks of the students is given, U have to calculate the percentile of the students aaccording to this rule: the percentile of a student is the %of no of student having marks less then him. For eg: suppose

Student Marks
A 12
B 60
C 80
D 71
E 30
F 45

percentile of C = 5/5 *100 = 100 (out of 5 students, 5 are having marks less then him)

percentile of B = 3/5*100 = 60% (out of 5, 3 have markses less then him)

percentile of A = 0/5*100 = 0%.



void main()
int a[10],n,i,j;
int percent;
int count;
enter the size of array";
enter the values";
cout<<" a["< cin>>a[i];

for( i=0;i<=n-1;i++)
{ count=0;
{ if(a[i]>a[j])

the percentile of"<<"a["< }


Thursday, November 12, 2009

Gmail: Move Chat To Right Side


Gmail: Chat is not working in left side? You can move it to the right side.

1. Login to Gmail.

2. Click the Settings link in the upper-right corner.

3. Click the Labs link.

4. Scroll down to where it option right side chat. Click Enable.

5. Scroll to the bottom and click Save Changes.

Sunday, October 11, 2009

How to Use Google Adsense Account for More Than One Site or Blog

1. Log on to your Google Adsense account. There are four tabs at the top of the page. The defaulted one (the one you're on) is "Reports."

2. Click the "Adsense Setup" tab.

3. Choose the type of Adsense ad you'd like to add to your website. Continue through the ad-creating interface as usual.

4. When you reach the page that allows you to add channels, stop. Here, click the "Add New Channel" text link. Name the channel something that you will readily identify as pertaining to this particular site. For instance, if you own and, and this add is for the latter site, name your channel

5. Next time you log in to your account to check your Google Adsense statistics, click on the "Top Channels" text link on the Reports page. This will give you a breakdown of your number of page views, number of clicks, CTR (click through rate), and earnings by channel. This will enable you to determine which site is earning more money for you.