Some java exemples