Correct Answer : B
A: Applets and servlets are two parts of Java which works on Internet. Thus web helped Java to grow. Whereas many web pages/applications were designed using Java. Thus Java helped internet.
B: Java was not designed for Internet. Its main goal was platform independence. Though it was not designed for Internet, Java and Internet helped each other grow.
C: Internet is a collection of systems connected. Some send queries and are called requests. These are called clients. The requests sent by clients must be served by some machines. These are called servers. They send response to clients.
D: Before Java, users used to hesitate to download executable files from internet because there is a chance that the system might get infected because of virus. Java solved all these issues by providing virtual machine which runs on the browser. The virtual machine prevents the downloaded programs to access the user computer. Thus security is achieved. For programs to be downloaded from internet, they must be compatible with various systems. This needs portability. Java efficiently provides portability, by providing the JVM's (virtual machine) for various platforms.