Java special demo