What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-10-01 03:18:07
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 -
Other 2021-09-30 21:09:03
remove loop from linked list
//java Node remove(Node head){ //detect the loop Node slow=head; Node fast=head; while(slow!=null&&fast!=null&&fast.next!=null){ slow=slow.next; fast=fast.next.next; if(slow==fast){ if(slow==head){ while(slow.next!=head){ slow=slow.next;... 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 16:39:05
3 important interface in jdbc
Connection = Helps our java project connect to database Statement = Helps to write and execute SQL query ResultSet = A DataStructure where the data from query result stored +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ After s... Add solution -
Java 2021-09-30 14:00:02
Java program to check palindrome number using recursion
import java.util.Scanner; public class RecursivePalindromeJava { // to check if string is palindrome using recursion public static boolean checkPalindrome(String str) { if(str.length() == 0 || str.length() == 1) return true; ... Add solution -
Html 2021-09-30 12:56:04
Invariant Violation: requireNativeComponent: "RNCSafeAreaProvider"
Follow These Steps: I also got that error when setting up react navigations but the below code worked for me. Paste this code in the files shown below: 1.) android/settings.gradle include ':react-native-safe-area-context' project(':react-native-safe-ar... Add solution -
Javascript 2021-09-30 11:51:07
how to do multiplication in javascript
//To multiply in Java script, you have to put an asterisk symbol '*' between them. If you have stored two numbers in variables, just put an asterisk symbol between the variable names. //For example: var a = 5 var b = 6 var c = a*b var d = 5*6 Bot.send (c... 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 -
Other 2021-09-30 01:19:03
Write a program to input a word from the user and remove the duplicate characters present in it.
// Java program to remove duplicate/repeated characters from a string www.getprogramcode.com import java.util.*; class RemoveDuplicate { public static void main(String args[]) { String s,ans=""; char ch ; int l,i=0; Scanner sc=new S... Add solution -
Java 2021-09-29 20:49:02
Reverse a string in java word by word
// Reverse a string in java word by word import java.util.Scanner; public class ReverseStringWordByWord { public static void main(String[] args) { String strWord = ""; Scanner sc = new Scanner(System.in); System.out.pri... Add solution
Best helpers
Ranking is empty