Java OCA OCP Practice Question 2104

Question

Which filename extension can hold a LocalDateTime property key in a resource bundle?.

  • A. .java
  • B. .properties
  • C. Both of the above
  • D. Neither of the above


D.

Note

Java supports properties file resource bundles and Java class resource bundles.

Both require String as the key format, so Option D is the answer.




PreviousNext

Related