Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Important Java question?
I'm having a problem with Java and need some help.
I wrote out a quick Hello World app in Java:
class TouchingMyself {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
I then decided to try a little experiment, and quickly typed out a little Hello World app in C:
#include <stdio.h>
void main(void)
{
printf ("Hello World!\n");
}
So, I executed the C program in my testing and timing rig, and it finished in about .02 seconds, which seemed normal.
I then tried to run the Java version, and suddenly this weird red-nosed black and white triangle appeared in my room.
He slapped the taste out of my mouth so hard that I spun around and landed on my stomach. He then produced a large metal phallic object adorned with sharp hooks, and proceeded to jam it directly into my rear nether-region. I begged him to release me, but he insisted that I had to wait for the "garbage collector" to come take care of that. I still don't understand how trash men are involved with him, but this whole thing has just been so confusing.
This ordeal lasted for hours. I woke up in a daze the next day, and ran over to my computer. Just as my eyes focused, the Hello World app finished executing.
So my question is, why is Java so slow?
2 Answers
- deonejuanLv 71 decade agoFavorite Answer
I wouldn't rule out cheap hallucinogenics on this one. Try a better quality grade of silver spray paint.
So, what is new? C is faster than VB. dotNot, and just about anything else out there.
- doucetLv 44 years ago
JAVA replace isn't required, as long as you dont use some software that relies upon on specfic function of greater modern version. individually i've got faith it is purely a wastage of bandwidth to go away it working. yet you ought to save directly to date via sorting out protection updates appropriate information & replace it each and every 3-4 minor releases.