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

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.

Jump to Post

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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.