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 .


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 .


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 .


Q6. True or False: Scanner class requires an error handler.

  • True
  • False

Answer: Please .


Q7. The Scanner class has all the methods below except __________ .

  • nextLine()
  • nextInt()
  • nextWord()
  • nextDouble()

Answer: Please .


Q8. True or False: Scanner requires fewer lines of code for executing Java Console applications.

  • True
  • False

Answer: Please .


Q9. True or False: Like all Console applications written in any language, Java Console applications deliver a low user experience.

  • True
  • False

Answer: Please .


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 .


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 Week 1 Coursera Answers
The content uploaded on this website is for reference purposes only. Please do it yourself first.