Interview Questions

Q:

When do you override hashcode and equals() ?

Answer

HashCode method return int value. So the Hash value is the int value returned by the hash function .


If you want to do equality check or want to use your object as key in HashMap, we must override hashcode and equals() method.

Report Error

View answer Workspace Report Error Discuss

Subject: Java
Job Role: Analyst , IT Trainer

5 3195
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 3190
Q:

What is advertising?

Answer

Advertising is defined as a paid form of communication that reaches the target audience through mass media to provide product/service and brand related information.  

Report Error

View answer Workspace Report Error Discuss

2 3190
Q:

Bank Reconciliation Statement is prepared by

Answer

The Accountant typically prepares the Bank Reconciliation Statement using all transactions.


 


Bank Reconciliation Statement :


Bank reconciliation is a process which prepares a statement accounting for the difference between the cash balance in the cash account of a company and the cash balance according to its bank statement. This statement can help a company to verify that its bank account ending balance per the bank matches the balance on hand per the company's general ledger.

Report Error

View answer Workspace Report Error Discuss

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

5 3189
Q:

What do you mean by ‘cheque endorsing’?

Answer

‘Endorsing cheque’ ensures that the cheque get deposited into your account only. It minimizes the risk of theft. Normally, in endorsing cheque, the cashier will ask you to sign at the back of the cheque. The signature should match the payee. The image over here shows the endorsed cheque.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Bank Interview

0 3187
Q:

What is the impact of declaring a method as final?

Answer A method declared as final can't be overridden. A sub-class can't have the same method signature with a different implementation.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 3183
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 3181
Q:

What is anonymous FTP and why would you use it

Answer

Anonymous FTP enables users to connect to a host without using a valid login and password. Usually, anonymous FTP uses a login called anonymous or guest, with the password usually requesting the user's ID for tracking purposes only. Anonymous FTP is used to enable a large number of users to access files on the host without having to go to the trouble of setting up logins for them all. Anonymous FTP systems usually have strict controls over the areas an anonymous user can access

Report Error

View answer Workspace Report Error Discuss

1 3178