What do you want to save?
Add Code snippet
New code examples
-
Java 2022-03-18 01:20:02
how to make abstract method in java
Sometimes we may come across a situation where we cannot provide implementation to all the methods in a class. We want to leave the implementation to a class that extends it. In such case we declare a class as abstract.To make a class abstract we use ke... Add solution -
TypeScript 2022-03-06 00:05:30
typescript static class equivalent
//Example of Typescript static class equivalent export abstract class Tools { public static truncate(str, length) { var ending = '...'; if (str.length > length) { return str.substring(0, length - ending.length) + ending; } el... Add solution -
Other 2022-02-14 07:35:35
difference between abstract class vs interface
Interfaces specify what a class must do. It is the blueprint of the class. It is used to achieve total abstraction. We are using implements keyword for interface. Basic statement we all know in Selenium is WebDriver driver = new FirefoxDriver(); WebDri... Add solution -
Other 2022-01-31 00:35:15
difference between abstract vs interface
Interfaces specify what a class must do. It is the blueprint of the class. It is used to achieve total abstraction. We are using implements keyword for interface. Basic statement we all know in Selenium is WebDriver driver = new FirefoxDriver(); WebDri... Add solution -
Java 2022-01-29 20:00:20
can abstract class have implementation java
interface methods{ public void hey(); public void bye(); } //unable to implement all the abstract methods in the interface so // the other class automatically becomes abstract abstract class other implements methods{ public void hey(){ ... Add solution
Best helpers
Daniel Cook
+5
Czlsws
+5
Mick Daw
+5
Shahruz Raad
+5
Horse
+5
Csandreas1
+5
SOUMEN
+5
Vy32
+5
Anugram
+5
ImMathan
+5
Joyo
+5
Huggy Buggy
+5