• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SCJP 1.5 - Procedure for registration.

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

COuld someone let me know what is the procedure to register for the SCJP1.5 certification?
Can registration be done online on the sun's website or do we have to get a voucher from the local prometric centre?

Thanks in advance!

Niara
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You have to get a voucher from Sun's site and then register for the exam in the prometric site using this voucher.
 
Ranch Hand
Posts: 1880
Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,

You can get the voucher from any of the authorised prometric centers.
www.prometric.com/
 
Niara Bhonde
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks much!
I will be getting the voucher in a day or two.

Could you also help me on this bit?
When I run the following code, I get a "illegal start of expression" error at line 5:

1.class chk11
2.{
3.public static void main(String[] args)
4.{
5.private int[] y = new int [1];
6.System.out.println(y[0]);
7.}
8.}

I don't see what the error is.Can someone help?

Thanks in advance.
Niara.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can't make a local variable private.
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The array you are defining is a local (declaring within the method). Local variables cannot have any access modifiers (public, private, protected). I believe only "final" is allowed on a local variable. Remove 'private' from your code and it should work fine.
 
Niara Bhonde
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jesper.
 
Niara Bhonde
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Lucy!

I did try using final, and it works!
 
reply
    Bookmark Topic Watch Topic
  • New Topic