Why are you using Object class objects instead of the class that has the retrieveArray() method?[/QUOTE]
My teachers wants us to use object Arrays for this assignment and compare them to a int...
Type: Posts; User: Rain_Maker
Why are you using Object class objects instead of the class that has the retrieveArray() method?[/QUOTE]
My teachers wants us to use object Arrays for this assignment and compare them to a int...
Could you elaborate on that? If I created my array objects shouldn't my data be recoverable from my objects? I'm not quite sure what I need to code.
Norm,
I was able to find my error in my syntax but I have another problem. I'm trying to use the compareTo method. I'm comparing an integer and another integer from an object array. If I try to...
It located here....Don't know what else to really do..Should I move it?3194
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\.....>cd Documents
C:\Users\......\Documents>dir
Volume in drive C has no label....
Let me try that....one moment please
--- Update ---
I just rqn my code via the command prompt.(Learned something new :cool:)
C:\Users\......>javac Module5
error: Class names, 'Module5',...
Norm,
BlueJ will not allow me to copy the error message as text. I can only write out the error message or provide a screen shot. Is there anyway else to help. FYI I was able to rename my class...
3192
I'm using BlueJ as my IDE. So I hope this error message is able for you to answer my question.
Hello Community,
I'm working on an assignment for my data structure & algorithm class. My whole summer of not programming in java made me a extremely rusty. I need help creating an array of...
Okay Thanks!
Hello Everyone,
I need help understanding on where I should be begin with this assignment my teacher gave me. I will be honest and drop the ball on doing this assignment. I also don't expect to...
Well,
I know you need to insert an object into the node lets say Node1. Node1 will have my data and a reference point which will point to null. Sense there is only node in the list. When I create...
One of the main reason I'm having trouble understanding about this LinkList concept is iteration through the LinkList. It just a little hard for me to grasp. I know each node has reference to the...
Hey I'm back. I made some progress. I know you told me not to use any type of counter but I'm just really stuck on the whole linklist concepts. I guess I'm thinking about arrays and array lists to...
So what your saying is if I create null1 assigned to null and then create null2 and assign it to null. I can then use the "next" method to reference to my new null1 value to null2 value. Which will...
Well if I do that will it be possible to iterator through my null list? I want to eventually add a remove method and some other methods. I just want to make sure I'm able to access the content of the...
Hello Everyone,
Thanks for the quick reply. KevinWorkman...I been drawing pictures and diagrams. I know what my end result is but I just don't know what to write in code correctly.
int I =...
public class LinkList
{
public class Node
{
public Node next;
public Object data;
Computer programmer teaches homeless to code
Computer programmer teaches homeless to code - YouTube
My professor wants us to use recursion. We can use for loops to go through my array but not evaluating the String.
Hello dineshj83,
Thank you for the quick response. To be honest with you I don't know how to approach this problem. I understand the overall concept but writing the code has been a bit of...
Hello Everyone,
I just wanted to know if anyone can help me understand a recursion problem. I'm trying to create a recursion method. My professor wants to me find the number of times a specific...
okay will do thanks again jps
Well that's thing I didn't lol I don't know what to do it.. lol.....A light bub did come up in my heard when I was trying to figure it out. I realize I don't need to use a jList. I just need to have...