• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is assert a java keyword?

 
Uma Kanth
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If yes can some body please list me all the java keywords?
Thanx in advance
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From A Simple Assertion Facility For the Javatm Programming Language

A new keyword is added to the language: assert. The use of this keyword is governed by one modified production and one new production in the grammar...

The other Java keywords are listed in JLS 3.9 Keywords
 
Uma Kanth
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am planning to appear for SJCP2
It means that the list of key words change in the exam point of view ?
Are there any other key words added to j2se1.4()
Thanx
 
Jasper Vader
Ranch Hand
Posts: 284
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah assert would be a keyword in the latest SCJP exam test.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic