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
Define Abstract Class in C#
Can we have 2 main methods in c#?
What is the difference between c and c# programming?
What is the difference between array and arraylist c#?
Explain the difference between abstract class and interface in .net?
How to create multi-dimensional array?
What are the benefits of using the aggregate method in linq?
What is xaml in c#?
Which constructor is called first in c#?
What are anonymous types in c#?
What is the delegates in c#?
How will you allow a class to be inherited, but prevent the method from being over-ridden?
What does the keyword “virtual†declare for a method or property?
What is .net c#?
Is array ienumerable c#?