ICSE Java Programming Array of Integers 2022 Q2 Solved
JAVA, Python, C++ and C programs for students. Here you will also find solutions to boards papers of ISC Computer Science Practical and CBSE Computer Science. ISC and ICSE JAVA PROGRAMS
Saturday, December 31, 2022
ICSE Java Programming Array of Integers 2022 Q2 Specimen Paper Solved
Friday, December 30, 2022
ICSE Java Programming Array of Strings 2023 Q8 SPECIMEN PAPER Solved
ICSE Java Programming Vowels in a String 2023 Q7 SPECIMEN PAPER
ICSE Java Programming Vowels in a String 2023 Q7 SPECIMEN PAPER
Question 7
Define a class to accept a string and print the same in reverse, also print the number of vowels in the string.
Eg:S="BEAUTIFUL"
Output - "LUFITUAEB" No. of vowels = 5
JAVA CODE ICSE Java programming Solved
ICSE Java Programming Range of Array 2023 Q6 SPECIMEN PAPER
ICSE Java Programming Bubble Sort 2023 Q5 SPECIMEN PAPER
ICSE Java Programming Bubble Sort 2023 Q5 SPECIMEN PAPER
Bubble sort in java.
ICSE Java Programming Function Overloading 2023 Q4 SPECIMEN PAPER
ICSE Java Programming 2023 Q3 SPECIMEN PAPER Solved.
Question 4
Define a class to overload the method print as follows:
void print ()-to print the format
1
2 3
4 5 6
7 8 9 10
boolean print (int n) -
to check whether the number is a Dudeney number,a number is dudeney if the cube of the sum of the digits is equal to the number itself.
Eg: 512(5+1+2)3 = (8)3 = 512
void print (int a, char ch) -
if ch = s or S print the square of the number else if
ch=c or C print the cube of the number.
Function Overloading in java example.
ICSE Java Programming Class employee 2023 Q3 SPECIMEN PAPER
ICSE Java Programming Class employee 2023 Q3 SPECIMEN PAPER Solved.
Thursday, December 29, 2022
ICSE Java Programming Average Marks 2018 Q9
[deviation = total marks of a student – average]
ICSE Java Programming Pattern Print 2018 Q8
ICSE Java Programming Function Overload 2018 Q7
Question 7.
Design a class to overload a function volume() as follows :
(i) double volume (double R) — with radius (R) as an argument, returns the volume of sphere using the formula.
V = 4/3 × 22/7 × R3
(ii) double volume (double H, double R) – with height(H) and radius(R) as the arguments, returns the volume of a cylinder using the formula.
V = 22/7 × R2 × H
(iii) double volume (double L, double B, double H) – with length(L), breadth(B) and Height(H) as the arguments, returns the volume of a cuboid using the formula.
}