Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Could I see a question like that on the exam?

 
Ranch Hand
Posts: 74
Netbeans IDE Tomcat Server Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The question is like this :

What is the result of the following code?



Is there a chance I could see a question like that on the exam?

Because as far as I know, bit-shifting is not on the exam anymore, it's been removed since the 1.4 exam, right?
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I donot think as it contains bitwise operator.

Please correct me if i am wrong.
Thanks
 
Mahmoud Hossam
Ranch Hand
Posts: 74
Netbeans IDE Tomcat Server Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Prakash Mahto wrote:Hi
I donot think as it contains bitwise operator.

Please correct me if i am wrong.
Thanks



I hope you're not

waiting for someone to confirm this......
 
Greenhorn
Posts: 17
Android Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is what k&b says on page-289 of OCPJP6 book

from K&B book wrote:

Don’t spend time preparing for topics that are no longer on the exam!
In a nutshell, the Java 5 exam differs from the 1.4 exam by moving away from bits, and
towards the API. Many 1.4 topics related to operators have been removed from the exam,
so in this chapter you WON’T see
■ bit shifting operators
■ bitwise operators
■ two’s complement
■ divide by zero stuff
It’s not that these aren’t important topics, it’s just that they’re not on the
exam anymore, and we’re really focused on the exam.



 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i read that in K&B too
 
Mahmoud Hossam
Ranch Hand
Posts: 74
Netbeans IDE Tomcat Server Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, I saw that too, but this question is from a different book

I'm using that book as a fast track to OCPJP, K&B is just too big to go over it all in a week or so

I guess I'll just skip this question

Thank you guys so much for your help
 
Ranch Hand
Posts: 448
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Even if it comes in any exam or interview, use the options to find correct answer...
 
reply
    Bookmark Topic Watch Topic
  • New Topic