Freelancer job part time jobs

100% Bonus
  • Home
  • Jobs hiring now
  • FAQ
  • Contact

Using comments

September 29, 2008 by Freelance

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Google+ (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • More
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to email this to a friend (Opens in new window)
  • Click to print (Opens in new window)

Just as it is used (#) to allow the Perl interpreter to know that a line of code is a comment, you can specify the comments in Java

In fact, there are several ways to denote comments into Java

For one line of comments, you can use the “/ /” For example, consider the following code :

/ / Initialize variables …
int age = 28; / / Declare and initialize age

To enter comments from several lines, using the symbols “/ *” and “* /”, as seen in the example

/ *
This is a sample class that is used to demonstratethe use of multi – Online reviews.
It was written by Carlos Jordan for Learning Java
* /
/ * Set an Example class with a single
Main (), with the method to print
“Hello cyberspace!” to the standard output .
*/
public class Example
(Public static void main (String [] args)
(System.out.println ( “Hello cyberspace !”);
)
) < >

Finally, if you are writing reviews that should be included as part of a javadoc, you must use the “/**” “* /” combination as in the following example :

/ *
This is a kind of sample that is used to demonstratethe use of multi-line comments.
It was written by Carlos Jordan to learn Java. These comments do not appear in the documentation of java
* /
/ **
Example define a class with a single
main () method to print
“Hello cyberspace!” to the standard output.
This commentary appears in the javadoc.
* /

public class Example
(
public static void main (String [] args)
(
System.out.println ( “Hello cyberspace !”);
)
)

100% Bonus

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Google+ (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • More
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to email this to a friend (Opens in new window)
  • Click to print (Opens in new window)
By screen printing
Convert a whole base 10 Binary in Java (Recursive)
Java Socket’s Fundamentals – Ruby on Rails tutorial
Comments in PHP – php tutorial
Polymorphism
Four ways to ensure you receive comments on your web blog
Inheritance Syntax in C++ programming language
Outreach methods in VB.NET (Extension Methods)
Accepting command line arguments in C++ programming language
Variables and Strings
Court of Control – Algorithm and Example in C #
SQL Trim Function – SQL tutorial
PHP Strings – php tutorial

Filed Under: Freelance Programming tips, Freelancer job news

Earn money as trader

Earn from home ads

Work from home ads

InstaForex

Work from home as instaforex forex trader

instaforex bonus 30%

Freelance categories

  • Earn money as webmaster
    • Advertising
    • Affiliate program
    • Amazon
    • Bidvertiser
    • Blogging
    • Facebook
    • Google Adsense
    • Hosting
    • Komoona
    • LinkedIn
    • Neteller
    • SEO
    • Skrill Moneybookers
    • Twitter
  • Education
    • How to do
    • Job description glossary
    • Wordpress how to do
  • Freelancer advice tips
    • Forex trading from home
      • Affiliate programs
        • 500affiliates
        • Avapartner
        • Etoropartners affiliate program
        • HotForex Affiliate program HFaffiliates
      • Binary options trading
        • Anyoption
        • OptionBit Review
        • TradeRush
        • Ubinary
        • Yesoption
      • Facebook IPO price – buy facebook stock
      • Forex brokers reviews
        • 4XP Review
        • Alpari Russia Review
        • Alpari UK
        • AvaTrade Review
          • AvaFx Review
        • DeltaStock Review
        • Directfx Review
        • DukaScopy Review
        • Easy Forex Review
        • Etoro Review
        • ETX Capital Review
        • Exness
        • Forex.com Review
        • Forex4you
        • ForexYard Review
        • FXCM Review
        • FXDD Review
        • FxOpen Review
        • Fxpro Review
        • HiWayFX review
        • Hotforex Review
        • HY Markets Review
        • IC Markets Forex Review
        • IFC Market
        • IForex Review
        • IG Markets
        • Instaforex Review
        • Ironfx Review
        • Keystock Review
        • LCG review
        • Liteforex broker
        • Marketiva Review
        • Markets.com Review
        • NordFx Review
        • Pepperstone Review
        • Plus500 review
        • Roboforex
        • SwissQuote Bank Review
        • Thinkforex
        • UFX Markets review
        • Windsor Brokers Review
        • XeMarkets Review
        • xForex
        • Xtrade Review
        • Youtrade FX Review
        • Zulutrade Review
    • Freelance glossary
    • Freelance Programming tips
    • Learn about programming
      • C++
      • Linux
      • PHP
      • Ruby on rails
      • SQL
    • Top freelance websites
    • Web Design tips
    • Work from home business
    • Writing tips
  • Freelancer job news
    • Job advice
    • Thinking
    • Worldwide job offers
  • IT news
  • Jobs

Best Forex Brokers Reviews

  • Avafx Review – how to earn in forex market using Avafx Forex Broker
  • Avatrade Review
  • eToro Review
  • Alpari NZ Review
  • InstaForex Review
  • DukaScopy Review – Swiss bank Forex broker
  • Forex.com Review – how to earn money in forex market as trader
  • Ironfx Review
  • FXCM Review
  • FxOpen Review
  • Hotforex Review
  • Markets.com Review
  • UFX Markets Review
  • Zulutrade Review – earn money using free forex signals where forex experts trade for you
  • Exness forex broker Review
  • Fxpro Review
  • LiteForex forex broker review
  • NordFx Review and bonus
  • Roboforex forex broker Review
  • XM.com Review - Xemarkets forex broker review

Navigation

  • Home
  • Jobs hiring now
  • FAQ
  • Contact

Languages

  • Arabic language
  • Bengali language
  • Communiqué de presse
  • China language
  • Pressemitteilung
  • Japanese language
  • Comunicado de imprensa
  • Russian language
  • Presione soltar
  • Turkish
  • Comunicato stampa
  • Hindi language

Recent articles

  • How to earn money as freelancer ?
  • LCG broker Review
  • Forex vs. stocks – Which is a Better for Trading ?
  • Thinkmarkets Review
  • FxPro Review – download FxPro Metatrader – tight spreads
Freelancer job - Copyright 2007
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.