Interview Questions

Q:

Why do we need wrapper classes in Java?

Answer

Dealing with primitives as objects is easier at times. Most of the objects collection store objects and not primitive types. Many utility methods are provided by wrapper classes. To get these advantages we need to use wrapper classes. As they are objects, they can be stored in any of the collection and pass this collection as parameters to the methods.


 


Features of the Java wrapper Classes:


- Wrapper classes convert numeric strings into numeric values.


- The way to store primitive data in an object.


- The valueOf() method is available in all wrapper classes except Character


- All wrapper classes have typeValue() method. This method returns the value of the object as its primitive type.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 3114
Q:

What are the advantages and the disadvantages of equity finance and debt finance to a company raising finance and investors?

Answer

The advantage of equity finance for a company – raising money by selling shares – is that this money does not have to be repaid. However, new shareholders usually get to have a say in how the company is run. Despite these rights, equity is often seen as a risky choice for investors as they will lose all their money if the company doesn’t prosper. If it does well, on the other hand, they may see their stake multiply in value many times over.


Debt finance – money raised through loans – must be repaid eventually by a company, usually with interest, but lenders won’t be able to exert as much influence as shareholders over how the company does business. The debt of a reliable company is usually seen as a safe investment, but fixed repayment schedules means that there are few opportunities for large returns.

Report Error

View answer Workspace Report Error Discuss

Subject: Bank Interview

0 3112
Q:

All of these are exemptions from local real property taxes EXCEPT :

A) Low-income homeowner's exemption B) Homeowner's exemption
C) Veteran's exemption D) Senior citizen's tax exemption
 
Answer & Explanation Answer: A) Low-income homeowner's exemption

Explanation:

Under state law limited exemptions from local real property taxes for individuals who qualify are senior citizens(blind and disabled persons), who may defer their taxes; Veterans, who receive $4000 off assessed value; and homeowners, who receive $7000 off assessed value.

Report Error

View Answer Report Error Discuss

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

1 3108
Q:

What does a special set of tags do in PHP?

Answer The output is displayed directly to the browser.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 3102
Q:

What is templates in AngularJS?

Answer

Templates are the rendered view with information from the controller and model. These can be a single file like index.html or multiple views in one page using "partials".

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 3096
Q:

What is an explicit constructor?

Answer

A conversion constructor declared with the explicit keyword. The compiler does not use an explicit constructor to implement an implied conversion of types. It’s purpose is reserved explicitly for construction

Report Error

View answer Workspace Report Error Discuss

Subject: C++
Job Role: Software Architect

0 3091
Q:

What is meant by liabilities ?

Answer

Liabilities are what all u owe from the bank on notes payable or in other words it is:

Liability=Asset-Owners equity

what company owes that is liability. liability = Asset-capital

Report Error

View answer Workspace Report Error Discuss

Subject: Accounts Payable

4 3089
Q:

What are the features of C++ different from C?

Answer

All the features of C are similiar to C++ except some features, such as polymorphism, operator overloading which are supported in C++ but not in C language.

Both C and C++ language is similiar in their functionality but C++ provides with more tools and options.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 3088