Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
java x 19
Member Avatar for Danii

example if (...){ return 0; } else (...){ return 1; } that do they mean? thnaks in advance

Member Avatar for masijade
0
668
Member Avatar for Danii

This method should add a new point to the frame hierarchy and Make sure a new node is not added if overlap. public void ToAddBonePoint( double testDiameter, double centerX, double centerY) { if (selectedNode == null){ selectedNode = new BoneNode( testDiameter, centerX, centerY); } I have `new BoneNode( testDiameter, centerX, …

Member Avatar for javaAddict
0
103
Member Avatar for Danii

Hi I need help with this, 1) an algorithm or way to count the levels of an unbalance binary tree (e.g. root has one level 2) to balance this unbalance tree can I have some hints please! or examples greatly appreciated

Member Avatar for darkagn
0
71
Member Avatar for Danii

Hi what is the difference between the following two code public int calculate(int x, int level) and public int calculate() int x; int level; Is there a way to make this first method to something like the second method? thanks

Member Avatar for VernonDozier
0
78
Member Avatar for Danii

define a method addOn that it adds the data argument to the list in the sorted location in alphabetical. There can only be one of each company in this list. public void addOn(company data) { Node it = new Node(data, head); head = it; it.data.toString(); } this is a small …

Member Avatar for Ezzaral
0
84
Member Avatar for Danii

> define a method addOn that it adds the data argument to the list in the sorted location in alphabetical. There can only be one of each company in this list. public void addOn(company data) { Node it = new Node(data, head); head = it; it.data.toString(); } this is a …

0
65
Member Avatar for Danii

while (firstNodeNeedsToGo(text)) { removeFirstNode(); nodeRemoved = true; } can someone rewrite this while loop into an if - then loop or any other code you have , this will help greatly toward my upcoming test

Member Avatar for VernonDozier
0
97
Member Avatar for Danii

boolean removedlNodes = false; what is the point setting this type boolean = false? Nodes = Nodes | NodesWithText(text); what does this " | " means here ? thanks in advance

Member Avatar for Parsu7
0
81
Member Avatar for Danii

can someone give me example of what this means Define the addSortedData method such that it adds the dataAdd argument to the list in the proper sorted location according to ticker symbol. If a company is already in the list with this ticker symbol, it is not added. There can …

Member Avatar for jwenting
0
99
Member Avatar for Danii

My problem: Use an Iterator to go through all of the elements in the list, getting each element's textual representation, and displaying this text neatly inside the text area. My thoughts: Do I use an add method to add elements from the list to display onto the text area?

Member Avatar for Danii
0
109
Member Avatar for Danii

hi I have created the discard method in my player class and play is a Card[] so i type currentCards.discard(numOfCard); and then it says "it cant invoke discard(int) on the array type card[]" any help is appreciated thanks

Member Avatar for Ezzaral
0
99
Member Avatar for Danii

As an example, consider the following array of 9 integers in the range 1 to 5: [2, 3, 2, 1, 4, 5, 2, 3, 1] The count array would contain the following values: [2, 3, 2, 1, 1] Working from this set of counts, the sorted array would be: [1, …

Member Avatar for PoovenM
0
143
Member Avatar for Danii

HI problem: Write the definition of a class Clock . The class has three instance variables: One of type int called hours , another of type boolean called isTicking , and the last one of type Integer called diff . You should also write a constructor that takes three parameters …

Member Avatar for ~s.o.s~
0
177
Member Avatar for Danii

Hi Please help me with this problem Write the definition of a class Play containing: An instance variable counter of type int , initialized to 0. A method called increment that adds one to the instance variable counter . It does not accept parameters or return a value. A method …

Member Avatar for Black Box
0
222