What do you want to save?
Add Code snippet
New code examples
-
Java 2021-09-30 05:29:02
scala vs java
Scala is a statically typed programming language whereas Java is a multi-platform, network-centric, programming language. Scala uses an actor model for supporting modern concurrency whereas Java uses the conventional thread-based model for concurrency. Sc... Add solution -
Java 2021-09-26 11:34:05
java coding standards for interfaces
It is recommended highly to follow java coding standards. Classnames should start with uppercase letter. Classnames names should be nouns. If Class name is of multiple words then the first letter of inner word must be capital letter. Ex : Employee, Emplo... Add solution -
Other 2021-09-23 06:41:02
behavior driven development (bdd)
BDD is an extension of TDD. We use similar approach for development. But there is a difference: Instead of writing tests, we write behaviors/scenario. We create scenarios from the end-users perspective. Gherkin language is used. 1- Business side: FEAT... Add solution -
Java 2021-09-21 11:30:01
java code to rename all files in a folder
// java code to rename all files in a folder import java.io.File; public class RenameAllFilesDemo { public static void main(String[] args) { // folder path String strPath = "D:\\Users\\sachin\\java\\sachinfolder"; // l... Add solution -
Other 2021-09-20 22:43:06
multi browser parallel testing
I achieve it with xml file. In TestNG is quite simple to do parallel testing. . First I create TestNG xml runner. Then I create suites or test tags in the xml runner. In these tag, I point to package or class I want to run. Then I add and option like par... Add solution -
Other 2021-09-10 04:04:02
is a relationship vs has a relationship
‘Has a ‘ relationship is also known as “composition or Aggregation”. As in inheritance we have ‘extends’ keyword we don’t have any keyword to implement ‘Has a’ relationship in java. The main advantag... Add solution -
Other 2021-09-08 13:53:02
java
Java is a class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let application developers write once, run anywhere (WORA),[17] m... Add solution -
Java 2021-09-07 20:13:03
spring Caused by: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30001ms
//Your database is not obtaining connection //within (30000 milliseconds that is default connectionTimeout property) //because of network latency or some of the queries which are taking too //long to execute(more than 30000 milliseconds). //Please try... Add solution
Best helpers
Ranking is empty