Microsoft SDK for Java

Utils.getReservedWord

Determines whether the string is a reserved Java keyword.

Syntax

public static boolean getReservedWord( String s )

Parameters

s

The string to check.

Return Value

Returns true if the string is a reserved Java keyword; otherwise, returns false.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.