Technology Questions

Q:

Which of the following statements about inheritance is false?

A) Inheritance allows you to minimize the amount of duplicate code in an application by sharing common code among several subclasses. B) A subclass inherits all the members (fields, methods, and nested classes) from its superclass.
C) Through inheritance, a parent class is a more specialized form of the child class. D) Inheritance allows you to reuse the fields and methods of the super class without having to write them yourself.
 
Answer & Explanation Answer: C) Through inheritance, a parent class is a more specialized form of the child class.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: Analyst , Database Administration , IT Trainer

6 5050
Q:

Difference between clustering and mirroring .

Answer

- Clustering means one than one database server configured for the same user connection. When users connect, one of the server’s responds and connects based on availability. The user is completely ignorant of the fact that there are more than one database servers. It demands high cost due to infrastructure needs. Clustering is hence done on server level.


- Mirroring means, one has many configured databases on the same server. Mirrors are basically copies of the original database. Mirroring is hence done on database level. 

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

3 5042
Q:

Difference between Stack and Queue

Answer

Stack is a collection of objects that works in LIFO (Last in First out) mechanism while Queue is FIFO (First in First out). This means that the object that is inserted first is removed last in a stack while an object that is inserted first is removed first in a queue.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 5027
Q:

What is mandatory for designing a new container?

A) Classes B) Iterators
C) Container D) None of these
 
Answer & Explanation Answer: B) Iterators

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

0 5027
Q:

Explain the basic difference between Intra partition TDQ and Extra partition TDQ?

Answer

INTRA PARTITION TD QUEUE : It is a goup of sequential records which are produced by the same and / or different transaction within a CICS region. These Qs are stored in only one physical file (VSAM) in a CICS region, which is prepared by the system programmer. Once a record is read from a queue, the record will be logically removed from the queue.


EXTRA PARTITION TD QUEUE:  It is a group of sequential record which interface between the transaction s of the CICS region and the systems outside of CICS region. Each of there TDQs is a separate physical file, and it may be on the disk, tap, printer or plotter.

Report Error

View answer Workspace Report Error Discuss

0 5019
Q:

HTML language is a set of markup

A) Groups B) Attributes
C) Tags D) Sets
 
Answer & Explanation Answer: C) Tags

Explanation:

HTML language is a set of markup tags. The code used to specify the formatting are called tags. Markup languages are designed for the processing, definition and presentation of text. The language specifies code for formatting, both the layout and style, within a text file. 

 

HTML is an example of a markup language to improve the appearance of, and link text with data on the internet.

Report Error

View Answer Report Error Discuss

1 4999
Q:

Difference between ActiveX Exe and Dll ?

Answer

ActiveX DLL:


It is an in process server. It runs within the application time.


ActiveX Exe:


It is an out of process server. MS-Excel is an activex exe.


when u call the excel from the vb application u can in the task manager an excel exe will run, whereas for dll u can't see like that.

Report Error

View answer Workspace Report Error Discuss

3 4965
Q:

Can we use include ("xyz.PHP") two times in a PHP page "index.PHP"?

Answer

    Yes we can use include("xyz.php") more than one time in any page. but it create a prob when xyz.php file contain some funtions declaration then error will come for already declared function in this file else not a prob like if you want to show same content two time in page then must incude it two time not a prob

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 4954