Programs in java mostly for learning