Computer Science, asked by irakhedkar, 1 year ago

Important Java programs/questions for ICSE class 10!

Answers

Answered by Anonymous
2

Explanation:

1-WAP to check whether a number is happy no

. or not(a number is called happy no if the sum of the digits is ultimately 1)

e.g 19

1+9=10

1+0=1

2-WAP to print the pattern

1

01

101

0101

10101

2-what is the visibility mode of public,private ?

3-name the keywords:-

(a)-it is used to make a variable a constant

(b)-it is used to allocate memory space to variable.

4-WAP to check whether a word is an Anagram or not.A word is anagram if it contains same letters with same number of repetitions

e.g ACT and CAT

ICE and CEI

Similar questions