CS-74 Introduction to Internet Programming Dec -2003
Question Papeer of CS-74 Introduction to Internet Programming Dec -2003
Q1 (i). Write a Java program to calculate Cr,
where C = n!/(n - r) ! (r!)
The input of n and r should be accepted from command line.
(ii) What is final keyword? What happens if we apply keyword in class access specifier?
(iii) List all the primitive data types with their sizes as defined in Java.
(iv) Explain the action of break and labelled break commands.
(v) What are reference type variables? How many types of reference variables are available in Java?