1. User Defined Methods in Java With Animation 2. Index 1. 2.Advantages Simple Programs using Methods a) b) c) d) e) f) g) h) i) j) k) l) m) n) o) p) q) r)Add two numbers…