Right Place For Right PersonTM |
Sponsored Ads |
|
Tolal:22 Click:
1 2 3 4 5 C# Objective Questions And Answers Page 3Question :Which of following is correct:
1. enum Day
{
Sunday= 01,
Monday= 02,
Tuesday= 03,
Wednesday=04,
Thursday= 05,
Friday= 06,
Saturday=07
}
2. Day enum
{
Sunday= 01,
Monday= 02,
Tuesday= 03,
Wednesday=04,
Thursday= 05,
Friday= 06,
Saturday=07
}
3. Day {
Sunday= 01,
Monday= 02,
Tuesday= 03,
Wednesday=04,
Thursday= 05,
Friday= 06,
Saturday=07
}
4.enumeration Day
{
Sunday= 01,
Monday= 02,
Tuesday= 03,
Wednesday=04,
Thursday= 05,
Friday= 06,
Saturday=07
} Post Your AnswerAnswer:1. enum Day
{
Sunday= 01,
Monday= 02,
Tuesday= 03,
Wednesday=04,
Thursday= 05,
Friday= 06,
Saturday=07
}
User Name:Vikas Date:11.03.10 Question : class R4R
{
static void Main( )
{
short s;
System.Console.WriteLine("Initialized: {0}",s);
s = 5;
System.Console.WriteLine("After assignment: {0}",s);
}
}
1. error
2. 2 Initialized:5
3. After assignment:7
4. both 2,3
5. None
Post Your AnswerAnswer:1. error User Name:Shuja Date:11.03.10 Question : class R4R
{
static void Main( )
{
short s = 7;
System.Console.WriteLine("Initialized: {0}",s);
s = 5;
System.Console.WriteLine("After assignment: {0}",s);
}
}
1. error
2. 2 Initialized:5
3. After assignment:7
4. both 2,3
5. None
Post Your AnswerAnswer:4. both 2,3 User Name:Rajesh Kumar Date:11.03.10 Question : class R4R
{
static void Main( )
{
short x;
int y = 500;
x = y;
System.Console.WriteLine("Output:{0}", x);
}
}
1.error
2.Output:500
3.Outpu:{500}
4.None
Post Your AnswerAnswer:1.error User Name:Vikas Date:11.03.10 Question : Which of the follwing is true?
1.byte-->> 1(siz)-->>Byte(as int.net)-->> Unsigned (values 0-255).
2.char-->> 2-->> Char -->>Unicode-->> characters.
3.bool -->>1 -->>Boolean -->>true or false.
4.sbyte-->> 1 SByte-->> Signed -->>(values -128 to 127).
5.short-->> 2-->> Int16-->> Signed -->> short-->> values -32,768 to 32,767
Post Your AnswerAnswer:1,2,3,4,5 User Name:Rajesh Kumar Date:11.03.10 Goto Page: 1 2 3 4 5 C# Objective C# Interview Questions And AnswersC# Interview Questions And Answers C# Subjective Questions And AnswersR4R,C# Objective, C# Subjective, C# Interview Questions And Answers,C#,C# Interview,C# Questions ,C# Answers |
Interview Questions And Answers
Struts interview questions and answers (Subjective) 500 Java Objective Questions and Answer Core Java Objective Questions And Answers Core Java Subjective Questions And Answers Core Java Interview Questions And Answers Core Java Interview Questions and Answers (Subjective) Core Java Interview Questions and Answers( Objective) 50 Servlet interview questions 155 Java Interview Questions EJB Interview Questions and Answers(Subjective) R4R,JSP Interview Questions and Answer(Subjective) R4R,Java Servlets Interview Questions and Answers(Subjective) Core Java Subjective ,Objective and Interview Questions And Answers 275 Core java interview questions Java Objective Questions and Answer Java Architect Interview Questions Applet Interview Questions and Answers Core Java example Servlet Objective Questions And Answers Servlet Subjective Questions And Answers Servlet Interview Questions And Answers JSP Objective Questions And Answers JSP Subjective Questions And Answers JSP Interview Questions And Answers | ||
|
Comments: Give Your Comments: Advertiser PRIVACY POLICY ||User PRIVACY POLICY || R4R Group Srvices |