Question: You have created an AboutActivity class that displays details about your app. Which code snippet allows you to launch your activity?

  1. Intent(this, AboutActivity::class).also { intent ->
  2. Intent(this, AboutActivity::class.java).also { intent ->
  3. Intent(this, AboutActivity::class).also { intent ->
  4. Intent(this, AboutActivity::class).also { intent ->

Answer: The correct answer of the above question is Option B:Intent(this, AboutActivity::class.java).also { intent ->