Given the Television class below, use its constructor to create a Television object with the brand Sony and price 499.99. Then print out its brand and price. Finally, set the number of pixels to 1080 and print it out.
The following code should get the first letter of the first name, middle name, and last name and append (concatenate) them together and then return them all in lowercase. However, the code has errors. Fix the code so that it compiles and runs correctly.
The following code should print the first 3 letters of the string message all in lowercase letters. However, the code has errors. Fix the errors so that the code runs as intended.
The following code should remove the word βvery β (and following space) from the message and print the new message. You can use indexOf to find the position of a substring in your string. You can use substring to create a new string removing the word.