Technology Questions

Q:

Which method names follow the JavaBeans standard?

A) addSize B) putDimensions
C) getCust D) deleteRep
 
Answer & Explanation Answer: C) getCust

Explanation:

C use the valid prefixes 'get' and 'is

Report Error

View Answer Report Error Discuss

Filed Under: Java

0 8424
Q:

If you are using C language to implement the heterogeneous linked list, what pointer type will you use?

Answer

The heterogeneous linked list contains different data types in its nodes and we need a link, pointer to connect them. It is not possible to use ordinary pointers for this. So we go for void pointer. Void pointer is capable of storing pointer to any type as it is a generic pointer type.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 8382
Q:

Why do you usually choose to implement SAP?

Answer

There are number of technical reasons numbers of companies are planning to implement SAP. It’s highly configurable, highly secure data handling, min data redundancy, max data consistency, you can capitalize on economics of sales like purchasing, tight integration-cross function.

Report Error

View answer Workspace Report Error Discuss

Subject: SAP

0 8318
Q:

Should a main() method be compulsorily declared in all java classes?

Answer No not required. main() method should be defined only if the source class is a java application.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

10 8262
Q:

Explain electronic payment procedure.

Answer

- The merchant submits a credit card transaction to the Payment Gateway on behalf of a customer via secure connection from a Web site, at retail, from a MOTO center or a wireless device. 


- Payment Gateway receives the secure transaction information and passes it via a secure connection to the Merchant Bank’s Processor. 


- The Merchant Bank’s Processor submits the transaction to the Credit Card Interchange (a network of financial entities that communicate to manage the processing, clearing, and settlement of credit card transactions). 


- The Credit Card Interchange routes the transaction to the customer’s Credit Card Issuer. 


- The Credit Card Issuer approves or declines the transaction based on the customer’s available funds and passes the transaction results, and if approved, the appropriate funds, back through the Credit Card Interchange. 


- The Credit Card Interchange relays the transaction results to the Merchant Bank’s Processor. 


- The Merchant Bank’s Processor relays the transaction results to Payment Gateway. 


- Payment Gateway stores the transaction results and sends them to the customer and/or the merchant. This communication process averages three seconds or less. 


- The Credit Card Interchange passes the appropriate funds for the transaction to the Merchant’s Bank, which then deposits funds into the merchant’s bank account. The funds are typically deposited into your primary bank account within two to four business days.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

9 8257
Q:

How can we display the output directly to the browser?

Answer

To be able to display the output directly to the browser, we have to use the special tags <?= and ?>.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

8 8125
Q:

I want to print "Hello" even before main() is executed. How will you acheive that?

Answer Print the statement inside a static block of code. Static blocks get executed when the class gets loaded into the memory and even before the creation of an object. Hence it will be executed before the main() method. And it will be executed only once.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

6 8104
Q:

JavaScript is designed for following purpose

A) To add interactivity to HTML Pages. B) To Execute Query Related to DB on Server
C) To Style HTML Pages D) To Perform Server Side Scripting Opertion
 
Answer & Explanation Answer: A) To add interactivity to HTML Pages.

Explanation:
Report Error

View Answer Report Error Discuss

0 8055