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 2523There 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 6981class 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 5700What 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 4731Integer 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 4345In 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?
1111Post New HCL C Sharp Interview Questions
How can I evaluate the thermal relief requirements for double block-in of 98% sulfuric acid?
Can you please explain the difference between load-time dynamic linking and run-time dynamic linking?
How does sublist works in java?
How do I take advantage of table partitioning with bcp in sybase?
For f = AB+CD if B is S-a-1, what are the test vectors needed to detect the fault?
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?
Windows pe is the latest version of the ms-dos operating system?
How does the ration analysis help in depicting profit and loss
What is difference between limit state and working stress method? How it is applies in building structure.
what maximum range of star & delta in hp or kw ?
What are the advantages of the three-phase motor over single phase motor?
List the various oracle database objects?
How are the terms "platform independent" and "diverse application" are related to each other in the context of xml-rpc?
construction workers how much time take one work or qty
hello if any one have papers vof hpcl or sail, plz send me