Question: Detailed Instructions For the program assigned to you or your group, review the code and answer questions 1 - 8 below. Then paste the program
Detailed Instructions For the program assigned to you or your group, review the code and answer questions below. Then paste the program into jDoodle, run the program by pressing the Execute button, and answer question What variables are declared? List each variables name and type. Are any of the variables also attributes? List each attribute and its class. Hint: Remember attributes are variables declared inside a class but not inside a method. What constants are declared? List each constants name and type. What classes are declared? List each class name. What methods are declared? List each methods name. For each method, what type of valueobject does it return? Are there any method calls? List the statement containing each call. Does the program output anything to the user? Hint: look for System.out.print or System.out.println Paste the program into the online compiler and run it What does it doHint: be sure to turn on the Interactive switch in jDoodle.
import java.util.Scanner;
public class PalindromeNumber
int idNumber;
public static void mainString arg
int nts;
Scanner scnew ScannerSystemin;
System.out.printlnEnter any number ;
nscnextInt;
tn;
spalindromeOrNotn;
ifst
System.out.printlnt is a palindrome number ;
else
System.out.printlnt is not a palindrome number ;
static int palindromeOrNotint num
int sumr;
whilenum
rnum;
sumsumr;
num;
return sum;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
