Question 1
e) Difference between double and float variables in Java. In java, float takes 4 bytes in memory while Double takes ...
Question 2
d) What will be the output for the following program segment? int a=0,b=10,c=40; a = - - b +c ++ ...
Question 3
The following is a method/function of some class. Give the output of the function display() Show the dry run/working public ...
Question 7
a) The program accepts a number with four digits. If the number is with four digits returns true if the ...
Question 8
a) A class SumArray contains an array of integers which removes the duplicate elements and finds the pair of elements ...
Question 9
a) A class Student defines the personal data of a student whie another class Marks defines the register number, name ...
Question 10
a) Create a class named ‘Rectangle’ with two data members- length and breadth and a method to calculate the area ...
Question 11
a) Write a user-defined function named lowerHalf(int A[][], int N) which takes a two dimensional array A, with size N ...