> For the complete documentation index, see [llms.txt](https://bernardo.gitbook.io/development-docs-java/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bernardo.gitbook.io/development-docs-java/generics/concrete-generics.md).

# Bound Parameters

It is possible specifying more exactly the type used:

```java
public class WithGeneric<T>;

public class WithGenericNumber<T extends Number>;
```

```java
// Valid
new WithGeneric<String>();

// Compile error
new WithGenericNumber<String>();
```

## Multiple Bounds

```java
public class WithGeneric<T extends A & B & C>;
```
