### Source code for NOTPasswordExample.java:

>     public class NOTPasswordExample
>     {
>     	public static void main(String args[])
>     	{
>     		// NOTPasswordExample
>     		String password;
>     		password = new String("Wrong Password");
>     		// Later
>     		if (!password.equals("open sesame"))
>     		{
>     			System.out.println("Sorry, incorrect password.");
>     		}
>     	}
>     }

### Output from NOTPasswordExample.java:

    Sorry, incorrect password.

--- Output Ends ---

#### NOTE:

You are reading previously generated output. You are not currently running the NOTPasswordExample application at the momement. You need to compile and run the source code first.

#### To run this program:

`
- javac NOTPasswordExample.java
- java NOTPasswordExample
`

Authors: Kevin Chu and Eric Brower
Copyright 2000 Prentice Hall PTR