What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-14 17:59:12
have you done api testing
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-11-13 10:21:19
java program to print unique words in a sentence
import java.util.Arrays; import java.util.HashSet; /** * Java Program - Find Unique Words */ public class Example { public static void main(String[] args) {  ... Add solution -
Java 2021-11-11 04:43:22
arraylist length java
import java.util.ArrayList; /* * Java Program to find the length of ArrayList. * */ public class ArrayListDemo{ public static void main(String[] args) { System.out.println("Welcome to Java Program to find the length of array list"); ... Add solution -
Java 2021-11-10 15:04:18
java arraylist remove
// java program on ArrayList remove(int index) method example import java.util.ArrayList; import java.util.List; public class ArrayListRemoveIndex { public static void main(String[] args) { List<Integer> al = new ArrayList<>(); ... Add solution -
Java 2021-11-09 12:33:14
Java program to add two numbers using bufferedreader
// Java program to add two numbers using bufferedreader import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class AddTwoBufferedReader { public static void main(String[] args) throws NumberFormatExceptio... Add solution -
Java 2021-11-09 06:39:15
Java program to find largest in three numbers using ternary operator
// Java program to find smallest of three numbers using ternary operator import java.util.Scanner; public class SmallestOfThreeNumbers { public static void main(String[] args) { int number1, number2, number3, smallest, temp; Scanner sc... Add solution -
Java 2021-11-07 06:34:22
java list length
import java.util.ArrayList; /* * Java Program to find the length of ArrayList. * */ public class ArrayListDemo{ public static void main(String[] args) { System.out.println("Welcome to Java Program to find the length of array list"); ... Add solution -
Java 2021-11-06 22:40:13
Static method in java
//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 -
Other 2021-11-05 10:46:17
how u can achieve multiple inheritances
Multiple inheritance in Java programming is achieved or implemented using interfaces. Java does not support multiple inheritance using classes. In simple term, a class can inherit only one class and multiple interfaces in a java programs. In java termi... Add solution -
Other 2021-11-04 07:02:08
perse json in angular
import { Component, OnInit } from "@angular/core"; @Component({ selector: "my-app", templateUrl: "./app.component.html", styleUrls: ["./app.component.css"] }) export class AppComponent implemen... Add solution