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

Explain the term inheritance in C#.

611


Explain About namespaces

647


What are delegates and why are they required?

587


How do I create a multilanguage, single-file assembly?

580


What is transparent caching with aop ?

706






Why do we need static class in c#?

649


What is a statement c#?

582


Define Final Class in C#

644


List out two different types of errors in c#?

611


What are extensions methods in c#?

543


Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).

570


What is oledbconnection c#?

577


What are callback methods in c#?

594


Define using statement in c#?

600


How many types of constructors are available in c#?

637