Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

contient java

import java.util.*;
import java.lang.*;
import java.io.*;

public class Example1 {
    public static void main(String[] args) {
        String str = "Character";
        System.out.println(str.contains("h"));
        System.out.println(str.contains("Char"));
        System.out.println(str.contains("ac"));
        System.out.println(str.contains("v"));
        System.out.println(str.contains("vl")); 
    }
}
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #contient #java
ADD COMMENT
Topic
Name
9+5 =