1. Học hỏi
  2. /
  3. Khoa Học
  4. /
  5. Introduction to Java

Connected

Bài tập

Assign and print

Once you've created variables, you can assign values to them and display those values. This is a fundamental pattern you'll use throughout your programming journey. In this exercise, two variables have already been created for you: language and yearOfOrigin.

Hướng dẫn

100 XP
  • Create a text variable called creator and assign "James Gosling" to it.
  • Print the creator variable.