here i'll do my practice on java