Select Menu

Search This Blog

Populer Posts Hari ini

Popular Posts

Powered by Blogger.

Lorem 1

adsense

" });

Circle Gallery

" });

News

" });
» » » Source Code Mengecek Karakter Awal dan Akhir pada sebuah String di Java



Source Code

package CekKarakter;

public class CekKarakter {

    public static void main(String[] args) {

        // TODO code application logic here

        String Karakter ="Hello World";

        System.out.println(Karakter.startsWith("H"));

        System.out.println(Karakter.endsWith("d"));

    }   

}



Output




About andi

«
Next
Newer Post
»
Previous
Older Post

No comments

Leave a Reply