WELCOME TO JAVA PROGRAMMING QUIZ!!!

1)How many types of inheritance?

4
3
1


2)What is the the output?
import java.io.*
public static void main(String args[])
{
int a=2,c=0;
System.out.println(a/c);
}

2
java.lang.Arithmetic.zero division error
0


Name the application for java.

Applet
Servlet
All of these


4)After compilation of java code,what will it become?

Class code
Byte code
None of these


5)Which side belongs to java?

OOP
Server
All of these