Is there a Java equivalent or methodology for the typedef keyword in C++? October 3, 2022 by Tarik Java has primitive types, objects and arrays and that’s it. No typedefs.