Java OCA OCP Practice Question 821

Question

Which of the following statements about Java are true?

  • I. The java command uses . to separate packages.
  • II. Java supports functional programming.
  • III. Java is object oriented.
  • IV. Java supports polymorphism.
  • A. I only
  • B. II only
  • C. II and III
  • D. I, III, and IV
  • E. I, II, III, and IV
  • F. None are true.


E.

Note

All of the statements are true statements about Java, making Option E the correct answer.

Java was built with object-oriented programming and polymorphism in mind.

Java supports functional programming using lambda expressions.




PreviousNext

Related