Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passed OCAJP

 
Cedric Bosch
Ranch Hand
Posts: 92
3
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Passed with 87% .
Quite happy about that. I'm looking to pass the second level next week or the week after that. I read doc and pass the tests of enthuware for 10 days and everything went smooth. So two weeks for the second cert doesn't seem like a stretch
I don't know if it's good or not, looking at the result posted on the forum it seems average, but the sample might be biased :p.

To give some tips to other who might read this: know inheritance coupled with access modifier and interfaces like your right hand. I'd say it plays some sort of a role in 20 % of the questions.
The doc on java basics tutorial is not enough. There is a lot of edge cases that aren't talked about. The morning of the exam (today) I knew I knew it good but not super good so I made some test and found 2 concepts I was unaware of. Sure enough I had 2 question on those 2.
When I say access modifier it's for example this :


Damn it's so.. sneaky
 
Daniel Cox
Ranch Hand
Posts: 147
7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations
 
Mikalai Zaikin
Ranch Hand
Posts: 3371
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cedric Bosch wrote:Passed with 87% .
Quite happy about that. I'm looking to pass the second level next week or the week after that. I read doc and pass the tests of enthuware for 10 days and everything went smooth. So two weeks for the second cert doesn't seem like a stretch
I don't know if it's good or not, looking at the result posted on the forum it seems average, but the sample might be biased :p.

To give some tips to other who might read this: know inheritance coupled with access modifier and interfaces like your right hand. I'd say it plays some sort of a role in 20 % of the questions.
The doc on java basics tutorial is not enough. There is a lot of edge cases that aren't talked about. The morning of the exam (today) I knew I knew it good but not super good so I made some test and found 2 concepts I was unaware of. Sure enough I had 2 question on those 2.
When I say access modifier it's for example this :


Damn it's so.. sneaky


Yeah, "protected" prevents access from other packages, however your B still has access to "int i" via inheritance. Here is an example:

 
Cedric Bosch
Ranch Hand
Posts: 92
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the kind answers .

Mikalai Zaikin wrote:
Yeah, "protected" prevents access from other packages, however your B still has access to "int i" via inheritance. Here is an example:

Yup, However with the way you changed the code you can access it directly as well . You can do :



(because they are in the same package). The thing that threw me off at first is that protected means it is accessible in subclasses. So one would assume it would be accessible in the class B since B extends A. And it is! but not like this.
 
Liutauras Vilda
Bartender
Pie
Posts: 2756
111
BSD VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations, well done
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cedric,

Congratulations champion! Great achievement Now it's time to relax a bit and have a (well-deserved) (or 2 or 3). And if you want to spoil yourself have a Belgian beer, our beers are the best of the world

Don't forget to add your name to the OcajpWallOfFame!

Kind regards,
Roel
 
sofia miller
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations! Cedric Bosch
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic