What do you want to save?
Add Code snippet
New code examples
-
Java 2021-11-22 11:21:29
what is method overriding in java
Method overloading is providing two separate methods in a class with the same name but different arguments, while the method return type may or may not be different, which allows us to reuse the same method name. Method overriding means defining a method... Add solution -
Java 2021-11-22 11:21:28
what is method overriding in java
Method overloading is providing two separate methods in a class with the same name but different arguments, while the method return type may or may not be different, which allows us to reuse the same method name. Method overriding means defining a method... Add solution -
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 -
Python 2021-11-15 23:51:10
python inheritance remove an attribute
Think carefully about why you want to do this; you probably don't. Consider not making B inherit from A. The idea of subclassing is to specialise an object. In particular, children of a class should be valid instances of the parent class: >>> c... Add solution -
TypeScript 2021-11-14 15:03:09
oops concepts in java
OOP focuses on the objects that are required to be manipulated instead of logic. - It makes development and maintenance easier - It provides data hiding - It provides ability to simulate real-world - less memory and organized - reusable OOP language fol... Add solution -
PHP 2021-11-12 12:22:16
how to inherit a class php
I think the best way for beginners to understand inheritance is through a real example so here is a simple example I can gave to you <?php class Person { public $name; protected $age; private $phone;  ... Add solution -
Java 2021-11-11 08:25:16
what is method overloading and method overriding in Java?
Method overloading is providing two separate methods in a class with the same name but different arguments, while the method return type may or may not be different, which allows us to reuse the same method name. Method overriding means defining a method... Add solution -
TypeScript 2021-10-30 06:48:08
input property angular
/* @Output() - allows data to flow from the child class to the parent class - normally initialized with EventEmitter */ // Parent Component import { Component } from '@angular/core' @Component({ selector: app-component, template: ` <app-item... Add solution -
Other 2021-10-28 18:11:06
what is oop concept
OOP focuses on the objects that are required to be manipulated instead of logic. - It makes development and maintenance easier - It provides data hiding - It provides ability to simulate real-world - less memory and organized - reusable OOP language fol... Add solution -
Java 2021-10-24 21:22:13
class is abstract cannot be instantiated
An abstract class is a class that is declared abstract —it may or may not include abstract methods. Abstract classes cannot be instantiated, but they can be subclassed. When an abstract class is subclassed, the subclass usually provides implement... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5