Interview Questions

Q:

How would you automatically transfer your visitors to a new web page?

Answer

- You can do it with the help of meta tag mentioned below: 


<META HTTP-EQUIV="Refresh" CONTENT="2"; URL="https://www.yoursite.com"> 


- Place this tag between <HEAD></HEAD> . 


- It will load yousite.com in 2 seconds.

Report Error

View answer Workspace Report Error Discuss

0 1886
Q:

What type of account is accounts receivable?

A) Asset B) Liability
C) Expense D) Equity
 
Answer & Explanation Answer: A) Asset

Explanation:

Accounts receivable is listed as a current asset in the balance sheet, since it is usually convertible into cash in less than one year as it is the amount owed by the customer to the seller.

 

Report Error

View Answer Report Error Discuss

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

0 1885
Q:

How does a try statement determine which catch clause should be used to handle an exception?

Answer

When an exception is thrown , the catch block of the try statement are examined in the order in which they appear. The first catch block that is capable of handling the exception is executed. The remaining catch blocks are ignored

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1885
Q:

What is the security mechanism used in java?

Answer

Java uses sand box security model.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1884
Q:

What strategies would you use to motivate your team?

Answer

Here is an example statement to consider as you prepare your answer.


On motivating others by using recognizing their achievements: I consider that recognizing good aspects of worker performance is critical to motivating maximum people. For example, I control a staff of 10 employees, and I observed that one of the workers was somewhat introverted and tended to stop in the background. He achieved correctly but was reluctant to contribute at meetings, and I thought he could be extra productive if optimally motivated. I commenced an each day ritual of supervising in with him and checking his output. I provided good feedback concerning  his daily achievements. I discovered that the quantity and quality of his output increased as I interacted with him more regularly. I was able to call upon him at meetings considering that I understood the details of his work better and ask him to share few of his successful strategies with colleagues.

Report Error

View answer Workspace Report Error Discuss

Subject: Team Work

6 1883
Q:

What is different among String, StringBuffer, StringBuilder?

Answer

String class objects are immutable objects and they represents strings( sequence of characters)


StringBuffer class objects are mutable objects representing strings and they are Thread safe


StringBuild class objects are also mutable objects representing strings and they are not Thread safe

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1883
Q:

What are Cursors? Explain Types of cursors in PL/SQL

Answer

Cursors help you manipulate the information retrieved by select statements. This can be done by assigning a name to the cursor.


Example:


CURSOR emp_cur 


IS 


SELECT emp_number from employee_tbl where employee_name = name_in;


Types of Cursors:


Implicit cursors- These cursors are not declared by the programmer. They are issued when the SQL statement is executed. The open, close and fetching is done by itself.


Example:


UPDATE employee SET salary = salary * 2.1;


Here, an implicit cursor is issued to identify the set of rows in the table which would be affected by the update.


 


Explicit cursors- These cursors are defined by programmer. They are used in queries that return multiple rows.


Example:


CURSOR emp_cur 


IS 


SELECT emp_number from employee_tbl where employee_name = name_in;

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

1 1883
Q:

How do you create a new object in JavaScript?

Answer

var obj = new Object(); or var obj = {};

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1883