Skip to main content

Subclass Definition (programming)

A subclass is a child class of a parent class (base class, superclass, ancestor class); it is a class derived from another class.

In other words, a subclass is a description of a class based on the structure of another class.

Some programming languages ​​also allow a class to have multiple parents.

Subclasses and classes are used in object-oriented programming (POO).

Subclass characteristics

A subclass inherits certain characteristics of the parent class/s is like an extension of this, and even new features of the parent class can be redefined or added.

A subclass inherits the state and behavior of all their ancestors.

The term superclass refers to the class that is the most direct ancestor, as well as to all ascending classes.

One of the mechanisms by which a subclass obtains the behavior (methods) and attributes (variables) of its superclass is called inheritance, but it cannot be said that a subclass is always an inheritance, because the subclass could redefine all of its superclass, so nothing would be inherited in that case.

Related terminology

• Class (programming)

• Object-oriented programming

• Inheritance (programming)

Questions? needs more information?
Write and we will respond to your email

Comments

Popular posts from this blog

Virtualization Definition

1.System that is in a state of virtualization.For more information see: virtualization. 2.Execute a virtually stored program. 3.Simulate some effect or condition on a computer. 4.Make or conform a virtual reality. Doubts? needs more information? Write and we will respond to your email

Network transparency definition

Network transparency refers to the ability of a protocol to transmit data over the network in a way that is transparent (invisible) to those who are using the applications that use the protocol.In this regard, users of a particular application they can access remote resources in the same way they would access their own local resources. An example of this is cloud storage, where remote files are presented as if they were locally accessible; also the cloud computing where the resource in question is the processing. From English: network transparency. X Windows The term is often applied partially correctly in the context of the X Windows system, which is capable of transmitting graphic data over the network and integrating it seamlessly with the applications that are running and displayed locally; however, certain extensions of the X Windows system are not able to work on the network. Firewall In firewall technology, transparency can be defined in the network layer ( or IP) or ...

Monoprogramming Definition

Monoprogramming, also called monoexecution, is an operating system in which only one program is executed at a time and no other is executed until the previous one is finished. In other words, only one program is executed at a time within a single address space. This type of execution practically does not exist anymore because it has been replaced by multiprogramming. Monoprogramming vs.multiprogramming In the monoprogramming, the memory only contains one program at any time, while in the multiprogramming the memory contains more than one user program. In the case of monoprogramming, when the CPU is running the program and it find an I/O operation (input-output), then the program goes to the I/O devices, during that time the CPU remains idle.Therefore, in the monogramming the CPU is not used effectively, that is, CPU utilization is poor. However, in the multiprog branch, when a user program contains I/O operations, the CPU changes to the next user program.Therefore, the CPU i...

Definition of Macrocomputer (macrocomputer)

A macrocomputer is a large, powerful and expensive computer used primarily in companies that need to process large amounts of data or support large numbers of users.It contrasts with the concept of microcomputer (or microcomputer).Sometimes called macrocomputers. In English: mainframe and macrocomputer. For more information see: Mainframe What is a macrocomputer or mainframe? A large and powerful computer capable of managing a large number of simultaneous tasks and of communicating with a large number of connected terminals; used by large and complex organizations (such as banks and supermarkets) in which continuous operation is vital. Characteristics of macromputers Macrocomputers are a type of computer that are generally known Due to their large size, storage quantity, processing power and high level of reliability, they are mainly used by large organizations for critical mission applications that require large volumes of data processing.In general, there are some characte...

Definition of DPI or PPP (print quality)

(dots per inch, dots per inch).The DPI or PPP is a unit of measurement of the resolution of an image (related to quality) of a scanner, a printer, etc.It serves to measure the resolution, which is the amount of dots that enter an inch.It is expressed like this: (number) x (number) dpi. A resolution of 300 dpi will produce a text that will show broken lines visible under a magnifying glass.Even larger resolutions are necessary to obtain reproductions of smooth photographs.Professional graphics use printers with resolutions from 1200 to 2400 dpi. Pixels or resolution of a photo and printing in centimeters There is no direct equivalence between the pixels of a digital image and the centimeter of printing that correspond to it.A very small image can be printed very large on paper, but the pixels of the printed image will begin to be noticed at first glance.There are techniques to "enlarge" the digital image and soften it a bit the pixels, but these do not make ma ravillas. ...

Definition of Pie menu

Addictions (foot menu, radial menu, cake menu, cake menu).Circular menu type.See Cake menu. Do we improve the definition? Points: 0 (0 votes) We answer your questions or comments below: Questions? needs more information? Write and we will respond to your email Informatics Dictionary

Windows Automatic Update Definition

Tool that allows to keep the Windows operating system updated automatically. This tool connects regularly to Microsoft servers, and is responsible for searching, proposing and installing the latest updates for Windows and other components installed in it. Using the Windows Update tool To use the automatic update, follow these steps: 1.Click Start and then Control Panel. 2.Click on System Properties, here you access the screen where the alternatives are and select the Automatic Updates tab. A) In this option the XP updates automatically go down to the system and are installed directly. B) Here we set the time at which we want the updates to come down. C) With this alternative, the internet update is low and will only be installed when we want it. D) This option notifies the publications that Microsoft makes to a new update, but does not download to the system. E) Clicking here disables automatic updates Doubts? needs more information? Write and we will respond to yo...

OpenDocument Definition (ODF)

OpenDocument (ODF), is a group of XML-based file formats, which represents electronic documents such as spreadsheets, presentations, text documents, etc.In other words, they are open formats for office applications. A file OpenDocument consists of an XML document or they can also be a ZIP archive that contains several files and directories that contain styles, metadata, application settings and content. Some OpenDocument document formats *.odt (for text documents) *.ods (for spreadsheets) *.odp (for presentations) *.odb (for databases) *.odg (for graphics) *.odf (for equations and mathematical formulas ), etc. Some applications that work (partially or totally) with some of these formats are: AbiWord, Adobe Buzzword, Atlantis Word Processor, Google Docs, IBM Lotus Symphony, KOffice, Microsoft Office 2007 (and top), NeoOffice, Okular, OpenOffice.org, Sun Microsystems StarOffice, Word Pad 6.1 (Windows 7) partial support, Zoho Office Suite, etc. Questions? needs more information? ...