Answer:
The answer is object based,component based.
Step-by-step explanation:
If there is no inheritance in Java then the environment may be object based but not component based.
Component based is an approach in programming in which we divide a problem into different parts called components each of having a specific role in the program.
The difference between component based and object based is re-usability and scale. Component based means to emphasize on responsibilities which are mostly independent and may not share or may share common objects with other components.Object based means to emphasize on the integration of objects, where objects are reused over an entire software.That is why the environment may be object based but not component based.