Confused with object assignment [modified]
-
Hi friends.. string str="ABC"; this means that we are assigning value to the object str of string class..right?But whn we are instantiating some class then we are assigning values to the feilds of that class(ex:Employee_1.Name="xyz",Employee_1.Id=1234,etc where Employee_1 is an object of class Employee)..thn how things are working differently for string class..I think this has to do something with user defined and predefined reference data types.. -- modified at 2:52 Wednesday 16th May, 2007
-
Hi friends.. string str="ABC"; this means that we are assigning value to the object str of string class..right?But whn we are instantiating some class then we are assigning values to the feilds of that class(ex:Employee_1.Name="xyz",Employee_1.Id=1234,etc where Employee_1 is an object of class Employee)..thn how things are working differently for string class..I think this has to do something with user defined and predefined reference data types.. -- modified at 2:52 Wednesday 16th May, 2007
-
Rahul83 wrote:
working differently
:confused:
Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)