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

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
bortnikov_sa@mail.ru
Posts: 8
Joined: Wed Oct 25, 2017 2:53 am
Contact:

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

Post by bortnikov_sa@mail.ru »

I think thet the inheritance makes code more reusable. ;)

rogersjava
Posts: 2
Joined: Wed Aug 30, 2017 6:19 am
Contact:

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

Post by rogersjava »

As you write the questions ambiguity could be removed by changing the option from

"More efficient code" to "More efficient code at runtime"

This is more likely to appear in the actual test.

igor.simecki
Posts: 5
Joined: Tue Feb 06, 2018 2:41 am
Contact:

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

Post by igor.simecki »

I agree. The code can be more efficient in a way that the programmer doesn't have to write duplicate code.
This way it's a very subjective answer.

admin
Site Admin
Posts: 10066
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

When a programmer doesn't have to write duplicate code that means the programmer is efficient, not the code. Efficiency of the code is always about execution time of that code.
If you like our products and services, please help us by posting your review here.

Leonid
Posts: 9
Joined: Mon Jun 28, 2021 4:50 am
Contact:

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

Post by Leonid »

It protects the code by preventing extension.
Just the reverse is true. Extension is how polymorphism is achieved.
Why, without polimorphism programmer must write too much code for every single case so it do code more extension. And polimorphism preventing extension. Why not?

tostilio
Posts: 1
Joined: Wed Aug 09, 2023 7:26 am
Contact:

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

Post by tostilio »

Ok, I understand the dynamics with which the exact method to be called from the jvm is deduced at runtime. From a research I have seen in IT the adjective "dynamic" is used only in relation to the "dynamic analysis of the code", which means, therefore, "more dynamic code"?
Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 209 guests