Interview Questions

Q:

What is the importance of finally block in exception handling ?

Answer

A finally block will always be executed, whether or not an exception is actually thrown. Even in the case where the catch statement is missing and an exception is thrown, the finally block will still be executed. Last thing to mention is that the finally block is used to release resources like I/O buffers, database connections, etc.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

11 5958
Q:

X implements Y extends Z

A) X can be class Y,Z are interfaces B) X is an interface Y,Z are classes
C) X,Y are classes Z is an interface D) Complilation error
 
Answer & Explanation Answer: D) Complilation error

Explanation:

It is a compilation error it should be X extends Y implements Z

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: IT Trainer

3 5938
Q:

What steps do you follow to study a problem before making a decision ?

Answer

The interviewer wants to know that you don't just jump into a solution without knowing the problem in detail. You want to study the problem by determining the cause of the problem, what the problem is, and what the possible solutions are. You then decide on a solution.

Following steps for problem-solving and decision-making can be very helpful.

- Define the problem to be solved and decision to be made.
- Gather the necessary information.
- List all possible choices.
- Consider possible outcomes for each choice.
- Check out how you feel about each of the choices.
- Relate the choices to your values and priorities.
- From the possible alternatives, choose one.
- Commit yourself to your chosen decision and disregard the others. Concentrate your energies   in one direction. Once we made our decision, we must focus all our work on that itself.
- Take steps to turn your decision into positive action.
- Evaluate your progress from time to time. Change your decision if necessary.

Report Error

View answer Workspace Report Error Discuss

Subject: Behavioral Interview Exam Prep: TOEFL , GRE , GATE , CAT , Bank Exams
Job Role: Project Manager , Bank PO , Bank Clerk

54 5928
Q:

Write a SQL Query to find year from date.

Answer

SELECT YEAR(GETDATE()) as "Year";

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

2 5923
Q:

When was the last time you were angry? What happened?

Answer

Anger to me means loss of control. I do not lose discipline. When I get pressured,I step back, I will take a long breath, thoughtfully think through the situation and then start to formulate a course of action. For example, when I am given multiple projects to complete in a short period of time, rather than feeling frustrated, I come up with an approach for the way how to finish the work in a consistent, methodical manner that will not overwhelm me.

Report Error

View answer Workspace Report Error Discuss

Subject: Communication

16 5922
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

6 5922
Q:

What steps would you take before approving an invoice for payment?

Answer

Following steps should be taken

>Validate the invoice once it is matched for checking any holds..

>If workflow is implemented , Initiate approval for the invoice. Once the invoice is approved/Approrval not required(status in case WF is not implemented) you can go for payments.

>Create accounting after approval of invoice..

Finally for payments you need to format, build
-------------------------------------------------------------------------------
Before making payment

the following steps should be taken
1. invoice amt, date, qty, quy,
2. invoice duplication or not
3. rectification of any Errors in invoice
------------------------------------------------------------------------------
Before hand over the invoice or dispatch the materials
1.we have to receive perchase order from the customer
2.Then PDC cheque, cash or current dated chq for dispatch the materials
3.have to take signature from the customer for the proof of goods recieve
-------------------------------------------------------------------------------
We must check the invoice thoroughly.
(1) Date of Invoice
(2)Qty,Rate,Tax Levid

Report Error

View answer Workspace Report Error Discuss

Subject: Accounts Payable

4 5895
Q:

What are the different implementations of LINQ?

Answer

The different implementations of LINQ are:


      =>  LINQ to SQL - Refers to a component of.NET Framework version 3.5 that    provides a run-time infrastructure to manage relational data as objects.

      =>   LINQ to DataSet - Refers to a component that makes it easier and faster to query over data cached in a DataSet object.

      =>   LINQ to XML - Provides an in-memory XML programming interface.

      =>  LINQ to Objects - Refers to the use of LINQ queries with any IEnumerable or IEnumerable(T) collection directly, without the use of an intermediate LINQ provider or API, such as LINQ to SQL or LINQ to XML.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

1 5888