Objective: Subtraction program in java.
Code:
class java4
{
public static void main(String args[])
{
int a=12;
int b=5;
int p;
p=a-b;
System.out.println("sub : "+p);
}
}
Output:
Hello, my name is G Krishna. I'm Creating this blog for the students who are beginners.
Learn More →
Python Course in Pune for IT Professionals
ReplyDeleteBest Python Training in Pune
Python Certification Training in Pune
Python Programming Course in Pune
Python Classes in Pune