What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-08 05:18:03
SCRIPT.JS
<!-- include an external javascript document --> <script src="myJavaScript.js" charset="utf-8"></script> <!-- JavaScript inside html element --> <script> console.log("This is JavaScript"); <... Add solution -
Java 2021-10-06 06:45:03
java new localdatetime
import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.Month; /** * Java Program to demonstrate How to use LocalDateTime class in Java 8. * LocalDateTime is LocalDate + LocalTime, i.e. date with time ... Add solution -
Java 2021-10-04 12:33:03
Could not get JDBC Connection; nested exception is java.sql.SQLException: Access denied for user 'hac_manager'@'localhost' (using password: YES)
Could not get JDBC Connection; nested exception is java.sql.SQLException: Access denied for user 'test'@'localhost' (using password: YES) Add solution -
Other 2021-10-04 06:33:03
How do you test API in your project?
I have worked on API testing in my project and I used POSTMAN for manually testing and REST ASSURED java LIBRARY for automation. I used JDBC and it is a Java-based data access technology used for Java database connectivity. It provides classes and interfa... Add solution -
Java 2021-10-03 12:44:04
How to find the length of an array in java
/** * An Example to get the Array Length is Java */ public class ArrayLengthJava { public static void main(String[] args) { String[] myArray = { "I", "Love", "Music" }; int arrayLength = myArray.length; //array length attribu... Add solution -
Java 2021-09-30 17:42:03
pojo class
It stands for Plain old Java Object and basically we use it when we need to represent some data as Java object. So to that we need to create a Java class to represent it's data. For example: { "name" : "ABC", "gender : "... Add solution -
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-27 13:13:06
java 8 stream group by example
package com.mkyong.java8; import java.math.BigDecimal; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; public class Java8Examples4 { public static void main(String[] ar... Add solution