Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Leaf class (computer programming)

In class-based object-oriented programming languages, a leaf class is a class that should not be subclassed. This can be enforced either by convention, or by using a language feature such as the reserved words (keywords) final in C++, Dart, Java, and PHP, or sealed in C# and Scala.

In Java, the Leaf node is an abstract class for all scene graph nodes that have no children. Leaf nodes specify lights, geometry, and sounds. They specify special linking and instancing abilities for sharing scene graphs and provide a view platform for positioning and orienting a view in the virtual world.

We don't have any images related to Leaf class (computer programming) yet.
We don't have any YouTube videos related to Leaf class (computer programming) yet.
We don't have any PDF documents related to Leaf class (computer programming) yet.
We don't have any Books related to Leaf class (computer programming) yet.
We don't have any archived web articles related to Leaf class (computer programming) yet.

References

  1. "PHP: Final Keyword - Manual". www.php.net. Retrieved 17 May 2023. https://www.php.net/manual/en/language.oop5.final.php

  2. "Class Leaf". Docs.Oracle. 2 April 2001. Retrieved 23 May 2022. https://docs.oracle.com/cd/E17802_01/j2se/javase/technologies/desktop/java3d/forDevelopers/J3D_1_3_API/j3dapi/javax/media/j3d/Leaf.html