اكتب أي كلمة!

"destructor" بـJapanese

デストラクター破壊者

التعريف

デストラクターとは、何かを破壊する人や物を指します。プログラミングでは、オブジェクトが不要になった際に処理を行う特別な関数です。

ملاحظات الاستخدام (Japanese)

日常会話では「破壊者」の方が使われますが、プログラミングでは「デストラクター」と呼ばれます。「デストロイヤー」とは異なります。

أمثلة

A destructor can break things easily.

**破壊者**は物を簡単に壊すことができます。

The code calls the object's destructor when it is deleted.

コードはオブジェクトが削除されるときに**デストラクター**を呼び出します。

A virus can be a powerful destructor in a computer system.

ウイルスはコンピュータシステムの強力な**破壊者**になり得る。

The superhero fought against the evil Destructor in the city.

スーパーヒーローは街で悪の**デストラクター**と戦った。

If you don't free up memory, the destructor won't run and you'll have a memory leak.

メモリを解放しないと、**デストラクター**が実行されずにメモリリークが発生します。

Some games are real time-wasters, but this one is a productivity destructor.

いくつかのゲームはただの時間の無駄ですが、これは生産性の**破壊者**です。