Write the definition of a class student. Student object should represent student in a school. it should contain the following information: id,name,age,address.

Can someone tellme the definition using this example?? am still a newbie in java.

Recommended Answers

All 2 Replies

Nope. Re-read your notes. You've been told exactly what data the class will hold. It's trivial to at least start a skeletal attempt with that.

You can also use Google to help you. Though you should use your notes first, as they are probably catered more to your problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.