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 2187
Q:

________ intended to address issues such as bugs and errors within existing software.

A) Fix B) BugFix
C) CodeFix D) HotFix
 
Answer & Explanation Answer: D) HotFix

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Cloud Computing
Job Role: Analyst , IT Trainer

1 2186
Q:

Explain foreign key constraint.

Answer

A foreign key is a reference to another table. It is used to establish relationships between tables. For example, relationship between employee and professor table. One employee can have multiple professors. The Primary key of employee becomes foreign key of professor.
Example:
create table employee ( id number NOT NULL, professor_id NOT NULL, Name varchar(200) Constraint prim_id Foreign key(id) references professor(professor_id) );

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2186
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 2186
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 2183
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 2183
Q:

As a wholesaler what are the problems you would face in ensuring the commitment to your retail suppliers?

Answer

As a wholesaler, applicant should say that he/she would face production problem, growing consumption, not concentrating on important market segment, scale of operations not being proper, delivery to different stores and having some issues with suppliers and not a good relationship with suppliers. I would face these problems in reaching the target commitment to suppliers as a wholesaler.

Report Error

View answer Workspace Report Error Discuss

Subject: Retail

1 2181
Q:

Name the framework that is used to construct application’s user interface for iOS.

Answer

The UIKit framework is used to develop application’s user interface for iOS. UIKit framework provides event handling, drawing model, windows, views, and controls specifically designed for a touch screen interface.

Report Error

View answer Workspace Report Error Discuss

Subject: IOS

1 2181