Added Java example output