Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what are the colors using in standard "Javadoc" ?

 
Sathi Krishna
Ranch Hand
Posts: 51
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Which colour is used to indicate instance methods in the standard "javadoc" format documentation ?

Please lemme know where do I get complete information regarding this?



 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You do not have to know this. How does it even matter what color is used ? What if I use a doclet that converts the javadoc to PDF and uses some other color ? Such questions will not be asked in the SCJP exam.
 
Sathi Krishna
Ranch Hand
Posts: 51
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for you reply..

I faced this question in one of the earlier mock exam in

http://javaquestion.tripod.com/java06.html

Thats why I asked...

Any questions will exists in scjp6 related to javadoc.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65116
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have got to be kidding me. JDK 1.1?
 
Sathi Krishna
Ranch Hand
Posts: 51
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sorry,I am not kidding.

To know information I posted this query...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65116
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chill. My comment was aimed at your link, not you. Do you really think there will be questions on the JDK 1.1 Javadoc on the test?
 
Nitish Bangera
Ranch Hand
Posts: 537
Eclipse IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that test is not even for SCJP5 and SCJP6. The version is far too outdated. Test yourself with examlab and masterexam.
 
Sathi Krishna
Ranch Hand
Posts: 51
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You Bibeault & Nitish
 
Campbell Ritchie
Sheriff
Pie
Posts: 49788
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sathi Krishna wrote:Which colour is used to indicate instance methods in the standard "javadoc" format documentation ?
Have you looked on the website? I always thought it was black
Please lemme know where do I get complete information regarding this?
Try going through the javadoc tool documentation.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15439
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm.... As Bear already said, that mock test is not the best one to use to prepare for SCJP 5 or SCJP 6. Java 1.1 is really old - it's a version of Java from 1998 or so. You will certainly not get questions like "what colors are used in Javadoc for instance methods" on the SCJP exam - so don't waste your time with that mock exam.

Have a look at our SCJP FAQ and list of mock tests.

Especially popular for preparing for SCJP is the SCJP Study Guide by Kathy Sierra and Bert Bates (also known as "K&B"). It contains a lot of practice questions and a practice exam. Also Devaka Cooray's ExamLab is used by many people on the forum here for SCJP practice.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A lot of my JavaDoc is black on a white background. I printed it.

Actually, the original JavaDocs were a lot more colorful and artistic. The ones we use these days are more spartan, but denser in information.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65116
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, depending on where it is, it could also be blue!

It's also easy to change with a change of CSS.

Mine are maroon!
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Holloway wrote:A lot of my JavaDoc is black on a white background. I printed it.

Actually, the original JavaDocs were a lot more colorful and artistic. The ones we use these days are more spartan, but denser in information.


This is quickly turning into MD
 
Paul Clapham
Sheriff
Posts: 21319
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:
Sathi Krishna wrote:Which colour is used to indicate instance methods in the standard "javadoc" format documentation ?
Have you looked on the website? I always thought it was black.


Actually the Java 1.1 documentation was formatted very differently from the documentation we have now, which has remained pretty much unchanged since Java 2 came along.

But I don't remember what colour was used for instance methods, in fact I don't even remember colour-coding being used. It certainly hasn't been used in the Java 2 style documentation, perhaps there were concerns about accessibility. (Remember that a considerable percentage of the human race is colour-blind.)

So,yeah, my opinion of that question is pretty low too.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic