# Search:

Type: Posts; User: mccolem

1. ## Thread: Designing an Account Class

by mccolem
Replies
15
Views
7,902

### Re: Designing an Account Class

You need to initialise the Date class object, check Date (Java 2 Platform SE v1.4.2) for guidance.
2. ## Thread: How do I connect 2 method headers to make it recursive???

by mccolem
Replies
1
Views
327

### Re: How do I connect 2 method headers to make it recursive???

From my understanding of the question you want to read in a number between 20 and 80 and print out all integers between that number and 80.

-Your computer only executes code that is in the main...
3. ## Thread: Efficiency problem

by mccolem
Replies
6
Views
464

### Re: Efficiency problem

If I do that for 3-digit factors, the first palindrome I find is

995*583 = 580085

which is smaller than 993*913 = 906609
4. ## Thread: Efficiency problem

by mccolem
Replies
6
Views
464

### Re: Efficiency problem

public long getLargestPalindrome1(){

for( long i = highValue; i > highValue/10 ; i = i - 1){

if(i < factor2) return max;
//Here the method exits if i is smaller than the smallest...
5. ## Thread: Efficiency problem

by mccolem
Replies
6
Views
464

### Re: Efficiency problem

I have tried that already but its complicated because if the factors are even number digits e.g. 99, I have to decrease i by 11 and j by 1, but if it is an odd number of digits e.g. 999 I have to...
6. ## Thread: cannot find symbol error

by mccolem
Replies
9
Views
431

### [SOLVED] Re: cannot find symbol error

Try that and see if it works.
7. ## Thread: Designing an Account Class

by mccolem
Replies
15
Views
7,902

### Re: Designing an Account Class

...edited by moderator

If you have any questions just ask.
8. ## Thread: Efficiency problem

by mccolem
Replies
6
Views
464

### Efficiency problem

I have the following problem to solve:

Find the largest palindromic number made from the product of two N-digit numbers.

This is my class to find the largest palindromic number:

public...
Results 1 to 8 of 8