server_crash 64 Postaholic

Well how come you couldn't consider that an answer?

server_crash 64 Postaholic

>Would both abstract and static be correct answers?
No, abstract is the correct answer. static only means that a nested class doesn't designate an inner class.

OHHH, ok. I see, the actually main class of the static nested class would also have to be static, which isn't possible. In that case, you would be instantiating a class to get to the static..Correct?

Thanks for the reply by the way.

server_crash 64 Postaholic

This is kind of a weird senario. This question was at the java state championship I was at a few weeks ago. Here was the question:

Which type of class cannot be instantiated:

abstract
static
(choices I can't remember..they were wrong)

Would both abstract and static be correct answers? I've never heard of static classes, but if there is such a thing, wouldn't it be the Dot operator that calls it, and not an instantiation?

server_crash 64 Postaholic

I made an encrypter once, and I think the ascii values went from 36-128..Or some where around that.

I think the hardest thing would be trying every differen't combination you could think of.

Another thing, how could you get a reference to that password?

server_crash 64 Postaholic

So what did you end up with?

server_crash 64 Postaholic

That would be an extremely hard project. You'll be working with decrypting possibly 128 bit keys. Mathematically, it SHOULD take millions of years to crack that. So, you would need some very sophisticated methods to break passwords.

server_crash 64 Postaholic

Everyone misunderstood his question. He asked if anyone knew. That requires a yes or no answer. So actually it wasn't that bad of a post.

server_crash 64 Postaholic

Does ne one know how to answer this question?

Yes. Question answered.

server_crash 64 Postaholic

yes i know, but I am not a big fan of ide's myself that is why I try to keep it simple with a basic ascii text editor

Same here. I actually enjoy using the a text editor and the command line. Although, I do like a Value added text editor like JEdit to highlight and indent my crappy code.

server_crash 64 Postaholic

It's obviously malicious intent. Anyone with a lost password would quickly download one instead of taking the countless hours to make one.

server_crash 64 Postaholic

google is the first step.

server_crash 64 Postaholic

If your just trying to link from one page to the other, couldn't you just use the anchor tag to link to a page with the large image? Or are you talking about creating that page only when needed?

server_crash 64 Postaholic

I like JEdit.

If you were talking about the sdk, 1.4 I THINK is the widest used.

server_crash 64 Postaholic

How many hosts have you tried? I would think you should be able to get a free webhost for that. I could be wrong though.

server_crash 64 Postaholic

Very wierd. Is this a keyboard and mouse duo you bought seperately from your PC?

server_crash 64 Postaholic

Does anyone know of a site that will allow you to get free stock feeds into your program?

server_crash 64 Postaholic

I don't think you can differentiate between different data types using a StringTokenizer. You would have to use a StringBuffer to hold all the stuff and then do some parsing.

Although a StringTokenizer doesn't differentiate, a StreamTokenizer does. It can distinquish between Strings, ints, and all that good stuff.

server_crash 64 Postaholic

Bubble sort is the most inefficent, and I believe that QuickInsertionSort is the most efficent.

server_crash 64 Postaholic

I don't know of any voice recognition software that doesn't require the training of your voice.

server_crash 64 Postaholic

Here's a guidline:

StringTokenizer st = new StringTokenizer(file.readABuchofStuff);
	ArrayList al = new ArrayList();

	while (st.hasMoreTokens())
	{
		StringBuffer sb = new StringBuffer(st.nextToken());
                al.add(sb.toString());
        }

Not very complete, but it should get you going.
Basicly, just use a while look that stop when no tokens are left.

server_crash 64 Postaholic

Yes, but I wouldn't wait till college to start learninng programming.

server_crash 64 Postaholic

I think you would have to download the J2ME software development kit.

server_crash 64 Postaholic

I'm taking it too. I'm not worried about anything but the Marine Bio case study. I haven't even looked at it. :eek:

server_crash 64 Postaholic

More efficent?

Arrays.sort(ArrayName);
server_crash 64 Postaholic

If your using the command line you either don't have your classpath set, or it's not in the folder the classpath is set to.

If your using an IDE it's probably not residing in the right folder.

server_crash 64 Postaholic

I doubt it. I'm sure that they got protection against something like that, because otherwise there would already be hundreds of password cracking programs out there that constantly tried differen't combinations of password. Maybe I'm wrong, but I still don't think it's possible.

server_crash 64 Postaholic

I don't think you would have to use loops to continously check to see if it's true. I think you could just use some simple if statements or something simple to check if it's true.

Paradox has a neat solution to it..Have a method that makes it true, and also can perform any other task you want if the boolean is true. If it were me, I would go that route. Nice solution Paradox!

server_crash 64 Postaholic

What if that's the order it's suppose to be in?

I mean, take for instance this:

-5 - -4 = -1

By your method it would actually turn out to be this:

-4 + 5 = 1

server_crash 64 Postaholic

Right now I'm not sure what I'm going to get. I don't really now anything about them, so I'll have to do some research on what to get. I'll probably get a descent one, but get it off of ebay so I don't have to pay so much.

server_crash 64 Postaholic

Since it's abstract shouldn't you override that method and implement your own version, instead of calling that method?

server_crash 64 Postaholic

So would it be called bad practice to throw one of these? I mean, couldn't it be almot considered as doing a catch-all-throw clause like throws Exception?

Have you ever seen this exception used before?

server_crash 64 Postaholic

the key is to get them to think towards a solution without actually giving it to them.

I didn't give him the full solution. If you notice I gave him the jist of it, and never gave the rest of what he wanted.

server_crash 64 Postaholic

Note that these won't throw IllegalStateException in Java but they could (they throw something more specific).

This is what I was looking for. I was thinking this was the case,but wasn't sure. So I guess this means that this exception would have to be pretty high on the exception hierarchy?

server_crash 64 Postaholic

So how can I find this out while choosing one?

server_crash 64 Postaholic

I know that, but I just don't undestand this exception. What is it for? I mean, when is a method called, but not suppose to be called?

server_crash 64 Postaholic

I've looked and looked for some good material on this exception, but I can't find anything helpful. I just don't understand it. It's suppose to be caught or thrown whenever a method is called when not suppose to be...But won't other exceptions be caught or thrown in it's place? If you have any comments or anything to say, please post!

server_crash 64 Postaholic

I know you can use j2me for programming on palm pilots and PDA's...At least I think! My question is, does it matter what make/model/ or specs the PDA has to be able to program on it, or be compatible with j2me?

server_crash 64 Postaholic

All I was doing was giving help. I don't think it does the entire profession a great dis-service? I mean, it's just weeding the people out that wont make it. If I supply him with some code and he turns it in, it's his problem. I've done my part of helping, and that makes me happy. I don't give a crap what he does after that. If he decides not to learn and just get help with everything, then it's his butt later on, NOT mine. That code was like 7 lines long, and I get criticized for that? I've seen people give some like a whole page long, but nothing said to them. So, if you don't like me because I'm helping someone out, don't post some message criticizing me for helping, because I'm not going to change anything I do.

server_crash 64 Postaholic

Way to go, server_crash

Thank you!

server_crash 64 Postaholic

Ok, I got it worked out. One of the punks at RAC copied the email wrong.

server_crash 64 Postaholic

Ok, I found an email from rent a coder giving me a paypal confirmation number, and said I should be recieving an email from the soon...Is there somewhere on paypal that allows me to enter the confirmation #?

server_crash 64 Postaholic

Yes, they get the money from the person and then send it to you. I'm contacting them, and telling them to cancel the payment they "sent", and resend it. If I don't get this money, I will be VERY VERY angry.

server_crash 64 Postaholic

No, I never got an email from PayPal, and nothing shows up in the transactions. I made sure I set it to the past year.

I'm using Rent a coder, and it shows on their site that it's been payed to my paypal account, and customer service also said it. But it's not in there. What should I do from here? I'm getting really worried about this.

server_crash 64 Postaholic

If there is proof that the money has been sent, and sent to the right account, what could be wrong?

I've contacted the company sending it, and they also say it should be in my account..I'm contacting paypal right now, but I don't know what they can do.

server_crash 64 Postaholic

I'm suppose to have recieved 75$ to my paypal account like two weeks ago. I never looked at my account until yesterday. I know for a FACT that the money was paid, and paid to the right email address, but my paypal balance says 0.0$. It shows that there has never been any transactions ever for that account.

I didn't set up my bank account in paypal, and it says I'm unverified...Does this mean I have to set up my bank account information before I can recieve payments?

server_crash 64 Postaholic

What do you want to know about parameters? They're basically variables set up in the method declaration that allow you to pass values to the method. If your method is to return something, you would need a return statement. I.e. your method should look like this

public static int difference(int num1, int num2){

return num1 - num2;

}

Andy

to call that method you would do this:
int firstNum = 35;
int secondNum = 5;
ClassName.difference(firstNum,secondNum);

server_crash 64 Postaholic

Aren't those two patterns the same? If so, just put loop in there twice:

class Pattern
{
   public static void main(String[] args)
   {
	for (int i=1; i<=6; i++)
	{
		for (int j=1; j<=i; j++)
		{
			System.out.print(j);
		}
		System.out.println("");
	}

	System.out.println("\n\n\n\n\n");
	for (int i=1; i<=6; i++)
	{
		for (int j=1; j<=i; j++)
		{
			System.out.print(j);
		}
		System.out.println("");
	}
   }
}
server_crash 64 Postaholic

Here would be reversing it, making the 6 come first:

class Pattern2
{
  public static void main(String[] args)
  {
	for (int i=6; i>=1; i--)
	{
		for (int j=6; j>=i; j--)
		{
			System.out.print(j);
		}
		System.out.println("");
	}
  }
}

If that's not what you wanted, give me some sample output.

server_crash 64 Postaholic

Just some simple nested loops are involved:

class Pattern
{
   public static void main(String[] args)
   {
	for (int i=1; i<=6; i++)
	{
		for (int j=1; j<=i; j++)
		{
			System.out.print(j);
		}
		System.out.println("");
	}
   }
}
server_crash 64 Postaholic

There is A LOT of trigonomic functions in this program. I'm having to calculate complex numbers, so this is probably a big part.

Thanks for the feedback.