FOR EXAMPLE : CLASS Dotnet { } creating object: Dotnet dn=new
Dotnet(); NOW THE QUESTION IS WHICH IS CALLED AS OBJECT ?
EITHER dn OR new Dotnet() and CAN YOU PROVE YOUR ANSWER?????
PLEASE REPLY...
Answer Posted / satya
in Dotnet dn=new Dotnet(); here Dotnet dn creates a
reference variable(LHS) and new Dotnet(); creates an object.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can interface inherit class in c#?
Explain the difference between object type and dynamic type variables in c#?
How can I get the ascii code for a character in c#?
What is meant by console programming?
How do you type a null character?
What is attribute c#?
What is field in c#?
Is c# slower than java?
Is java better than c sharp?
What is default value of enum c#?
Expalin the way you implement inheritance by using VB.NET/C#?
Write a sample code to write the contents to text file in c#?
How do partial classes work in c#?
Why do we need to serialize data?
Define multicast delegate in c#?