• 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:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

hexadecimal format

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I still have doubt about the filling the answer in the text field
in the sjcp.
1. If we need to give a syntax
say
super(i)
do we need to give a ";" at the end or just leave it as it is.
2. How should the hexadecimal value be represented.
i.e actual hexadecimal value for 7 is 0x7.
should i represent it like 0x0007 or 0x07 or 0x7 ?
 
Ranch Hand
Posts: 477
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
>super(i)
>do we need to give a ";" at the end or just leave it as it is.
Yes
2. How should the hexadecimal value be represented.
>i.e actual hexadecimal value for 7 is 0x7.
>should i represent it like 0x0007 or 0x07 or 0x7 ?
All options compile and represent decimal 7, but I read that the correct representation is with 4 places, like: 0x0007
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Marcela Blei:
>super(i)
>do we need to give a ";" at the end or just leave it as it is.
Yes


What do u mean by Yes ? Do we need to give a ';' ??? Yes or No ?
 
reply
    Bookmark Topic Watch Topic
  • New Topic