Interview Questions

Q:

What is the purpose of the wait(), notify(), and notifyAll() methods ?

Answer

The wait(), notify(), and notifyAll() methods are used to provide an efficient way for threads to wait for a shared resource. When a thread executes an object's wait() method, it enters the waiting state. It only enters the ready state after another thread invokes the object's notify() or notifyAll() methods..

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2179
Q:

What are the general deductions made while doing payroll for an employee in an organization?

Answer

Professional Tax


ESI


PF


Recoveries


Advances if any

Report Error

View answer Workspace Report Error Discuss

0 2176
Q:

What do you like to do when you're not at work?

Answer

Be sure to emphasize those activities that may complement your on-the-job duties. For Example, if you're applying for a  position as a book-store manager, mentioning that you read three books per a week is highly appropriate. 

Report Error

View answer Workspace Report Error Discuss

0 2176
Q:

What is the difference between "==" and "==="?

Answer

"==" checks equality only,
"===" checks for equality as well as the type.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2176
Q:

Explain how to create users through SQL PLUS.

Answer

We need to first login to the data base as: SQLPLUS followed by user_name/password. Then we need to execute the following query:


CREATE USER user_name IDENTIFIED BY abcd; in this query a user_name suggest the user that is created which has a password abcd which is required for login in database.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2175
Q:

Are you comfortable offering our charge account to customers?

Answer

A candidate should not be shy here. Someone who tells you that they are uncomfortable when being solicited for proprietary charges by other retailers will not be successful in your organization. If that is something that you as a candidate struggle with, make sure that you portray your desire to succeed. Tell the employer that it is something that you are gaining skills on, and would love the opportunity to perfect your script.

Report Error

View answer Workspace Report Error Discuss

Subject: Retail

0 2173
Q:

Which of the following statements is true concerning subqueries?

A) Does not start with the word SELECT. B) Involves the use of an inner and outer query.
C) Cannot return the same result as a query that is not a subquery. D) All of the above
 
Answer & Explanation Answer: B) Involves the use of an inner and outer query.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: SQL
Job Role: Analyst , Database Administration , IT Trainer

0 2171
Q:

How to create Directory on the HD?

Answer

To create directory on the HD we use mkDir() method:


boolean mkDir();


This method returns true if the directory is created on HD


This method returns false if the directory is already existing on HD

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2170