these questions is from a friend of mine, hope can get solutions from yours. Thanks
1.i had declare an object of a class in my program, when i trying to execute it. it show me this error:
<<<< may i know what's the problem with this? by the way, the class which i declare an object with, is using Link-list data structure.is that problem with the link list ?
2 . the question
i'm trying to change the link- list of C++ into JAVA. the problem is, i'm not sure what should i do when it involve struct of C++ and pointer of the struct.
3. by the way, when we assign a null to an object in JAVA, which
Weight(double w, Neuron sn)
next = (Weight *)null; //do i have to do the same in JAVA , which when i assign a null
//to the object, i will have to put cast of the class for it
4. how to change this code?
(in JAVA, is it change to this? )
5. sure can call the next object in the link list, when we do like this in JAVA or not ?
>> wi =wi.next; ??
6. how to use the clone method? i mean in what case we should use this method?
7. there is somethings i wish to make sure of is:
>> Network newNetwork; (In JAVA)
>> Network *newNetwork; (in C++)
or do we have to assign a null to each of the object which only declare and not yet been used?
>> Network newNetwork = null; (in JAVA) ?? or Network newNetwork = (Network) null ?????
i'm getting blur and blur already 8-}
i only left with 3 more days to submit the assignment ~.~