PX_missingChar_lastname (4 files)

Purpose: To understand how java can manipulate strings.



/*
* Given a non-empty string and an int n,
* return a new string where the char
* at index n has been removed.
* The value of n will be a valid
* index of a char in the original string
* (i.e. n will be in the range 0..str.length()-1 inclusive).
*
* missingChar("kitten", 1) → "ktten"
* missingChar("kitten", 0) → "itten"
* missingChar("kitten", 4) → "kittn"
*
* Note: your values for this exercise will be different based on your seat number
*/

You will need to create these files.
  • PX_missingChar_lastname.java (Actual Java program)
  • PX_missingChar_lastname.txt (Copy of Java program)
  • PX_missingChar_lastname.png (Screen shot of program running)
  • PX_missingChar_lastname.mp4 (Video of you running the program)
  • Click on this link to see the first part of the source code.
  • Click on this link to see the second part of the source code.
  • Click on this link to see result that will be similar to yours but not exact.
  • Click on this link to see what array data you need to use based on your seat number.