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

What is the BEST WAY to write test cases?

Answer

1) List down usecases (taken from business cases) from function specs. For each use case write a test case and categorize them into sanity tests, functionality, GUI, performance etc. Then for each test case, write its workflow. 


2) For a GUI application - make a list of all GUI controls. For each control start writing test cases for testing of the control UI, functionality (impact on the whole application), negative testing (for incorrect inputs), performance etc. 


 

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 3118
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 3115
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 3110
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 3098
Q:

Explain the difference between data mining and data warehousing.

Answer

Data mining is a method for comparing large amounts of data for the purpose of finding patterns. Data mining is normally used for models and forecasting. Data mining is the process of correlations, patterns by shifting through large data repositories using pattern recognition techniques.


Data warehousing is the central repository for the data of several business systems in an enterprise. Data from various resources extracted and organized in the data warehouse selectively for analysis and accessibility.

Report Error

View answer Workspace Report Error Discuss

0 3096
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 3096
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 3096