# Variable

* jsx

  ```tsx
  import { Variable } from "@alloy-js/java";


  <Variable
    abstract
    default
    final
    name={string | Namekey}
    native
    private
    protected
    public
    static
    strictfp
    synchronized
    transient
    type={Children}
    value={Children}
    volatile
   />
  ```

* stc

  ```ts
  import { Variable } from "@alloy-js/java/stc";


  Variable({
    abstract: boolean,
    default: boolean,
    final: boolean,
    name: string | Namekey,
    native: boolean,
    private: boolean,
    protected: boolean,
    public: boolean,
    static: boolean,
    strictfp: boolean,
    synchronized: boolean,
    transient: boolean,
    type: Children,
    value: Children,
    volatile: boolean,
  }).children(children)
  ```

## Props

|              |                                                    |   |
| ------------ | -------------------------------------------------- | - |
| abstract     | optional boolean                                   |   |
| default      | optional boolean                                   |   |
| final        | optional boolean                                   |   |
| name         | string \| [Namekey](../../../core/types/namekey/)  |   |
| native       | optional boolean                                   |   |
| private      | optional boolean                                   |   |
| protected    | optional boolean                                   |   |
| public       | optional boolean                                   |   |
| static       | optional boolean                                   |   |
| strictfp     | optional boolean                                   |   |
| synchronized | optional boolean                                   |   |
| transient    | optional boolean                                   |   |
| type         | [Children](../../../core/types/children/)          |   |
| value        | optional [Children](../../../core/types/children/) |   |
| volatile     | optional boolean                                   |   |
