I was asked this question in an interview and I could not find any direct answer to it online.
"Can you create an object in Java without using a class?"
There is no context or addition to this question, so please do not label this question as incomplete or pointless. If this question is a trick one or needs context, let me know.
Objectclass. But perhaps that's not what you were being asked. For example, you can create an anonymous class instance from an interface. There's just not really enough information here to give an answer (which is how I would respond to that question if asked)