p36
or the pins would be a bit too wide and won’t go into the receiver
=> or the pins would be a bit too wide and wouldn’t go into the receiver
I wondered, why do all these sockets in the same country have slight différences
=> I wondered why all these sockets in the same country had slight différences
p37-38
bundled together in jar file
=> bundled together in a jar file
The OCP exam requires that you know about some
=> The OCP exam requires that you know some
those predefined 7 days
=> these predefined 7 days
p39
Most of the times
=> Most of the time
help writing
=> help in writing
p40
is read and is overwritten
=> is read and overwritten
letting any class to be in a file
=> letting any class be in a file
Static methods is
=> Static methods are
p41-42
existing codebase
=> the existing codebase
Object class
=> the Object class
use the terms declaration and definition incorrectly
=> incorrectly use the terms declaration and definition
p43-44
object.The
=> object. The
move to an example
=> move on to an example
In case of
=> In the case of
p45
It does not affect str2. str2
=> It does not affect str2; str2
what would a reference variable contain
=> what does a reference variable contain
p46
except the fields defined as static
=> except for the fields defined as static
p47-48
it need not
=> it needs not
p49
a reference variables
=> reference variables
by amount of space
=> by the amount of space
p50-59
again.The
=> again. The
goes a great length
=> goes to great lengths
when you can find the actual object
=>where you can find the actual object
variable created
=> variables created
Constants are defined using uppercase. For example, final int PI=3.14; or finalString TABLE_PREFIX="app_";
=> using PI=3.14 with type int to give example for constants but 3.14 is double
knows tha x will Always
=> knows that x will Always
class is keyword
=> class is a keyword
all kind of
=> all kinds of
it errors out
=> it throws an error
talk overloading
=> talk about overloading
with same name
=> with the same nameh the same name
at the most
=> at most
looks a like good idea => looks like a good idea
p60-71
be a part of a reference type
=> be part of a reference type
public static double TAX_RATE = 0.15;
=> uppercase but not final
if you have static utility method
=> if you have a static utility method
in Values class
=> in the Values class
all the class => all the classes
in package com.enthuware => in the package com.enthuware
under com.enthuware.ocp package => under the com.enthuware.ocp package
with same name => with the same name
Acccount.java
=> Account.java
but then that location
=> but that location
Linux based systems
=> Linux-based
semi-colon
=> semicolon
back slash
=> backslash
Java designers felt that the two step compilation and execution of Java programs is too tedious when you are trying to execute simple test programs.
=> Java designers felt that the two-step compilation and execution of Java programs were too tedious when you were trying to execute simple test programs.
It will print Hello World!
=> but the code is Hello world! not World but world
in a special file is called
=> in a special file called
create mymanifest.txt file
=> create a mymanifest.txt file
i.e. display
=> i.e., displays
on command line
=> on the command line
such a code
=> such code
Yes, you will need to memorize all those.
=> Yes, you will need to memorize all of those
args refers to a String array of length 0.
=> args refer to a String array of length 0.
Arguments can be separated by one or more than one white characters.
=> Arguments can be separated by one or more white spaces.
p72-79
allow you tell
=> allow you to tell
on the exam
=> in the exam
The exam expects that you know them all.
=> The exam expects you to know them all.
Oracle have substantially reduced the number of questions
=> Oracle has substantially reduced the number of questions
it will not let the code to compile
=> it will not let the code compile
the JVM initializes the variables to predetermined values on its own
=> the JVM initializes the variables to predetermined values by itself
These values are called the default values of variables.
=> These values are called default values of variables.
Errors found in OCP 17/21 from p36-80
Moderator: admin
-
- Posts: 167
- Joined: Sun Apr 21, 2024 10:43 am
- Contact:
-
- Site Admin
- Posts: 10384
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: Errors found in OCP 17/21 from p36-80
All corrections will appear in the next build.
Thank you for your feedback!
Thank you for your feedback!
Who is online
Users browsing this forum: No registered users and 9 guests