AI Programming
12.2K subscribers
713 photos
65 videos
245 files
657 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 1
———————————————
IP Address
import java.net.InetAddress;
InetAddress IP = InetAddress.getLocalHost();
System. out. println("IP of my system is := "+IP. getHostAddress());

Maths Equations
Math.pow(b,s)
Math.sqrt()
————————————————
AI Programming @freecodecs
Have a Lit🔥 Practice Folks 🙌🏽
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