473,385 Members | 1,311 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,385 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 3783
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.