Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What will be the output of the following code snippet?
What will be the output of the following code snippet?
✍: Guest
What will be the output of the following code snippet?
using System;
class MainClass
{
static void Main( )
{
new MainClass().Display( 3.56 );
}
private void Display( float anArg )
{
Console.Write( “{0} {1}â€, anArg.GetType(), anArg );
}
double Display( double anArg )
{
Console.Write( “{0} {1}â€, anArg.GetType(), anArg );
return anArg;
}
public decimal Display( decimal anArg )
{
Console.Write( “{0} {1}â€, anArg.GetType(), anArg ); return anArg;
}
}
* System.Single 3.56
* System.Float 3.56
* System.Double 3.56
* System.Decimal 3.56
System.Double 3.56
2014-09-02, 2038👍, 0💬
Popular Posts:
Example of using Regular Expressions for syntax checking in JavaScript ... var re = new RegExp("^(&a...
Jack developed a program by using a Map container to hold key/value pairs. He wanted to make a chang...
If we have the following in a Java code: String s="abc"; String s2="abc"; Then what will be output o...
Can you explain in brief how can we implement threading ? Private Sub Form1_Load(ByVal sender As Sys...
What Is a LABEL Tag/Element? - XHTML 1.0 Tutorials - Understanding Forms and Input Fields A "label" ...