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

How to find methods of a assembly file (not using ILDASM)?

633


What are the Types of values mode can hold session state in web.config

546


What is the difference between static class and sealed class in c#?

461


What is dictionary and hashtable in c#?

462


Why delegates are required?

531






List down the access modifiers available in c#?

479


You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?

494


What is different about switch statements in c#?

486


What is multithreading? What are the problems that comes with multithreading and how to manage them?

547


What is a method c#?

469


Is friend a constructor?

506


What are sessions in c#?

489


What is strongly typed in c#?

491


What is the use of readkey in c#?

485


What is the advantage of dependency injection?

494