Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

correct syntax for access providers in java

Sun Jan 23, 2011 8:18 pm

correct syntax for access providers in java
can anyone explain to me what is syntax is please? And Which of the following is/are syntaxes?

a. public boolean isEven ;
b. private boolean isEven ;
c. private boolean isOdd ;
d. public boolean is Odd ;
e. string S ;
f. public String boolean ;
g. private boolean even = 0 ;
h. private String s = helloword ;



Re: syntax

Mon Jan 24, 2011 9:12 am

if u means what is wrong ,
i think : d , e,g,h

Re: syntax

Sun Feb 27, 2011 9:59 am

option g is correct one

Re: syntax

Sat Aug 20, 2011 6:49 pm

only if :
Code:
private boolean even=Boolean.valueOf("0");


Re: syntax

Wed Jan 18, 2012 8:37 am

In my point of view option g is true. but you can search it on Gooogle.

Post a reply
  Related Posts  to : correct syntax for access providers in java
 java Collection Syntax     -  
 How java access URL     -  
 MS-Access with java     -  
 access modifiers in java     -  
 data access layer for java     -  
 HOW I Access the Parallel Port in Java?     -  
 java code to open word doc attached in ms access.db     -  
 Password Security Manager Access File Java     -  
 PHP Syntax     -  
 syntax of the session_start () in php     -