No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
So I'm writing a program that has a main class ArrayDrawer and two classes; square and triangle. Currently, this is what I have; [CODE] public abstract class ArrayDrawer { //Global Data /** * Create array with object scope to store squares in */ protected Square[] squares = new Square[10]; /** … |
|
So my instructor assigned us to create a program that calculates the area and stores that, along with coordinates, in an array. This has to be done for both triangles and squares. He is having us use separate classes for the project; the main Drawer class, parent class, square class, … |
|
Hello! So I've been working on a 1D array that represents a school bus that can hold up to 10 children. The array needs to have names put into it in the first available 'seat'. I've constructed code to do so, but something seems to be wrong. The findFirstEmpty method … |