# Uses of Class
jdk.jshell.PersistentSnippet

Packages that use PersistentSnippet
Package | Description
--- | ---
jdk.jshell | Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.

## Uses of PersistentSnippet in jdk.jshell

Subclasses of PersistentSnippet in jdk.jshell
Modifier and Type | Class | Description
--- | --- | ---
`class` | `DeclarationSnippet` | Grouping for all declaration Snippets: variable declarations (`VarSnippet`), method declarations (`MethodSnippet`), and type declarations (`TypeDeclSnippet`).
`class` | `ImportSnippet` | Snippet for an import declaration.
`class` | `MethodSnippet` | Snippet for a method definition.
`class` | `TypeDeclSnippet` | Snippet for a type definition (a class, interface, enum, or annotation interface definition).
`class` | `VarSnippet` | Snippet for a variable definition.