Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What does a variable do?
Think about what you need to hold information while programming.
What is the syntax to declare a variable?
Recall the format we discussed in class.
Which of the following is a valid variable name?
Remember the rules for naming variables!
True or False: A variable in Java can hold multiple data types.
Think about what we discussed regarding data types.
Write a Java program that initializes three variables of different types and performs an operation combining them. Explain your choice of data types.
Think about how you can combine different data types logically.
Create a complex arithmetic expression involving at least two variables and two types of operators, and evaluate a Boolean expression with it.
Combine different operations while keeping track of parentheses for evaluation.
6 more questions in this section. Enroll free to practise them all.
Enroll free