Interview Questions

Q:

What is the purpose of overriding toString() method?

Answer

we can override tostring() method to return String representation of our object data

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2159
Q:

What is the difference between verification and validation?

Answer

Verification: Verification is a process to ensure that the software that is made, matches the original design. In other words, it checks whether the software is made according to the criteria and specification described in the requirement document. It is to check whether you built the product right as per design. It is a low level checking. (It is done in walk-through meetings generally). It checked whether it is made accordingly to the design..


Validation: Validation is a process to check whether the product design fits the client’s need. It checks whether you built the right thing. It checks whether it is designed properly.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 2159
Q:

Interest is usually associated with

A) doubtful accounts B) bad debts
C) accounts receivable D) notes receivable
 
Answer & Explanation Answer: D) notes receivable

Explanation:

Interest is usually associated with notes receivable.

Report Error

View Answer Report Error Discuss

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

2 2158
Q:

What is wrapping?

Answer

Wrapping is also called as packing or boxing.


Storing the data inside the object as private data which can accessed outside the class only by using methods.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2158
Q:

How do you handle conflict?

Answer

When responding to conflict resolution questions, answer with confidence since you're being considered for a supervisory position where you will frequently be required to work in teams, delegate responsibilities, and handle difficult problems.


The following is an effective way to answer conflict resolution questions:


Before proposing a solution, I collect all relevant facts surrounding the conflict. Conflicts are often resolved if sufficient time is devoted to determining root causes, while disregarding trivial or irrelevant facts.


An effective answer can also be supplemented with the following response:


When resolving a problem between employees, I serve as a neutral third party. When needed, I establish rules of conduct. For an organization to operate efficiently, employees must be on the same page. At most organizations, bad feelings exist among some employees, so a manager is responsible for ensuring that employees are placed in situations where they're comfortable to focus on their job responsibilities. In other words, employees must be situated around others they can work with so productivity is not affected.

Report Error

View answer Workspace Report Error Discuss

1 2151
Q:

Why we use array_flip

Answer

array_flip exchange the keys with their associated values in array ie. Keys becomes values and values becomes keys.

<?php
$arrayName    = array("course1"=>"php","course2"=>"html");
$new_array    = array_flip($arrayName);
print_r($new_array);
?>

OUTPUT :

Array
(
[php]     => course1
[html]    => course2
)

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2151
Q:

Which package is imported by default?

Answer java.lang package is imported by default even without a package declaration.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2151
Q:

what is the use of virtual destructor in c++?

Answer

A destructor is automatically called when the object is destroyed. A virtual destructor in C++ is used primarily to prevent resource leaks by performing a clean-up of the object.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 2150