Professional Documents
Culture Documents
Java Question
Java Question
2(a).Why we use Java Virtual Machine (JVM)? Explain about Platform independent feature is Java? 7
(b).What are the data types found in Java ? How many types of variables found in Java? 7
3.(a).Explain “public static void main(String[] args)” and give sample example of Java Program. 7
4(a).What is Class and Object? Write a program to find the factorial of a number using class and object 7
6(a).What is Exception?List some of the most common types of Exceptions that might occur in java? 7
(b).How do you create a package and use it? Explain with an Example. 7
(a).Final Keyword
(b).Constructors
(c).Vector