Technology Questions

Q:

What is the diff between RDO and ADO?

Answer

RDO is Hierarchy model where as ADO is Object model. ADO can access data from both flat files as well as the data bases. I.e., It is encapsulation of DAO, RDO , OLE that is why we call it as OLE-DB Technology. 

Report Error

View answer Workspace Report Error Discuss

7 2939
Q:

How to define a constant variable in Java?

Answer The variable should be declared as static and final. So only one copy of the variable exists for all instances of the class and the value can't be changed also.
static final int PI = 2.14; is an example for constant.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 2937
Q:

Explain include(), include_once, require() and require_once.

Answer

include()
The include() function takes all the content in a specified file and includes it in the current file. If an error occurs, the include() function generates a warning, but the script will continue execution.

include_once()
File will not be included more than once. If we want to include a file once only and further calling of the file will be ignored then we have to use the PHP function include_once().

require()
The require() function is identical to include(), except that it handles errors differently. The require() generates a fatal error, and the script will stop.

require_once()
The required file is called only once when a page is open and further calling of the file will be ignored.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2933
Q:

Explain one-definition rule (ODR).

Answer

According to one-definition rule, C++ constructs must be identically defined in every compilation unit they are used in. 


As per ODR, two definitions contained in different source files are called to be identically defined if they token-for-token identical. The tokens should have same meaning in both source files. 


Identically defined doesn’t mean character-by-character equivalence. Two definitions can have different whitespace or comments and yet be identical.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 2932
Q:

What is the difference between Property Get, Set and Let?

Answer

Set - Value is assigned to ActiveX Object from the form.


Let - Value is retried to ActiveX Object from the form.


Get - Assigns the value of an expression to a variable or property.

Report Error

View answer Workspace Report Error Discuss

2 2931
Q:

Does the order of public and static declaration matter in main() method?

Answer No. It doesn't matter but void should always come before main().
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2927
Q:

What is the use of controller object UIApplication?

Answer

Controller object UIApplication is used without subclassing to manage the application event loop.


It coordinates other high-level app behaviors. 


It works along with the app delegate object which contains app-level logic.

Report Error

View answer Workspace Report Error Discuss

2 2926
Q:

What are defaults? Is there a column to which a default can’t be bound?

Answer

A default is a value which will be used by a column, if no value is supplied to that column while inserting data.


Yes, IDENTITY and TIMESTAMP columns are free from the bounds of default.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 2925