What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-12 22:22:04
typescript vs javascript
TypeScript adds strict typing to JavaScript. It helps to reduce the number of errors in your code. Apart from strict typing, TypeScript introduces a plethora of features like Interfaces, Mixin classes, Enums and much more, as discussed later in the article. Add solution -
Java 2021-09-12 21:06:02
abstraction java
bstraction: Hiding the implementation details, concentrating on essentials things, without worrying about the details ■ In java, abstraction is achieved via abstract class or interface ■ Abstraction cannot exist without inheritance 3.1. Abstract cla... Add solution -
-
VBA 2021-09-11 04:31:02
excel vba check if a string contains another string
'Use VBA's InStr() function to check 'if a string contains another: MsgBox InStr("Excel Hero", "Hero") 'Displays: 7 MsgBox InStr("Excel Hero", "hero") 'Displays: 0 MsgBox InStr("Excel Hero", "hero&... Add solution -
TypeScript 2021-09-11 01:32:03
typescript ..otherProps
interface CustomComponentProps { prop1: string; prop2:string; } const CustomComponent: React.FC<CustomCompoenetProps & Record<string,any>> = ({prop1,prop2, ...otherProps}) => { retrun ( <> <Component prop1={... Add solution -
Java 2021-09-10 20:17:02
override interface method with different parameters java
public interface Order { public boolean greaterThan(Order other); } public class AirCraft implements Order { private String make; private int numSeats; public AirCraft(String make, int numSeats) { this.make = make; this.numS... Add solution -
Other 2021-09-10 18:09:01
how to structure an entity framework data layer class
using Mm.DomainModel; using System; using System.Collections.Generic; using System.Linq.Expressions; namespace Mm.DataAccessLayer { public interface IGenericDataRepository<T> where T : class { &... Add solution
Best helpers
Ranking is empty