When I started using Java, it was meant to me that we have two different types:
Objects (strings, from classes, println, etc)
primitive values (int, double, char)
I just returned with a professor, where this difference will mean the difference between the two answers. When I asked my professor for clarification, he told me that primitive values can be objects.
Who is here, and can anyone give me any evidence? The proof would be something official sound, and I would choose it as the answer, and also awarded you some notorious Internet.
source
share