Interview Questions

Q:

How is final different from finally and finalize()?

Answer final is a modifier which can be applied to a class or a method or a variable. final class can't be inherited, final method can't be overridden and final variable can't be changed.

finally is an exception handling code section which gets executed whether an exception is raised or not by the try block code segment.

finalize() is a method of Object class which will be executed by the JVM just before garbage collecting object to give a final chance for resource releasing activity.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2199
Q:

What are your strengths?

Answer

What are your strengths?

Purpose - The question is asked by the interviewer to understand your key selling point and get to know if it is relevant and helpful to handle the responsibilities that the person will handle if hired.

Note - All Most all Interviewers/Hiring people in management who assign tasks and responsibilities feel that a person is productive in work if his strength matches to the responsibilities of the role. So expect this question in most interviews. Also, be aware Strengths give clues on your interest.

Approach - Pick 2 or 3 strengths and give examples for each 1 to demonstrate how you used it in the previous job or in life. You can identify Some of your strengths from below list.
Continuous learning
Problem solving
Multi-tasking
Self learning
Flexible
Team Player
Hard working
Like Challenges
Quick Learner
Self Motivated
Communication, Oral and Written
Process Oriented
Analytical

Pre-work -Understand the job requirement in detail and get to know in advance what are the responsibilities the role you are applying and accordingly pick your strength that is relevant to the role. It would be advantageous to know the problems are issues the company is facing and what was the reason for the opening. You should be prepared for this question. It is one of the most commonly asked interview question.

E.g.: Communication and presentation - Communication and presentation is my strength.
In my previous job, I was given additional responsibilities to present and facilitate project status meetings with executive management and team building activities across departments.

Report Error

View answer Workspace Report Error Discuss

4 2199
Q:

Which class in .NET is used to install a Windows service?

Answer

The ServiceInstaller class, also known as the project installer class, is used to install a Windows service.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2198
Q:

How to check that whether the file object is pointing a folder or not?

Answer

boolean isDirectory();

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2196
Q:

How to use Amazon SQS?

Answer

Amazon SQS is a message passing mechanism that is used for communication between different connectors that are connected with each other. It also acts as a communicator between various components of Amazon. It keeps all the different functional components together. This functionality helps different components to be loosely coupled, and provide an architecture that is more failure resilient system.

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

1 2196
Q:

How to store the uploaded file to the final location?

Answer

move_uploaded_file( string filename, string destination)

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2196
Q:

Describe a situation in which you had to arrive at a compromise or guide others to a compromise ?

Answer

This question is designed to see how well you can mediate a situation and handle conflict. You want to come across as someone who can compromise when necessary. An interviewer wants to see that you can not only reach an outcome that is desirable for both sides of a conflict of interest, but also that you can understand where the other person is coming from. Empathy and understanding go a long way in any job and this is a good opportunity to show that you can put yourself in another’s shoes.

Report Error

View answer Workspace Report Error Discuss

2 2195
Q:

What are the main attributes of test automation?

Answer

The main attributes are discussed below:


 


Maintainability: For each new release need to update the test automation suites.


Reliability: Accuracy and repeatability of the test automation.


Flexibility: Ease of working with all the different kinds of automation test ware. 


Efficiency: Total cost related to the effort needed for the automation.


Portability: Ability of the automated test to run on different environments.


Robustness: Effectiveness of automation on an unstable or rapidly changing system. 


Usability: Extent to which automation can be used by different types of user.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 2195