Writing Java Application Code | Module 1
Course Name: Writing Java Application Code (Java as a Second Language Specialization)
Course Link: Writing Java Application Code
These are Writing Java Application Code Week 1 Coursera Answers
Q1. Java Console Applications instantiate classes for _________ .
- sending output to users
- taking command line input
- sending email
- closing the application
Answer: taking command line input
Q2. True or False: Console applications are intended for beginners.
- True
- False
Answer: False
Q3. The IO Input Stream classes process input as what kind of data?
- int
- bool
- String
- Date
Answer: Please login to see answer.
Q4. If you use IO Input Stream classes the input can be converted to an int using which method?
- Integer.parseInt(input)
- toInt(input)
- int(input)
- It cannot be done
Answer: Please login to see answer.
These are Writing Java Application Code Week 1 Coursera Answers
Q5. The IO Input Stream classes require which of the following for error handling?
- No error handling
- InputError
- IOException
- InputException
Answer: Please login to see answer.
Q6. True or False: Scanner class requires an error handler.
- True
- False
Answer: Please login to see answer.
Q7. The Scanner class has all the methods below except __________ .
- nextLine()
- nextInt()
- nextWord()
- nextDouble()
Answer: Please login to see answer.
Q8. True or False: Scanner requires fewer lines of code for executing Java Console applications.
- True
- False
Answer: Please login to see answer.
Q9. True or False: Like all Console applications written in any language, Java Console applications deliver a low user experience.
- True
- False
Answer: Please login to see answer.
Q10. When building a Java Console application, all classes and depencies are compressed into which kind of file?
- .exe file
- jar file
- .go file
- .asm file
Answer: Please login to see answer.
These are Writing Java Application Code Week 1 Coursera Answers
More Weeks of the course: Click Here
More Coursera courses: https://progiez.com/coursera
![Writing Java Application Code | Module 1 1 Writing Java Application Code Week 1 Coursera Answers](https://progiez.com/wp-content/uploads/2023/01/cropped-3-progiez-logo.png-1.png)