data structures - Does Java support structs? -


does java have analog of c++ struct:

struct member {   string firstname;    string lastname;     int birthyear;  }; 

i need use own data type.

java definitively has no structs :) describe here looks javabean kind of class.


Comments

Popular posts from this blog

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -