java brush up examples