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 8177
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 8157
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 8089
Q:

The database schema is written in

A) DDL B) HLL
C) DCL D) DML
 
Answer & Explanation Answer: A) DDL

Explanation:

The database schema is written in DDL. A data definition language or data description language (DDL) is a syntax similar to a computer programming language for defining data structures, especially database schemas.

Report Error

View Answer Report Error Discuss

4 8061
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 7998
Q:

What is the importance of having an emulator within the Android environment?

Answer

The emulator lets developers “play” around an interface that acts as if it were an actual mobile device. They can write and test codes, and even debug. Emulators are a safe place for testing codes especially if it is in the early design phase.

Report Error

View answer Workspace Report Error Discuss

4 7824
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 7725
Q:

What are the mandatory part to present in function pointers?

A) & B) retrun values
C) data types D) none of these
 
Answer & Explanation Answer: C) data types

Explanation:

The data types are mandatory for declaring the variables in the function pointers.

Report Error

View Answer Report Error Discuss

Filed Under: C++

1 7721