What do you want to save?
Add Code snippet
New code examples
-
Java 2021-08-30 12:53:02
calculator program in java
// this was all coded by me, to use it get Eclipse, or IntelliJ and make a new // Java Project package javaCode; import java.util.Scanner; public class testCode { public static void main(String[] args) { Scanner scan = new Scanner(System.in); ... Add solution -
Java 2021-08-30 06:02:02
string sorting in java
// how to sort string array in java without using sort method import java.util.Arrays; public class SortStringArray { public static void main(String[] args) { String[] strPlaces = {"Great Barrier Reef", "Paris", "BoraB... Add solution -
Java 2021-08-30 05:53:02
cannot find symbol java
The "Cannot find symbol" errors generally occur when you try to reference an undeclared variable in your code. A "Cannot find symbol" error means that the compiler cannot do this. Your code appears to be referring to something that the... Add solution -
Kotlin 2021-08-30 04:15:02
get timestamp kotlin
Kotlin doesn't have any time handling classes of its own, so you just use Java's java.time. For an ISO-8601 timestamp (which is the preferred format): DateTimeFormatter.ISO_INSTANT.format(Instant.now()) That will return 2018-04-16T17:00:08.746Z. For your... Add solution -
Shell/Bash 2021-08-30 01:29:02
ubuntu change default java path
#Update repo sudo apt update # Install java 8 from ubuntu repo sudo apt install openjdk-8-jdk -y #Set JAVA_HOME Path ls /usr/lib/jvm/java-8-openjdk-amd64/ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 echo $JAVA_HOME #Add JAVA bin directory to... Add solution -
Javascript 2021-08-29 00:47:01
python
Python is a high-level programming language designed to be easy to read and simple to implement. It is open source, which means it is free to use, even for commercial applications. Python can run on Mac, Windows, and Unix systems and has also been ported ... Add solution