Home Help Java T true Java Keyword

Related Tutorials


 
 

Share on Google+Share on Google+

true Java Keyword

Advertisement
The true is a keyword defined in the java programming language.

true Java Keyword

     

The true is a keyword defined in the java programming language. Keywords are basically reserved words which have specific meaning relevant to a compiler in java programming language likewise the true keyword indicates the following :

-- The true keyword in java programming language indicates one of the two defined values for a boolean variable (which may be 0 or 1).

Example to use the true keyword in a class:

public class Class{

boolean is = true;

}

Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: November 18, 2009

Related Tutorials

Discuss: true Java Keyword  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com