473,387 Members | 1,573 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

is null a keyword in java

65
is null a keyword in java?

in the book "Programmer's Guide to Java Certification, A: A Comprehensive Primer, Second Edition" by By Khalid A. Mughal, Rolf W. Rasmussen
null true false are listed in the "Reserved Literals in Java" table not in the
"Keywords in Java" table.

but in the mock exam of the same book answer of one question is given as:
"Java has a keyword null, but not NULL"

in another book (written by jamie jaworski) i see this explanation:
"NULL, null, and main are not Java keywords."

now i am really confused. how should i answer the questions related with java keywords in java programmers exam?
Nov 8 '07 #1
5 3784
r035198x
13,262 8TB
is null a keyword in java?

in the book "Programmer's Guide to Java Certification, A: A Comprehensive Primer, Second Edition" by By Khalid A. Mughal, Rolf W. Rasmussen
null true false are listed in the "Reserved Literals in Java" table not in the
"Keywords in Java" table.

but in the mock exam of the same book answer of one question is given as:
"Java has a keyword null, but not NULL"

in another book (written by jamie jaworski) i see this explanation:
"NULL, null, and main are not Java keywords."

now i am really confused. how should i answer the questions related with java keywords in java programmers exam?
null is not a keyword.
P.S Sometimes it is best to read books written by the creators of the language itself.
Nov 8 '07 #2
JosAH
11,448 Expert 8TB
P.S Sometimes it is best to read books written by the creators of the language itself.
Ever so true; there are a lot of sloppy half baked authors out there that just want
a piece of the cake, no matter whether or not they've understood the subject they're
scribbling about: they're only in it for the money.

kind regards,

Jos
Nov 8 '07 #3
jx2
228 100+
so which book would you recomend?
personally i'm trying to read tutorial at java.sun.com
but i found it a bit to easy and a bit boring :/ oups :-)
so whats your recomendation for someone who already know a bit about programing (in c/c++ familly)

regards
jx2
Nov 8 '07 #4
r035198x
13,262 8TB
so which book would you recomend?
personally i'm trying to read tutorial at java.sun.com
but i found it a bit to easy and a bit boring :/ oups :-)
so whats your recomendation for someone who already know a bit about programing (in c/c++ familly)

regards
jx2
If you are done with Sun's tutorial go ahead and try the JLS itself.
You'll find all the links here.
Nov 8 '07 #5
jx2
228 100+
If you are done with Sun's tutorial go ahead and try the JLS itself.
You'll find all the links here.
nice list :-)
thanks a lot

jx2
Nov 8 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

69
by: Ken | last post by:
Hi all. When referring to a null pointer constant in C++, is there any reason to prefer using 0 over a macro called NULL that is defined to be 0? Thanks! Ken
10
by: Python_it | last post by:
Python 2.4 MySQL-python.exe-1.2.0.win32-py2.4.zip How can I insert a NULL value in a table (MySQL-database). I can't set a var to NULL? Or is there a other possibility? My var must be variable...
3
by: cyber0ne | last post by:
I have a UNION in a SELECT query on DB2 where the second half does not have all the fields that the first half has. In order to match up the fields, I am trying to do something akin to the...
102
by: junky_fellow | last post by:
Can 0x0 be a valid virtual address in the address space of an application ? If it is valid, then the location pointed by a NULL pointer is also valid and application should not receive "SIGSEGV"...
41
by: Alexei A. Frounze | last post by:
Seems like, to make sure that a pointer doesn't point to an object/function, NULL (or simply 0) is good enough for both kind of pointers, data pointers and function pointers as per 6.3.2.3: 3 An...
5
by: assaf | last post by:
hi all in the visual studio.net help, i found the following description of RSAParameters: RSAParameters.D Field
13
by: Paul Lautman | last post by:
I have the following switch statement: switch ($record->sub_page) { case -1: $this->page = 6; $error_message = '<center>You appear to have already completed the form.</center>'; break; case...
3
by: Vivienne | last post by:
hi, I am using visual studio for my c++ project, and have to call a c# dll. now I met a problem when a methed in c# dll returns null, I don't know how to use 'null' in c++. To make it...
2
by: crabsdf | last post by:
My project is a single method class which takes a xml object and, using Apache FOP, transforms it into a PDF which is returned as an output stream. Here is full code package...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.