Classes and Objects - Programming

Q1:

Which of the following will be the correct output for the C#.NET program given below?
namespace AptitudeCrackConsoleApplication
{ 
    class Sample
    { 
        int i; 
        Single j; 
        public void SetData(int i, Single j)
        { 
            this.i = i; 
            this.j = j;
        }
        public void Display()
        { 
            Console.WriteLine(i + ' ' + j);
        } 
    } 
    class MyProgram
    { 
        static void Main(string[ ] args)
        {
            Sample s1 = new Sample(); 
            s1.SetData(36, 5.4f); 
            s1.Display(); 
        } 
    } 
}

A 0 0.0

B 36 5.4

C 36 5.400000

D 36 5

E None of the above

ANS:B - 36 5.4

No answer description is available. Let's discuss.