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


Please Help Members By Posting Answers For Below Questions

Howmany five tracing levels in System.Diagnostics.TraceSwitcher? Why they are using?

725


What is difference between an Structure and Class?

771


What is the base class from which all value types are derived?

708


What is predicate c#?

715


Explain the difference between a sub and a function in c#.

728


How to assign Null value to Var?

738


What is the difference between function and method in c#?

647


What is asp net c# corner?

1010


Is visual c# free?

676


What's the implicit name of the parameter that gets passed into the set method/property of a class?

770


What is use of a HashTable in .NET?

895


Define mutex in C#?

806


What is the difference between protected and internal in c#?

653


How does foreach loop work in c#?

676


Why we use oops in c#?

750