Answer:
public class Digits
{
public static boolean allDigitsOdd(int num)
{
boolean flag=true;
int rem;
while(num>0)
{
rem=num%10;
num=num/10;
if(rem%2==0) // if a even digit found immediately breaks out of loop
{
flag=false;
break;
}
}
return flag; //returns result
}
public static void main(String args[])
{
System.out.println(allDigitsOdd(1375)); //returns true as all are odd digits
}
}
OUTPUT :
true
Explanation:
Above program has 2 static methods inside a class Digits. Logic behind above function is that a number is divided by 10 until it is less than 0. Each time its remainder by 0 is checked if even immediately breaks out of the loop.
Answer:
c)1e6f28
Explanation:
The integer pointer intpoint2 points to the address 1e6f24.On increasing the inpoint.The intpoint will point to next location and since we know that the memory taken by integers is 4bytes.So the pointer will move to the next location 4 bytes ahead.
1e6f24+4=1e6f28.
Hence the answer is option c.
It depends on how much storage. I usually connect mine to another hard drive.
"Self-management" This is a huge clue. c:
Your answer: Autonomic Computing.
Autonomic Computing refers to "Self-management."
The function will support my business because it will help in decision making.
<h3>What is the importance of Management Information System?</h3>
Management Information System can be described as the collection of Organized data that can help the organization in decision making.
Making a good decision , it will help the company to compete excellently with great profit.
Learn more about Management Information System on:
brainly.com/question/11768396
#SPJ1