Java Bootcamp – Workbooks and Challenges
)}

Workbook 2.2

From Java-Bootcamp-Resources -> Module 1 - Introduction to Java -> 2. Variables, open Workbook 2.2.

My Biography


In this workbook, you will fill in a biography of yourself.

>> My name is <name>. I'm <age> years old, and I'm from <country>.

>> My favorite sport is <sport>. I play for <hours> hour(s) a day

>> When I'm tired, I like to play <game>.

>> In school, my favourite subject was <subject>. I scored a <grade>.

Task 1: Make 8 variables.


Inside main(), replace each comment with a variable.

Task 2: Fill in the biography.


Replace every placeholder with a variable.

Run your code.


>> My name is Sam. I'm 35 years old, and I'm from England.

>> My favourite sport is Basketball. I play for 2 hour(s) a day

>> When I'm tired, I like to play Checkers.

>> In school, my favourite subject was Chemistry, I scored a B.

Good Luck!


Feedback Summary
4.8
39 students
5

92%
4

3%
3

0%
2

0%
1

5%
Written Reviews
There are no written reviews yet.