# Interface methods with {} or = 0. What's the different? Can I use both?

**URL:** <https://forums.unrealengine.com/t/interface-methods-with-or-0-whats-the-different-can-i-use-both/2877241>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [December 4, 2026, 5:53pm UTC](https://forums.unrealengine.com/t/interface-methods-with-or-0-whats-the-different-can-i-use-both/2877241 "2026-12-04T17:53:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [December 4, 2026, 5:53pm UTC](https://forums.unrealengine.com/t/interface-methods-with-or-0-whats-the-different-can-i-use-both/2877241/1 "2026-12-04T17:53:14Z")

</div>

Hi!

I have this interface:

```cpp
#pragma once

#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "EventManagerInterface.generated.h"

// This class does not need to be modified.
UINTERFACE(MinimalAPI)
class UEventManagerInterface : public UInterface
{
   GENERATED_BODY()
};

/**
*
*/
class MYGAME_API IEventManagerInterface
{
   GENERATED_BODY()

// Add interface functions to this class. This is the class that will be inherited to implement this interface.

public:

   virtual void AMethod() {};

};

```

What is the different between this method `virtual void AMethod() {};` and this one `virtual void AMethod() = 0;`?

Someone has said me that the second one is an abstract/pure virtual, you can’t have that in UE reflected classes. All reflected types must be instantiable.

But I don’t know if a reflected class.

---

<div class="post-metadata">

**Author:** ![lucas\_kokku](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lucas_kokku/32/1227621_2.png) [@lucas\_kokku](https://forums.unrealengine.com/u/lucas_kokku)\
**Post date:** [December 4, 2026, 6:28pm UTC](https://forums.unrealengine.com/t/interface-methods-with-or-0-whats-the-different-can-i-use-both/2877241/2 "2026-12-04T18:28:12Z")

</div>

> [@ViaCognita](#):
>
> Someone has said me that the second one is an abstract/pure virtual, you can’t have that in UE reflected classes. All reflected types must be instantiable.

Hi! That’s exactly right. A reflected type is generally something that inherits directly or indirectly from UObject, things such as: AActor, UGameInstance, UDataAsset, etc. Those classes cannot contains abstract methods since UE’s object system must be able to instantiate them.

However, C++ interfaces such as your `IEventManagerInterface` are technically not reflected and may include pure virtual functions. In general, you’d use a pure virtual function when you don’t want to provide a default implementation for that function, requiring derived classes to implement it.

So, if you expect classes using your interface to always provide their own implementation of `AMethod()`, you may declare it as pure virtual (`= 0;`). Otherwise, if you’d rather make it optional, leave it just like that, with an empty `{}`body or some other default implementation.
