Technology Questions

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 2385
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 2384
Q:

What is the difference between XML and HTML?

A) HTML is used for exchanging data, XML is not B) XML is used for exchanging data, HTML is not
C) HTML can have user defined tags, XML cannot D) XML can have user defined tags, HTML cannot
 
Answer & Explanation Answer: B) XML is used for exchanging data, HTML is not

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

0 2381
Q:

What is the advantage of using ADO?

Answer

ADO or Active X Data objects, allows developers to create applications that can interoperate well with other data application services.

Report Error

View answer Workspace Report Error Discuss

0 2380
Q:

Client code having direct access to internal data is called

A) Encapsulation B) DataHiding
C) Polymorphism D) DataAbstraction
 
Answer & Explanation Answer: B) DataHiding

Explanation:

Client code must use setters and getters to access internal data in DataHiding

Report Error

View Answer Report Error Discuss

Filed Under: Java

0 2380
Q:

Difference between transparent tables and pooled tables

Answer

Transparent tables: Transparent tables in the dictionary has a one-to-one relation with the table in database. Its structure corresponds to single database field. Table in the database has the same name as in the dictionary. Transparent table holds application data.



Pooled tables: Pooled tables in the dictionary has a many-to-one relation with the table in database. Table in the database has the different name as in the dictionary. Pooled table are stored in table pool at the database level.

Report Error

View answer Workspace Report Error Discuss

Subject: ABAP

0 2379
Q:

What is TDD ?

Answer

TDD is an acronym for Test-Driven Development. TDD is a software development process that relies on the repetition of a very short development cycle: first the developer writes an (initially failing) automated test case that defines a desired improvement or new function, then produces the minimum amount of code to pass that test.


TDD is an iterative software development process where you first write the test with the idea that it must fail.


This is a different approach to the traditional development where you write the application functionality first andthen write test cases. The major benefit of this approach is that the code becomes thoroughly unit tested (you canuse JUnit or other unit testing frameworks).

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

2 2376
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 2376