Technology Questions

Q:

Why static method can not call non static method of the same class?

Answer

bcoz the static method does not contains the 'this' reference.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2765
Q:

How do you display last 5 records in DB2?

Answer

SELECT * FROM table_name ORDER BY column_name desc Fetch first 5 rows only;

Report Error

View answer Workspace Report Error Discuss

0 2763
Q:

What are the main components of .NET Framework?

Answer

.NET Framework provides enormous advantages to software developers in comparison to the advantages provided by other platforms. Microsoft has united various modern as well as existing technologies of software development in .NET Framework. These technologies are used by developers to develop highly efficient applications for modern as well as future business needs. The following are the key components of .NET Framework:

 =>   .NET Framework Class Library
 =>   Common Language Runtime
 =>   Dynamic Language Runtimes (DLR)
 =>   Application Domains
 =>   Runtime Host
 =>   Common Type System
 =>   Metadata and Self-Describing Components
 =>   Cross-Language Interoperability
 =>  .NET Framework Security
 =>   Profiling
 =>   Side-by-Side Execution

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2763
Q:

Write the basic syntax of a LINQ query in Visual Basic as well as in C#.

Answer

In Visual Basic, the basic syntax of a LINQ query starts with the From clause and ends with the Select or Group By clause. In addition, you can use the Where, Order By, and Order By Descending clauses to perform additional functions, such as filtering data and generating the data in a specific order.

In C#, the basic syntax of a LINQ query starts with the From clause and ends with the Select or group by clause. In addition, you can use the where, orderby, and Orderby descending clauses to perform additional functions, such as filtering data and generating the data in a specific order.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2760
Q:

When do you use UPDATE_STATISTICS command?

Answer

This command is used when a large processing of data has occurred. If any large amount of deletions, any modifications, or Bulk Copy into the tables has occurred, it has to update the indexes to take these changes into account. UPDATE_STATISTICS updates the indexes on these tables accordingly.


 

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 2752
Q:

What is UNION , UNION ALL?

Answer

Both these are used to combine the results of different SELECT statements.


    UNION       - Selects only distinct values 


    UNION ALL - Selects duplicate values also


 


Syntax:


    SELECT column_name(s) FROM table1


    UNION / UNION ALL


    SELECT column_name(s) FROM table2;


Notice that each SELECT statement within the UNION must have the same number of columns. The columns must also have similar data types. Also, the columns in each SELECT statement must be in the same order.


 

Report Error

View answer Workspace Report Error Discuss

0 2752
Q:

What is Cascade and Drill Through? What is the difference between them?

Answer

Cascade:


- Cascade process involves taking values from various other prompts.


- The result is a single report.


- The result is used when a criteria is to be implemented.


 


Drill Through:


- Drill Through process is implemented when navigation from summary to detailed information.


- Drill Through has a parent and a child report.


- Data of another report can be seen based on the current details of data.

Report Error

View answer Workspace Report Error Discuss

0 2750
Q:

Webpages are written using

A) Win Zip B) HTML
C) A fifth generation language D) Peripherals
 
Answer & Explanation Answer: B) HTML

Explanation:

Webpages are written using HTML, (Hyper Text Marup Language). It is used for creating web applications that can be accessed over internet which contain text, graphics and hyperlinks.

Report Error

View Answer Report Error Discuss

6 2747