Hey guys I'm having a bit of touble assigning the toString to a string from an index of an array list, any help would be appreciated. @Override public String indentedToString(int level) { String answer = " "; answer = super.indentedToString(level); answer += "Value " + this.list.toString() + "\n"; for(int i = 0; i < list.size(); i ++) { answer += list[i].indentedToString(level + 1); } return answer; } I keep getting an error in line 9 [array required, but java.util.ArrayList found] any help ? Thanks in advance

Member Avatar
Member Avatar
+0 forum 2

Hey guys, I am curious on how to start automated testing, and what kind of software or scripts would i need to test java, c , c ++, c#, or python code. Also does anyone now any good well explained videos or websites out there, i tried searching on google and still no luck, any answers are appreciated :) thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

Hey guys, I am curious on how to start automated testing, and what kind of software or scripts would i need to test java, c , c ++, c#, or python code. Also does anyone now any good well explained videos or websites out there, i tried searching on google and still no luck, any answers are appreciated :) thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

Hello I am currently working on this code and the code can be runned well from 100-10,000 random elements after that the heap sort says stack over flow, im thinking the recursive calls are the cause of this, so please healp public static void MAX_HEAPIFY(int [] A, int i, int n) { int l = i + 1;//sets the left tree root int r = i + 2;//sets the right tree root int largest = 0; if(l <= n && A[l] > A[i]) { largest = l; } else { largest = i; } if(r <= n && A[r] > …

Member Avatar
Member Avatar
+0 forum 3

So i have been assigned a program where i create a interface a bag and the main or tester i have been trying to get this done for a while now and so far two other people have checked my work and have no idea why my list prints the null something like this [B]:These is the output i get after running the code:[/B] true Tomatoes Lettuce Milk Hello ipad Hello windows soap ipad Hello windows soap ipad Hello windows soap ipad Hello windows soap null null null null null ............ This eventually stops and wont let the rest of …

Member Avatar
Member Avatar
+0 forum 1

Hey all =] , I am having a few problems ending this coding homework and i would love if you could help me on how to solve this problem, well my problem is that i try to print the toStirng in my constructor class and for the months it prints the number rather than the name for example i input month, day, year and i input 04 , 30, 1992. I would like it to print April 4, 1992 But it prints 04, 30, 1992 so how do i make it print the month Run Test Results: what year is …

Member Avatar
Member Avatar
+0 forum 4

So, i have to methods in a non main class and i need to figure out how to print both the println in a chart with two columns should look something like this x : y x : y x : y x : y x : y but instead i print like this x x x x x y y y y y this is my code , any help would be appreciated [CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author vazquez */ import …

Member Avatar
Member Avatar
+0 forum 2

so i am working on a assigment for school, and i need help with the java.util.Calendar , i am trying to increment the year of as today by one each index of an array . This functions needs to be inside a toString(). so i need some help i know i need a for loop to pass the add(calendar.YEAR, index) here is what i have so far ..ohh yeah this class should not have a main method. [CODE] import java.util.Date; import java.util.Calendar; import java.text.DateFormat; import java.text.NumberFormat; public class RetiermentCalculator { AccountInformation[] years = new AccountInformation[35]; public RetiermentCalculator(int aYear, double aBeginIncome, …

Member Avatar
Member Avatar
+0 forum 2

The End.