# Search:

Type: Posts; User: Alex L

1. ## Thread: Array with null (same for Arraylist)

by Alex L
Replies
5
Views
349

### Re: Array with null (same for Arraylist)

You're quite right. My solution was poor. I've re-read some principles and am starting again. Thanks for you help :)
2. ## Thread: Array with null (same for Arraylist)

by Alex L
Replies
5
Views
349

### Re: Array with null (same for Arraylist)

Changed

private String student;

to

private String student = "";
3. ## Thread: Array with null (same for Arraylist)

by Alex L
Replies
5
Views
349

### (Solved) Array with null (same for Arraylist)

I'm having a problem with calling arrays from a class. I know I should should separate the user interface from the logic so that's what I've tried to do. If you know of a better way please mention...
4. ## Thread: How to learn OOP

by Alex L
Replies
7
Views
1,451

### Re: How to learn OOP

Plus this thread was written a few months ago. The OP (me) has already found the solution ;)
5. ## Thread: Sphere (Volume/Surface Area)

by Alex L
Replies
4
Views
2,537

### Re: Sphere (Volume/Surface Area)

Thank you, that works a treat :)
6. ## Thread: Sphere (Volume/Surface Area)

by Alex L
Replies
4
Views
2,537

### Re: Sphere (Volume/Surface Area)

Thank you for pointing that out. I didn't notice it. By changing part of the code to this:

private double volume() {
volume = 1.33333333 * Math.PI * Math.pow(radius(), 3);
return volume;
...
7. ## Thread: Sphere (Volume/Surface Area)

by Alex L
Replies
4
Views
2,537

### Sphere (Volume/Surface Area)

A question (not homework, a question from a book, don't worry) asks me to create a program to work out the volume and surface area of a sphere.

The surface area part works fine, it is the volume...
8. ## Thread: How to learn OOP

by Alex L
Replies
7
Views
1,451

### Re: How to learn OOP

Thank you for your replies, I have started to go through the links and will give it another go. I'll keep you updated.
9. ## Thread: How to learn OOP

by Alex L
Replies
7
Views
1,451

### How to learn OOP

Hi, I've left this a bit late really bit I go back to uni in 2 weeks. I got through the first year without really understanding OOP and just avoided the questions. I'm sure I will be stuck next year...
Results 1 to 9 of 9