Question: Question: Which of the following statements is true about Java? a) Java supports multiple inheritance through classes. b) Java is a statically-typed language. c) Java
Question:
Which of the following statements is true about Java?
a) Java supports multiple inheritance through classes.
b) Java is a statically-typed language.
c) Java allows the use of pointers, similar to C/C++.
d) Java code is always compiled directly to machine code.
Step by Step Solution
There are 3 Steps involved in it
The detailed answer for the above question is provided below The correct option is b Java is a staticallytyped language Reason This option is correct because Java enforces static typing meaning the ty... View full answer
Get step-by-step solutions from verified subject matter experts
