No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am trying to create Line objects and add them to an array list. The problem I am having is excluding any lines that are similar to each other. I have already created an equals method that compares two lines to determine if they are equal. I am having trouble … |
|
I am trying to write a method that accepts the array of houses and a price, priceLimit. The method will return an array of houses for the houses whose price is less than or equal to priceLimit. I want to make a pass over the data to determine how big … |
|
I need help with some methods in my constructor class. My first method receives scores, computes test totals, stores them in an array and returns them. public int[] computeStudentTotals (int[][] scores) { } My next method computes grades. It invokes the computeStudentTotals method to compute the totals of three tests … |
|
I am trying to figure out how to print these number patterns. pattern 1 6 56 456 3456 23456 123456 pattern 2 1 212 32123 4321234 543212345 65432123456 |