What do you want to save?
Add Code snippet
New code examples
-
Java 2021-09-03 13:32:02
java what is static
//Java Program to get the cube of a given number using the static method using static before a method or variable we can access it by not creating a instance of it.in the program we directly used student.cube(5) class Calculate{ static int cube(int... Add solution -
Java 2021-09-02 10:22:02
Java program to swap two numbers using function
import java.util.Scanner; // java swap function public class SwapTwoNumberDemo { int numOne, numTwo; public void swapNum(SwapTwoNumberDemo stn) { int temp; temp = stn.numOne; stn.numOne = stn.numTwo; stn.numTwo = temp; ... Add solution -
Other 2021-09-01 01:33:01
what are the api tools
Tools to send API request Postman -- Desktop client tool Curl -- Command line client tool RestAssured -- Java client library SoapUI -- Desktop client tool A lot of API documentation provide curl command for example when we run the request and Postman can... Add solution -
Shell/Bash 2021-08-31 17:38:02
latest gradle version
sudo apt update sudo apt install openjdk-8-jdk -y java -version wget https://services.gradle.org/distributions/gradle-5.0-bin.zip -P /tmp sudo unzip -d /opt/gradle /tmp/gradle-*.zip ls /opt/gradle/gradle-5.0 sudo nano /etc/profile.d/gradle.sh ####/etc/p... Add solution -
Java 2021-08-31 13:02:02
java how to split a string into letters
//Java program to show the use of Split method (Java 8 and above) public class SplitString{ public static void main(String[] args) { //Initialize the String which needs to be split String str = "Enlighter"; //Use the Split... Add solution
Best helpers
Ati
+5
Fiza
+5
Tongfei Chen
+5
Naga Raja
+5
Silvercover
+5
Royazamani
+5
Jack Ng
+5
CuriousJane
+5
Pia
+5
Mooreclicks
+5
Ila46
+5
Java D
+5
CinemaDude
+5
Tonydoe
+5
SunnyHills
+5
Eyquem
+5
Myname80
+5
Catimann
+5
Herstory
+5
Kolypto
+5
Rolando2
+5
Atsby
+5
Ruthann
+5
Lexinton Ave
+5