Interview Questions

Q:

How do you traverse through a collection using its Iterator?

Answer

To use an iterator to traverse through the contents of a collection, follow these steps:


- Obtain an iterator to the start of the collection by calling the collections iterator() method.


- Set up a loop that makes a call to hasNext(). Have the loop iterate as long as hasNext() returns true.


- Within the loop, obtain each element by calling next().

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2079
Q:

What is web portal?

Answer

Web portal is a business gateway, It organizes business operations.


Ex: Online shopping portals, Job portals etc...


 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2078
Q:

What is top level class?

Answer

Top level class is also called outer class. It is not defined inside any class.


Ex:


class A {  //top level class


 


}

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2077
Q:

Standard deviation measures which type of risk?

A) Non diversifiable B) Economic
C) Systematic D) Total
 
Answer & Explanation Answer: D) Total

Explanation:

Standard deviation measures total risk in stocks.

Report Error

View Answer Report Error Discuss

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

1 2075
Q:

Which of the following can increase your credit card’s APR?

A) making credit card payments B) missing credit card payments
C) not using credit card for long time D) All of the above
 
Answer & Explanation Answer: B) missing credit card payments

Explanation:

APR means Annual Percentage Rate. Creditcards apr can be increased when you missed credit card payments.

Report Error

View Answer Report Error Discuss

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

0 2075
Q:

What is Constructor?

Answer

Constructor is not a special method.


Constructor is block of code that is executed automatically whenever object of the class is created.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2074
Q:

In which of the following cases will total revenue increase?

A) Price rises and demand is inelastic B) Price falls and supply is inelastic
C) Price rises and demand is elastic D) Price falls and demand is inelastic
 
Answer & Explanation Answer: A) Price rises and demand is inelastic

Explanation:

In the case of, "Price rises and demand is inelastic", the total revenue increases.

Report Error

View Answer Report Error Discuss

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

1 2072
Q:

What are the Advantages of PL/SQL?

Answer

- Because of the block nature, multiple statements are processed at once thereby improving performance. 


- PL/SQL handles exceptions on catching which, action can be taken. 


- PL/SQL is highly portable as it works with all procedural languages and is highly secured because of privileges.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2072