How to define a class with variable properties?

Posted by user1723326 on Stack Overflow See other posts from Stack Overflow or by user1723326
Published on 2012-10-05T14:38:47Z Indexed on 2012/10/05 15:37 UTC
Read the original article Hit count: 165

Filed under:
|
|

I'm making a database program. I want the user to be able to define their own columns, as many as they want. How would I then define each record in its class file?(Since the properties would be different user to user)

EDIT:

It's part of a school assignment-it's going to hold different scores and the likes for the teacher for different students they can add, but they will also be able to add a new assignment, test(a column) .

© Stack Overflow or respective owner

Related posts about java

Related posts about database