sandesh magdum


{ City } mumbai
< Country > india
* Profession * junior software developer
User No # 13829
Total Questions Posted # 0
Total Answers Posted # 3

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 99
Users Marked my Answers as Wrong # 13
Questions / { sandesh magdum }
Questions Answers Category Views Company eMail




Answers / { sandesh magdum }

Question { T3 Softwares, 20934 }

What is the Difference between AJAX and Javascript?


Answer

AJAX is not different from Javascript.
Like , a child can't be differentiated by a mother.
AJAX is a acronym for 'Asynchronous Javascript And XML'.

AJAX is a new approach towards page reloading.

If you want a specific book , you will purchase that book
and not the whole book store.

Similarly if you want a small part of the data in a web page
, you will not go for whole page reload, you woould prefer
to get the data you want.



Is This Answer Correct ?    87 Yes 9 No

Question { T3 Softwares, 3884 }

C and C++ has constructors and distructors, why does Java
does not have distructors?


Answer

Because java has automatic garbage collection feature and java
does not let you illegally or accidentally release memory
occupied by an object.

Is This Answer Correct ?    7 Yes 1 No


Question { 5381 }

How can we assign an object in Java Script??

For Example:-
-----------
If i create an object "obj1"
var obj1 = Object();
obj1.name = "hari";

and if i want to assign it to two objects "obj2" and "obj3"
with different names...

obj1.name = "gopi"
obj2 = new Object(obj1);

obj1.name = "raghu"
obj3 = new Object(obj1)

Now ob2.name become to "raghu" from "gopi". WHY?
how to solve the above problem?


Answer

var obj1 = Object();
obj1.name = "hari";

obj1.name = "gopi";
obj2 = new Object(obj1);

//preserving name property of obj2 through obj4
var obj4=new Object();
obj4.name=obj2.name;

obj1.name = "raghu";
obj3 = new Object(obj1);

obj2=new Object(obj4);
alert("obj2 name="+obj2.name+" obj3 name="+obj3.name)

Is This Answer Correct ?    5 Yes 3 No