Example of Fork Using Java