hi i m bhawna ,a student of mca want to know about what type of technical question has been asked in an interview of mnc's like HCL,TCS,WIPRO
1 2447There are a class A. Another class B derived from it. Now if I do A a = new B(); and B b = new B(); What will happen in both the statements. And what is the difference between these two statements.
3 6861class Program { void add() { int x=10, y=20; fun(); Console.WriteLine("{0}", sum); } void fun() { int sum; sum = x + y; } static void Main(string[] args) { Program f =new Program(); f.add(); } } Debug above program.....
3 5531What is the Use Of Interfaces? For example I have a interface as shown below? Interface IMyInterface { public void MyMethod(); } class MyClass : IMyInterface { public void Mymethod() { Some Code } } class Program { static void Main(string[] args) { MyClass obj = new MyClass(); obj.MyMethod(); } } Here What is My Question is? If i remove Interface and run this code, it will executed then what is the Use of the interface? Can any one give me the solution for this Problem? Thanks in Advance!
1 4639Integer at long type variable are not object.Support your answer with example.And explain the technique to convert from value type to reference type and vice-versa.
1 4282In languages without exception-handling facilities, we could send an error-handling procedure as a parameter to each procedure that can detect errors that must be handled. What disadvantages are there to this method?
1038Post New HCL C Sharp Interview Questions
What are the benefits of facades?
What is hidden field?
"11101111" when that bit oriented message transmitting from sender to receiver.how is it calculate parity bit and how is it show bit stream that would be transmitted..by even parity error detection scheme..pls send me an answer..very important,,
What is the xml datatype?
How do you calculate the power of centrifugal pump?
What are some of the uses of Bluetooth?
What is sap query?
Where do I find start menu?
What is multilingual?
What is the zone in DNS?
hi buddies pl send me some banking projects with description my id 'prads19@rediffmail.com'
How do I repair a program in control panel?
Explain Null handling in Talend?
What is the difference between dynamic and var in c#?
What is 4-Hydroxy isoleucine?