Total members 11890 |It is currently Sat Apr 20, 2024 4:24 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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 ;




Author:
Newbie
User avatar Posts: 1
Have thanks: 0 time

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

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

option g is correct one


Author:
Newbie
User avatar Posts: 3
Have thanks: 0 time

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


_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

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


Author:
Newbie
User avatar Posts: 4
Have thanks: 0 time
Post new topic Reply to topic  [ 5 posts ] 

  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?     -  
 Password Security Manager Access File Java     -  
 java code to open word doc attached in ms access.db     -  
 PHP Syntax     -  
 syntax of the session_start () in php     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com