giftthailand.blogg.se

Qa java interview questions
Qa java interview questions







Like 16461, for example: we take 121 and reverse it, after revers it is same as original number.ĩ. Write a java program to find number of digits in given numberĮxplanation: Any number is a combination of digits, like 342 have three digits. Three Digits Armstrong number is 153, 1 ^ 3 + 5 ^ 3 + 3 ^ 3 = 153įour Digits Armstrong number is 1634, 1 ^ 4 + 6 ^ 4 + 3 ^ 4 + 4 ^ 4 + = 1634Ĩ. Write a java program to find Palindrome numberĪ Palindrome number is a number that remains the same when its digits are reversed.

Qa java interview questions how to#

In below code, I will show you how to design Java program to find factorial, using for loop you can perform this task.Ħ. Java Program to print Fibonacci Seriesįibonacci series is in the form of 0, 1, 1, 2, 3, 5, 8, 13, 21,…… To find this series we add two previous terms/digits and get next term/number.ħ. Write a java program to find Armstrong numberĪrmstrong number is a number that is the sum of its own digits each raised to the power of the number of digits is equal to the number itself. Java Program to Find Factorial on Numberįactorial of any number is the product of an integer and all the integers below it for example factorial of 4 is 4! = 4 * 3 * 2 * 1 = 24. It means it is only divisible by 1 and itself, and it start from 2. Write a java program to find Prime numberĪ Prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself. Java Program to Swap two numbers without using third variableģ.

qa java interview questions qa java interview questions

nextInt(): method are used for get integer type value from keyboard.Scanner s=new Scanner(System.in): are used for receive input from keyboard.If you come across any questions, post it to me. In this section, we are giving few java interview programs faced by some of my friends.







Qa java interview questions