Used in a Sentence

subclassing

Definitions, parts of speech, synonyms, and sentence examples for subclassing.

Editorial note

The fact that subclassing Object, vs subclassing null, vs no subclass will be a lot of fun to understand.

Examples14
Definitions4
Parts of speech2

Quick take

A secondary class within a main class.

Meaning at a glance

The clearest senses and uses of subclassing gathered in one view.

noun

A secondary class within a main class.

noun

(taxonomy) A rank directly below class.

verb

(transitive, computing) (in object-oriented programming) To create a subclass of (some class).

Definitions

Core meanings and parts of speech for subclassing.

noun

A secondary class within a main class.

noun

(taxonomy) A rank directly below class.

verb

(transitive, computing) (in object-oriented programming) To create a subclass of (some class).

noun

(object-oriented programming) An object class derived from another class (its superclass) from which it inherits a base set of properties and methods.

Example sentences

1

The fact that subclassing Object, vs subclassing null, vs no subclass will be a lot of fun to understand.

2

The point is that you need to be careful designing and documenting for subclassing.

3

In Java, this typically means subclassing Callable or some other class and you end up with lots of anonymous subclasses, which can be quite verbose.

4

Modifying behavior only by subclassing rather than changing the code was the original idea of the open/closed principal.

5

Because Ruby and Python programmers are just bleeding to death from the thousand cuts of overriding methods during subclassing.

6

But if so, they need to qualify their bald statement about subclassing being a derivative work.

7

The problem with inheritance and subclassing is that it only handles a single dimension of customization.

8

When subclassing, what is the advantage of [Symbol.toStringTag] getter over the toString() method override?

9

On the other hand, apart from making everything simpler, configurations could now be coded as Java classes, with all the subclassing/abstraction/composition goodness.

10

I find that a touch inscrutable, but to make an object have various behaviors certainly doesn't require subclassing.

11

It demonstrated about 12 different patterns people have used for creating 'classes' and 'subclassing' them, each with a list of advantages and disadvantages.

12

Also, cglib only allows subclassing but not the rewrital of existing classes.

Quote examples

1

> The answer given in the GPL FAQ is short and to the point: “Subclassing is creating a derivative work.” So, if tomorrow Apple releases Swift with GPL or Microsoft releases C# with GPL, then everything that is written using those languages has to be GPL?

Proper noun examples

1

Subclassing doesn't address the major issues of error handling at all, as far as I know, but again--I'd be interested to hear how you feel they are different (Rust already has an IOError that suffices for the cases you seem to be concerned about, but in practice there are many more types of error than that).

Frequently asked questions

Short answers drawn from the clearest meanings and examples for this word.

How do you use subclassing in a sentence?

The fact that subclassing Object, vs subclassing null, vs no subclass will be a lot of fun to understand.

What does subclassing mean?

A secondary class within a main class.

What part of speech is subclassing?

subclassing is commonly used as noun, verb.