Java For Beginners: Strings, String Functions & Chars (9/10)

preview_player
Показать описание

Official site

Twitter
Рекомендации по теме
Комментарии
Автор

I never thought phpacademy would start teaching Java!!! this is awesome :D

martmelee
Автор

he explain very well, helps a lot after java class in college. last video 10/10 is a bit confusing for beginner level. but its helpful too.sounds like american accent? you have lovely tone while explaining.

dalanguo
Автор

Thank you so much! This video is incredible!

anel_v
Автор

Final code:

package tutorials;

public class Main {

public static void main(String[] args) {

String message = "Hello world!";

char[] characters = message.toCharArray();

for (char c : characters) {
System.out.print(c);
}

// message = message.concat(" Lovely day, isn't it?")
// message = message.toUpperCase();

// message = message.replace('o', '0');
// message = message.replace('e', '3');
// message = message.replace('l', '1');

// System.out.println(message);
}
}

RemixPicture
Автор

Helo dear.
If I wan basic program like
Print the how many repattive char in give string ..
used .basic of java.. like For loop or if condition

sandip_zalte
Автор

can someone explain why it printed out Hello World vertically?

annahale
Автор

Like your videos!! That is super super helpful!! Save me from the AP CS A test!!!❤️Plz keep making tutorials like that!

dalvinabian
Автор

concat is more inefficent then just writing it all in the first print statement lel

DreadArsenol
Автор

String.concat() seems to be the most useless function in Java isn't it? why not message = message + " String to concat"; ?

marcello
join shbcf.ru