# 9.7 What classes do not have

> PseudoLearn deliberately leaves out some pieces of other object languages, and when it recognises them it explains so with a message of its own.

Web page: https://pseudolearn.app/en/spec/objetos/ausentes

> **In one sentence**
>
> PseudoLearn deliberately leaves out some pieces of other object languages, and when it recognises them it explains so with a message of its own.

## 9.7.1 How it works

These constructs are **not part** of the current edition:

| Construct | Diagnostic |
| --- | --- |
| abstract classes and methods | `unsupportedAbstractConstruct` |
| static members | `unsupportedStaticConstruct` |
| protected visibility | `unsupportedProtectedConstruct` |
| exception handling with blocks | `unsupportedExceptionConstruct` |

**Figure 9.7-1: Absent constructs**

Four constructs that do not exist, each with its alternative: abstract classes versus interfaces, static members versus parameters, protected versus Public and Private, and exceptions versus Result.

The four constructs that are recognised to explain that they do not exist, and what PseudoLearn offers instead.

The engine recognises their typical forms **only in a structural position** —for example, one more word in a class header— and gives a teaching message instead of a generic error. Those words **are not reserved**: they can be used as names anywhere else.

### Program: A static member

```pseudolearn
Class Contador
  Estatico Define total As Integer;
EndClass

Algorithm Mal
EndAlgorithm
```

**Diagnostics**
- `unsupportedStaticConstruct` (error, 2:3): Static members are not supported in PseudoLearn

*The program finishes with an error.*

For expected errors, the language uses values: [Optional and Result](https://pseudolearn.app/en/spec/tipos/opcional-resultado.md). To share data between objects, it is passed as parameters.

**In short**
- There are no abstract classes, static members, protected or exceptions.
- Their typical forms produce a message of their own.
- Those words remain valid names.

**See also**
- [9.1 Classes and attributes](https://pseudolearn.app/en/spec/objetos/clase.md)
- [3.10 Optional and Result](https://pseudolearn.app/en/spec/tipos/opcional-resultado.md)
