What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-11-16 20:35:09
inheritance
it is used to define relationship between two class, which a child class occurs all the properties and behaviours of a parent class. Provides code reusability. Ex: in my framework I have a TestBase class which I store all my reusable code and methods. ... Add solution -
Javascript 2021-10-27 13:10:13
javascript nameof
// TypeScript // NameOf.ts export const NameOf = <T>(name: keyof T) => name; // Setup class User { Name: string; Age: number; } // Usage import {NameOf} from './NameOf'; function UseNameOf() { console.log(NameOf<User>('Name')); } /... Add solution -
Python 2021-09-19 13:34:02
inheritance
it is used to define relationship between two class, which a child class occurs all the properties and behaviours of a parent class. Provides code reusability. Ex: in my framework I have a TestBase class which I store all my reusable code and methods. ... Add solution -
Java 2021-08-27 18:48:01
Inheritance
it is used to define relationship between two class, which a child class occurs all the properties and behaviours of a parent class. Provides code reusability. Ex: in my framework I have a TestBase class which I store all my reusable code and methods. ... Add solution
Best helpers
Michaelyus
+5
EBA2018
+5
Eric Lewis
+5
J. Tatum
+5
Erwaman
+5
Jp_
+5
Fauve
+5
Katy Forde
+5
Jcvamp
+5
Chris
+5
Xiaotian Pei
+5