15. What is a conditional statement? 16. Most conditional statements will require what? 17. All conditions must be placed inside what? 18. What kind of operator is required to make an expression evaluate to or true false? 19. List the 6 relational operators. 20. Java does not use to test for equality? What does it use instead? “=” 21. What kind of operator is “=”? 22. What is the Scanner class located in? library 23. Why is a necessary for program prompt input? 24. What does the nextLine method do? 25. Look at program This program gives the impression that it will find the sum of 2 Java0503.java. entered numbers. Why does it not work? 26. Look at program How does this program cure the problem of the previous one? Java0504.java. 27. What method is used to enter real number information?
15. What is a conditional statement? 16. Most conditional statements will require what? 17. All conditions must be placed inside what? 18. What kind of operator is required to make an expression evaluate to true or false? 19. List the 6 relational operators. 20. Java does not use “=” to test for equality? What does it use instead? 21. What kind of operator is “=”? 22. What library is the Scanner class located in? 23. Why is a prompt necessary for program input? 24. What does the nextLine method do? 25. Look at program Java0503.java. This program gives the impression that it will find the sum of 2 entered numbers. Why does it not work? 26. Look at program Java0504.java. How does this program cure the problem of the previous one? 27. What method is used to enter real number information?
Exercises05.01-041.docx