1. Write a Java class that represents a Student with String-type instance variables name and id. In addition, please define at least 2 constructors, 2 accessor methods and 2 mutator methods for the class. Write a simple main program to create a Student object.
2.Write a complete Java program that uses a "for loop" to compute the sum of the even numbers and the sum of the odd numbers between 1 and 25.
可以幫我解這兩個JAVA程式(一些會運用到的概念或方法)??
謝謝!!