Page 1 of 1

About Question enthuware.ocajp.i.v8.2.1428 :

Posted: Mon Mar 30, 2015 5:16 am
by alkour
I tested, A is also correct answer together with C.

Re: About Question enthuware.ocajp.i.v8.2.1428 :

Posted: Mon Mar 30, 2015 5:59 am
by admin
Please go through the explanation. It explaines exactly why it is not valid.

Re: About Question enthuware.ocajp.i.v8.2.1428 :

Posted: Mon Jun 01, 2015 9:37 am
by matatastico
The question is :
Which of the following are valid ways to create a LocalDateTime?

And option A is: java.time.LocalDate.parse("2015-01-02"); Which creates a LocalDate object instead of the LocalDateTime that the question is asking for!
:mrgreen:

Re: About Question enthuware.ocajp.i.v8.2.1428 :

Posted: Mon Mar 16, 2020 4:18 am
by evaevaeva
Yes, A is correct too...

Re: About Question enthuware.ocajp.i.v8.2.1428 :

Posted: Mon Mar 16, 2020 4:41 am
by admin
Why do you think so? Did you read the posts above?