Customer
us
or
Question 9)
Write a Java class mynumber that contains the following methods:
Methods:
Assign() - that accepts values of the digits at unit's place, ten's place
and hundred's place
FindNumber()- that finds the number corresponding to the accepted
digit
(eg 5,3,7 the number is 735)
FindArmstrong(- that verifies whether the no. is Armstrong no. or not
yi
o
5
S
(Armstrong no is a no. if sum of cubes of each digit is equals to the no.)
main() - that creates an object of the class mynumber, calls the above
mentioned methods to print the number and checks the no. to be
Armstrong no. or not.
Answers
Answer:
What are the factors affecting the salinity of seawater?The water at greater depth does not freeze.If a spherical Mirror breaks, what type of mirrors are the individual
pieces ?What sign convention are used for reflection from a spherical Mirrors ?Why are concave mirrors use on the solar devices ?A convex mirror has a focal length of 18cm. The image of the object
kept in front of the mirror is half the height of the object. What is the distance
of the object from the mirror?M=H2/Magnification (M)=Height of the image/height of the object .
M=H2/To establish the relations of the following :
1) 1/f = 1/v + 1/___ .
2) Magnification (M)=Height of the image/height of the objMagnification (M)=Height of the image/height of the object .
M=H2/1/f = 1/v + 1/___ .2) Magnification (M)=Height of the image/height of the object .
M=H2/
Explanation: