There's nothing wrong with C++, it's the language where structs and classes came from, so I think it's a good one to talk about if you want to discuss those.
It would be great to simply it to what you said, but like Hdx said, Java doesn't have structs. However, like I said (and you improved), a struct is just a class with only public member variable and no functions. As a result, you can simulate structs in Java fairly easily.