Joined: Sun Jan 23, 2011 8:04 pm Posts: 1 Has thanked: 0 time Have thanks: 0 time
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 ;
msi_333
Question subject: Re: syntax
Posted: Mon Jan 24, 2011 9:12 am
Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
if u means what is wrong , i think : d , e,g,h
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )
GSuriya
Question subject: Re: syntax
Posted: Sun Feb 27, 2011 9:59 am
Joined: Sun Feb 27, 2011 8:37 am Posts: 3 Has thanked: 0 time Have thanks: 0 time
option g is correct one
msi_333
Question subject: Re: syntax
Posted: Sat Aug 20, 2011 6:49 pm
Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
only if :
Code:
private boolean even=Boolean.valueOf("0");
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )
honeyclarck
Question subject: Re: syntax
Posted: Wed Jan 18, 2012 8:37 am
Joined: Tue Jan 17, 2012 8:35 am Posts: 4 Has thanked: 0 time Have thanks: 0 time
In my point of view option g is true. but you can search it on Gooogle.