Page 1 of 1

About Question enthuware.ocajp.i.v7.2.1140 :

Posted: Wed Jan 15, 2014 3:54 pm
by thupten
do we need to study about native and strictfp for this exam?

Re: About Question enthuware.ocajp.i.v7.2.1140 :

Posted: Wed Jan 15, 2014 10:01 pm
by admin
Not in detail but just the basic stuff such as what are they meant for because they are keywords.

HTH,
Paul.

Re: About Question enthuware.ocajp.i.v7.2.1140 :

Posted: Thu Jan 16, 2014 1:48 am
by kecker
As I understand it the only non-access modifiers this test includes is abstract, final and static. So using strictfp and native seems silly.

Re: About Question enthuware.ocajp.i.v7.2.1140 :

Posted: Thu Jan 16, 2014 2:26 am
by admin
Our recommendation is that one should have a basic idea about every keyword. You may ignore the advice if you think otherwise :)

HTH,
Paul.

Re: About Question enthuware.ocajp.i.v7.2.1140 :

Posted: Mon Sep 16, 2019 4:53 am
by timwaagh
Why do you recommend this? just as general knowledge a Java programmer should have or because this knowledge is useful for the exam? if so why is it useful?

Re: About Question enthuware.ocajp.i.v7.2.1140 :

Posted: Mon Sep 16, 2019 5:17 am
by admin
Just as general knowledge that a Java programmer should have. That is why this is in the Foundation test and not in other standard tests.

Re: About Question enthuware.ocajp.i.v7.2.1140 :

Posted: Mon Apr 06, 2020 8:09 pm
by vladi15151
Which of the following are valid declarations in a class?

I think that first aswer "abstract int absMethod(int param) throws Exception;" is incorrect too, because abstract we can't define abstract method in simple classes(only interfaces and abstract classes), isn't is?

Re: About Question enthuware.ocajp.i.v7.2.1140 :

Posted: Mon Apr 06, 2020 10:47 pm
by admin
But the question doesn't say concrete class or abstract class. It just says class.