Interview Questions

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

Compounding interest means interest accrues

A) at variable rates throughout the term B) more quickly than simple interest
C) more slowly than simple interest D) at the same rate as simple interest
 
Answer & Explanation Answer: B) more quickly than simple interest

Explanation:

Compounding interest means interest accrues on the interest charged and the principal amount each period the interest is charged.

Compound interest is calculated by multiplying the principal amount by one plus the annual interest rate raised to the number of compound periods minus one.The total initial amount of the loan is then subtracted from the resulting value.

The formula for calculating compound interest is:

[P (1 + i)n] – P

= P [(1 + i)n – 1]

(Where P = Principal, i = nominal annual interest rate in percentage terms, and n = number of compounding periods.)


Take a three-year loan of Rs. 10,000 at an interest rate of 5% that compounds annually. What would be the amount of interest? In this case, it would be:

Rs. 10,000 [(1 + 0.05)3] – 1

= 10,000 [1.157625 – 1]

= Rs. 1,576.25.

 

How it grows ::

 

compound_interest1532497613.jpg image

 

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

What is the difference between an Interface and an Abstract class ?

Answer

1.Main difference is methods of a Java interface are implicitly abstract and cannot have implementations. A Java abstract class can have instance methods that implements a default behavior.


2.Variables declared in a Java interface is by default final. An abstract class may contain non-final variables.


3.Members of a Java interface are public by default. A Java abstract class can have the usual flavors of class members like private, protected, etc..


4.Java interface should be implemented using keyword “implements”; A Java abstract class should be extended using keyword “extends”.


5.An interface can extend another Java interface only, an abstract class can extend another Java class and implement multiple Java interfaces.


6.A Java class can implement multiple interfaces but it can extend only one abstract class.


7.Interface is absolutely abstract and cannot be instantiated; A Java abstract class also cannot be instantiated, but can be invoked if a main() exists.


8.In comparison with java abstract classes, java interfaces are slow as it requires extra indirection.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1988
Q:

Credit sales are recorded as

A) Accounts Receivable B) Accounts Payable
C) Both A & B D) None of the above
 
Answer & Explanation Answer: A) Accounts Receivable

Explanation:
Report Error

View Answer Report Error Discuss

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

1 1987
Q:

Mention the difference between clustered and a non-clustered index?

Answer

- A clustered index is a special type of index that reorders the way records in the table are physically stored. Therefore table can have only one clustered index.


- A non clustered index is a special type of index in which the logical order of the index does not match the physical stored order of the rows on disk. The leaf node of a non clustered index does not consist of the data pages. Instead, the leaf nodes contain index rows.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 1986
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 1984
Q:

Tell me the importance of a flow chart?

Answer

The flow chart gives a clear graphical representation of an implemented process. This makes the system simple to understand for all persons involved in the project. 


 

Report Error

View answer Workspace Report Error Discuss

0 1981
Q:

What are transaction isolation levels supported by Oracle?

Answer

Oracle supports 3 transaction isolation levels: 


- Read committed (default)


- Serializable transactions


- Read only

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

1 1981