Category Archives: Term 2
Question 1
e) Difference between double and float variables in Java. Continue reading
Question 2
d) What will be the output for the following program segment? Continue reading
Question 3
The following is a method/function of some class. Give the output of the function display() Continue reading
Question 7
a) The program accepts a number with four digits. If the number is with four digits returns true Continue reading
Question 8
a) A class SumArray contains an array of integers which removes the duplicate elements Continue reading
Question 9
a) A class Student defines the personal data of a student while another class Marks defines Continue reading
Question 10
a) Create a class named ‘Rectangle’ with two data members- length and breadth a Continue reading
Question 11
a) Write a user-defined function named Lower-half(int A[][], int N) which take Continue reading