AI Programming
11.2K subscribers
594 photos
42 videos
245 files
569 links
An artificial intelligence free resource channel for students, professionals, and anyone who wants to learn how to solve problems.

ENGINEERING 🎖 PROGRAMMING 🎖 TIPS & HACKS

https://youtube.com/c/AIProgramming
CONTACT US ON: @alphadmin12
Download Telegram
Java - Important Code Note 2
————————————————
Reverse Number

public class ReverseNumber {
public static void main(String[] args) {

int num = 1234, reversed = 0;

while(num != 0) {
int digit = num % 10;
reversed = reversed * 10 + digit;
num /= 10;
}

System.out.println("Reversed Number: " + reversed);
}
}
————————————————
AI Programming @freecodecs
Have a Lit🔥 Practice Folks 🙌🏽
Java - Question & Answers
————————————————
Below we posted screen shot of the question to the solution code we are going to be posted.

Tip: u gave us 🙏🏽 Thanks!

Keep calm and wait for the upcoming java exercises.
————————————————
AI Programming @freecodecs
Have a Lit🔥 Practice Folks 🙌🏽
Question : 12 & 13
Question : 14 & 15
Using polymorphism system :
By overloading area() to all the equations
————————————————
Question : 18 & 19
Question : 20 & 21