Interview Questions

Q:

Which kind of inheritance is not supported directly through classes in java?

A) Multilevel B) Multiple
C) Single D) Hirarcheal
 
Answer & Explanation Answer: B) Multiple

Explanation:

Multiple inheritance is not supported directly but it is achieved through the concept of Interface

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: Software Architect

0 3353
Q:

What is the difference in responsibilities of Programmers and QA analyst?

Answer

The differences in responsibilities are listed below:


 


- QA is concern for Process Quality and Programmers are concern for Product Quality.


- QA ensure that the processes used for developing the product of high quality where as programmers used these processes so that end product is of good quality.


- Processes are decided by QA. Programmers are supposed to follow the processes so that they can produce a good quality product.


- Any issue found during execution of process by the programmers is communicated to the QA so that they can improve the process.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 3352
Q:

What is accounts receivable aging?

Answer

An accounts receivable aging is a report that lists unpaid customer invoices and unused credit memos by date ranges. A typical aging report lists invoices in 30-day "buckets," where the left-most column contains all invoices that are 30 days old or less, the next column contains invoices that are 31-60 days old, the next column contains invoices that are 61-90 days old, and the final column contains all older invoices. The report is sorted by customer name, with all invoices for each customer itemized directly below the customer name, usually sorted by either invoice number or invoice date. A sample report follows, though without the individual invoice detail that is usually found in such a report:


Customer Name 


Total A/R 0-30


Days 31-60


Days 61-90


Days 90+


Days


Abercrombie $15,000 $10,000 $5,000 


Bufford Inc. 29,000 20,000 9,000 


Chesterton Co. 83,000 47,000 21,000 12,000 3,000


Denver Brothers 8,000 8,000


Totals $135,000 $57,000 $46,000 $21,000 $11,000


If the report is generated by an accounting software system (which is usually the case), then you can usually reconfigure the report for different date ranges. For example, if your payment terms are net 15 days, then the date range in the left-most column should only be for the first 15 days. This drops 16-day old invoices into the second column, which highlights that they are now overdue for payment.


The report primarily contains invoices, but it may also contain credit memos that have not been used by customers, or which have not yet been matched against an unpaid invoice.


The aging report is the primary tool used by collections personnel to determine which invoices are overdue for payment, and which therefore require them to contact customers. Given its use as a collection tool, the report may be configured to also contain contact information for each customer.


The aging report is also used as a tool for estimating potential bad debts, which are then used to revise the allowance for doubtful accounts. The usual method for doing so is to derive the historical percentage of invoice dollar amounts in each date range that usually become a bad debt, and apply these percentages to the column totals in the most recent aging report.


An additional use of the aging report is by the credit department, which can view the current payment status of any outstanding invoices to see if customer credit limits should be changed. This is not an ideal use of the report, since the credit department should also review invoices that have already been paid in the recent past. Nonetheless, the report does give a good indication of the near-term financial situation of customers.

Report Error

View answer Workspace Report Error Discuss

0 3351
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 3349
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 3349
Q:

Managing direct and online marketing :

What is direct marketing? Give some examples.

Answer

In direct marketing, there is a direct interaction of the customers with the seller without any intermediaries. Here, the role of the intermediaries is nil. The medium used is more direct using telephone, mail, internet where the seller can directly reach out to the consumer. Examples of such marketing include telemarketing, email, voicemail marketing, door-to-door selling etc. This kind of marketing is more time saving as the problem of distance which may otherwise exist between the buyer and seller is eliminated and is also cost effective as it minimizes commuting costs.

Report Error

View answer Workspace Report Error Discuss

0 3348
Q:

How to upload struts file in DHTML?

Answer

The interface org.apache.struts.upload.FormFile is used for the struts file upload application. This interface represents a file that has been uploaded by a client. It is the only interface or class in upload package which is typically referenced directly by a Struts application.


This is not specific to Struts in case of DHTML but the two things that are needed in DHTML page is: first, the form needs to specify an enctype of multipart/form-data and second an <input> form control of type file.


Following are the steps to load file in DHTML:


- Creating a bean


- Writing the ActionClass.


- Mapping the bean in struts-config.xml


- Defining actionmapping


- Developing the DHTML page.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

1 3340
Q:

What are string functions in VBScript?

Answer

Asc() - Returns ANSI Character Code 


Chr() - Returns Character from ANSI Code 


InStr() - Find a string within another 


InStrRev() - Find a string within another (Reverse) 


LCase() - Convert a string to lowercase 


Left() - Crops a string from left 


Len() - Determine the length of a string 


LTrim() - Remove leading spaces from a string 


Mid() - Crops a string 


Replace() - Replace a substring within a string 


Right() - Crops a string from right 


RTrim() - Remove trailing spaces from a string 


Space() - Creates a string with the specified number of spaces 


StrComp() - Compare two strings 


String() - Creates a repeated character string 


StrReverse() - Reverse the characters of a string 


Trim() - Remove both leading and trailing spaces from a string 


UCase() - Convert a string to uppercase 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

5 3340