Technology Questions

Q:

Echo vs print statement

Answer

echo() and print() are language constructs in PHP, both are used to output strings. The speed of both statements is almost the same.


echo() can take multiple expressions whereas print cannot take multiple expressions.


Print return true or false based on success or failure whereas echo doesn't return true or false.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2486
Q:

I do not want my class to be inherited by any other class. What should i do?

Answer You should declared your class as final. But you can't define your class as final, if it is an abstract class. A class declared as final can't be extended by any other class.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2485
Q:

Can a class be declared as protected?

Answer A class can't be declared as protected. only methods can be declared as protected.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2484
Q:

What is DCLGEN?

Answer

DeCLarations GENerator : used to create the host language copy books for the table    definitions. Also creates the DECLARE table.

Report Error

View answer Workspace Report Error Discuss

0 2477
Q:

Are objects passed by value or by reference?

Answer Everything is passed by value.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2475
Q:

What command would you type in at a command prompt to view the IP address of the remote computer?

Answer

Ping


Netstat

Report Error

View answer Workspace Report Error Discuss

0 2470
Q:

What are the core BI tools that professionals work with? Which ones have you used?

Answer

SSIS, SSAS and SSRS are the most important reporting systems that BI professionals work with. On a detailed level, I have worked with data mining, master data management, data profiling and data cleansing and analysis.

Report Error

View answer Workspace Report Error Discuss

0 2469
Q:

What is the difference between a regular bitmap and a nine-patch image?

Answer

In general, a Nine-patch image allows resizing that can be used as background or other image size requirements for the target device. The Nine-patch refers to the way you can resize the image: 4 corners that are unscaled, 4 edges that are scaled in 1 axis, and the middle one that can be scaled into both axes.


 

Report Error

View answer Workspace Report Error Discuss

0 2469