What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-04 19:15:09
difference between abstract and interface
Interface 1) Interface contains only abstract methods 2) Access Specifiers for methods in interface must be public 3) Variables defined must be public , static , final 4) Multiple Inheritance in java is implemented using interface 5) To implement an int... Add solution -
TypeScript 2021-09-19 14:35:02
angular unsubscribe example
/* Best practice is to create a base class and move generik handling to it */ import { Subscription, Observable } from 'rxjs'; import { OnDestroy } from '@angular/core'; export abstract class ComponentBase implements OnDestroy { set subs(subscriptio... Add solution -
Java 2021-09-10 14:16:03
difference between interface and abstract class java
Interface 1) Interface contains only abstract methods 2) Access Specifiers for methods in interface must be public 3) Variables defined must be public , static , final 4) Multiple Inheritance in java is implemented using interface 5) To implement an int... Add solution