+ 9
String Concatenation
String firstName, lastName; firstName = "David"; lastName = "Williams"; System.out.println("My name is " + firstName +" "+lastName); Why we write String firstname, lastname???
12 Réponses
+ 3
that defines the type of the variables firstName and lastName as a String.
in java you have to specify the type of variables unlike python.
+ 9
Thank you🙏 Bahha🐧
+ 7
One question
My Python Tutorial was 12 lessons but now its 10 lessons😐
Why?:/
+ 7
No
It was like this:
1/12=Welcome to Python
2/12=your first program
I'm writing Python in Farsi in my notebook😔
+ 6
Maybe😭
👕----👎
👖
👞
+ 6
Thank you🙏 RKK
+ 4
In Java you need to specify
Whether a variable is a String, boolean or any...other
+ 4
String in Java is a class
In python every variable is an object itself types of data are automatically implemented
☕☕☕
+ 3
Mohammad Hasan It was 10 only 😌
And there are 9 chapters
+ 3
Mohammad Hasan omgg
Maybe with the new update, some of the lessons are shifted to the second chapter
+ 2
Read this...
https://www.sololearn.com/learn/Java/2142/