Both WAR and JAR have the same file structure of a single file that is compressed and contains multiple files inside it. WAR files combine servlets, JSPs, Java and XML files, JAR libraries, javascript libraries, static web pages, and other resources that are needed to run the applications.

BY Best Interview Question ON 19 Jan 2019