Interview Questions

Q:

What is difference between methods and blocks?

Answer

Method contains name, parameters, return type and executable body. But block does not contains name, parameters, return type.It contains only executable body.


Methods are executed by method call statements. Blocks are executed automatically with class loading and with object creation.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2472
Q:

Can a class be declared as protected?

Answer A class can't be declared as protected. only methods can be declared as protected.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2472
Q:

How can record locking be achieved in those DB2 versions which do not support it?

Answer

It can be done by setting the record length’s size to more than half of the page’s size.

Report Error

View answer Workspace Report Error Discuss

0 2468
Q:

Which best describes the difference between stocks and bonds?

A) stocks allow investors to own a portion of the company; bonds are loans to the company B) stocks are more reliable investment;bonds tend to be more volatile
C) stocks allow investors to share in profits;bonds make investors responsible for company debts D) stocks pay interest to investors throughout the year; bonds only pay interest at fixed times during the year
 
Answer & Explanation Answer: B) stocks are more reliable investment;bonds tend to be more volatile

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Bank Interview
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

0 2467
Q:

Which function would you use to insert a record into a database?

Answer

The dba_insert() function adds a record to a database.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2465
Q:

What is a BI dashboard?

Answer

Dashboards are real-time business intelligence interfaces. They allow a huge amount of data to be read in a single interface in order to analyse the success or failure of the business or project in question

Report Error

View answer Workspace Report Error Discuss

0 2462
Q:

Are objects passed by value or by reference?

Answer Everything is passed by value.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2462
Q:

A decline in the real interest rate will

A) shift the investment schedule downward B) shift the investment schedule leftward
C) increase the amount of investment spending D) None of the above
 
Answer & Explanation Answer: C) increase the amount of investment spending

Explanation:

The real interest rate is the percentage increase in purchasing power that the lender receives on a loan. A decline in the real interest rate will increase the amount of investment spending.

Report Error

View Answer Report Error Discuss

Filed Under: Bank Interview
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2461