Home Help Java T true Java Keyword
Questions:Ask|Latest


 
 

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

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

Ask Questions?    Discuss: true Java Keyword  

Post your Comment


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