Interview Questions

Q:

Can a main() method be declared final?

Answer Yes. Any inheriting class will not be able to have it's own default main() method.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 3577
Q:

With a heredoc syntax, do I get variable substitution inside the heredoc contents?

Answer Yes
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

1 3576
Q:

What is a template?

A) A template is a formula for creating a generic class B) A template is used to manipulate the class
C) A template is used for creating the attributes D) none of the mentioned
 
Answer & Explanation Answer: A) A template is a formula for creating a generic class

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

1 3568
Q:

Where does the exception are handled?

A) inside the program B) outside the regular code
C) both a & b D) none of these
 
Answer & Explanation Answer: B) outside the regular code

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

1 3565
Q:

Disinvestment means-

A) To reduce government share in the FDI B) To reduce the government share in the public sector
C) To reduce government share in Market D) To reduce the government share in the private sector
 
Answer & Explanation Answer: B) To reduce the government share in the public sector

Explanation:

Disinvestment is the action of an organization or government selling or liquidating an asset or subsidiary.

Report Error

View Answer Report Error Discuss

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

8 3563
Q:

What is a cursor ? Why should it be used in DB2?

Answer

Cursor is a programming device that allows the SELECT to find a set of rows but return them one at a time. Cursor should be used because the host language  can deal with only one row at a time.

Report Error

View answer Workspace Report Error Discuss

0 3554
Q:

Describe a time where customer wasn’t happy and what did you do to change it?

Answer

There’s no doubt that working in retail you will encounter an unhappy, disgruntled, or difficult customer.  Learning to hold in your personal feelings, addressing empathy for customers, and representing the company well in order to keep customers coming back are all important skills recruiters will look for when assessing how you deal with uncomfortable situations.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Retail

2 3550
Q:

How many items are presented in the associate container?

A) 2 B) 3
C) 4 D) 5
 
Answer & Explanation Answer: D) 5

Explanation:

There are 5 items presented in the associate container. They are set, multiset, map, multimap and bitset.

Report Error

View Answer Report Error Discuss

Filed Under: C++

1 3549