Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Dukker Jansen   on Nov 10 In Java Category.

  
Question Answered By: Ann Evans   on Nov 10

easiest way is to use a hashmap instead of a class.
you can dynamically  genereate classes in Java
but if you like this kind of features it is better to use JRuby or Groovy.
since java is a statically typed language.

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Declaring Member Variables Dynamically Or get search suggestion and latest updates.