Revature Interview Question

Q: What is a for loop? Q: What is a while loop? Q: How do you extend a class? Just general coding questions