• 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
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Java Code Conventions

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

Is it required to go through the complete "Java Code conventions" document in java.sun.com website for the SCJP 5 Exam?

Thanks,
Adithi
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i don't recall that code conventions should be taken into account for SCJP. I think it is related to SCJD.
 
Ranch Hand
Posts: 1609
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I am not wrong the root of this question lies in the objective 1.4


Develop code that declares both static and non-static methods, and�if appropriate� use method names that adhere to the JavaBeans naming standards. Also develop code that declares and uses a variable-length argument list.



I think the intention is to expect that good programmers not only write code that is very tricky and complex but also little descent.
 
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
SCJP exam has got nothing to do with Java code conventions.
In fact the exam questions will not stick to code conventions [spaces] because to of universal testing tool should work on all kinds of OS's and resolution.
thanks
deepak
 
Adithi Palli
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank You Christophe , Akhilesh and Deepak for your valuabe response.

Regards,
Adithi
 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear,

There are few things that you need to know about the JavaBeans naming standards:-

Check:-this url

And you can expect to get questions on them
 
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
Yes, you do have to know about the conventions for Java Beans, but that is something different than the document that Adithi refers to (Code Conventions for the Java Programming Language). You do not need to know that document to do SCJP.
 
Adithi Palli
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank You Raef and Jesper.

Regards,
Adithi
 
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
True, you may not need to know it for the test..... but....

you are going to be writing code to train for the test. It is a simple enough document, it takes about 10 minutes to read through and it will set a good foundation for writing "read-able, maintainable" code. I would advise studying and using it early on to set the pattern in your mind now.
 
Adithi Palli
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank You Bob for your advice. I will definitely try to follow it.

Thanks,
Adithi
 
You had your fun. Now it's time to go to jail. Thanks for your help tiny ad.
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic