Typedef Struct (C) = ?? (Java) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Typedef Struct (C) = ?? (Java)

What is used in Java that is equivalent to struct in C language?

18th May 2018, 5:58 PM
Gabriel Cardoso
Gabriel Cardoso - avatar
2 Answers
+ 3
I think you could use a hashmap in the way you could use a structure if they are the same as the work in Ruby..maybe?
19th May 2018, 6:49 AM
Nic Beltrante
Nic Beltrante - avatar
+ 3
struct.... auto correct...geez
19th May 2018, 6:50 AM
Nic Beltrante
Nic Beltrante - avatar