Interview Questions

Q:

How to define a constant variable in Java?

Answer The variable should be declared as static and final. So only one copy of the variable exists for all instances of the class and the value can't be changed also.
static final int PI = 2.14; is an example for constant.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 3177
Q:

If an array with name as "names" contain three elements, then how will you print the third element of this array?

Answer

Print third array element document.write(names[2]);

Note:- Array index starts with 0.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 3176
Q:

What is sqlcode -811?

Answer

SELECT statement has resulted in retrieval of more than one row.

Report Error

View answer Workspace Report Error Discuss

0 3173
Q:

What are the important topologies for networks?

Answer

BUS topology:


In this each computer is directly connected to primary network cable in a single line.


 


STAR topology:


In this all computers are connected using a central hub.

Report Error

View answer Workspace Report Error Discuss

2 3173
Q:

Do you work well under pressure?

Answer

In most cases, the best answer to this question is answering yes. Working well under pressure is a good trait to have. However, I think if you answer that you work the same with pressure and without pressure, the interviewer will be more impressed. However, you will need to explain in words why this is better. Here are some of my answers.


1. "I work well under pressure because I use the pressure to help me work more efficiently."


2. "I enjoy working under pressure because I believe it helps me grow. In my previous experience, I always worked well during deadlines, and I always learned how to work more efficiently afterwards."


3. "I work well under pressure because I don't panic. I maintain self control and work as efficiently as possible. In all my experiences, I did well and I always enjoyed the experience."

Report Error

View answer Workspace Report Error Discuss

9 3172
Q:

Managing advertising, sales promotion and public relations:

What according to you is sales promotion?

Answer

We can say that sales promotion is a cost effective technique by which an organisation can achieve its sales volume or the marketing objectives by providing value added product and not just an ordinary product to the end user or even the intermediaries. It is short term by nature and is suitable enough for generating sales within a short span of time. Sales promotion techniques are being increasingly used by retailing organisations some of which include advertising, providing discounts and allowances or a 'buy one get one free offer' etc.

Report Error

View answer Workspace Report Error Discuss

0 3168
Q:

What is the difference between Consigner and Consignee ?

Answer

Consigner is the person who is the owner of the goods and who delivers the goods to others(consignee) Whereas Consignee is the person who receives the goods and just holds the goods and will not be the owner.

Report Error

View answer Workspace Report Error Discuss

Subject: Accounts Payable Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

6 3160
Q:

Explain the use of lookup tables and Aggregate tables.

Answer

At the time of updating the data warehouse, a lookup table is used. When placed on the fact table or warehouse based upon the primary key of the target, the update is takes place only by allowing new records or updated records depending upon the condition of lookup.


The materialized views are aggregate tables. It contains summarized data. For example, to generate sales reports on weekly or monthly or yearly basis instead of daily basis of an application, the date values are aggregated into week values, week values are aggregated into month values and month values into year values. To perform this process aggregate function is used.

Report Error

View answer Workspace Report Error Discuss

0 3158