Java Tutorial Online
Java Tutorial Online
Showing newest posts with label Java Code. Show older posts
Showing newest posts with label Java Code. Show older posts
The Java Code discussed today at Java Code Online deals with conversion of temperature from
Celsius or Centigrade to Fahrenheit. The temperature conversions are required normally many
times in our daily purposes. Like the body temperature in degree Fahrenheit and degree Celsius.
The only meeting point of these two temperature scales is -40 degree. At this temperature both
the Celsius and the Fahrenheit scales are equal.
The Java code for this temperature conversion from Celsius to Fahrenheit is given below. The
code requests the user to enter a temperature value in Celsius, and then displays the equivalent
Fahrenheit Temperature.
/////////////////////////////////
package developer;
import java.util.Scanner;
When this Java Code was executed on my JVM, then the output was as shown below.
/////////////////////////////////
Enter a temperature in Celsius:
102.87
The temperature in Fahrenheit is: 217.166
/////////////////////////////////
Hope that the Java code provide for conversion from Celsius to Fahrenheit was beneficial to all.
Keep checking Java Code Online for more Java updates and codes.
Java Code Online has come up with a new Java Program, and that is for converting a
temperature from Fahrenheit to Celsius or Centigrade. Fahrenheit and Celsius are the two main
scales used for temperature measurement. The temperature of the normal human body is 98.4
degree Fahrenheit or 36.88 degree Celsius.
So temperature conversion is used normally in daily life. The only place where Fahrenheit and
Celsius scales meet is at the temperature of -40 degree. That is to say that -40 degree Fahrenheit
is equal to -40 degree Celsius.
The Java code for this temperature conversion from Fahrenheit to Celsius is given below. the
code starts by asking the user to enter a temperature in Fahrenheit scale and then displays the
equivalent Celsius Temperature.
/////////////////////////////////
package developer;
import java.util.Scanner;
When this Java Code was executed on my JVM, then the output was as shown below.
/////////////////////////////////
Enter a temperature in Fahrenheit:
56
The temperature in Celsius is: 13.333333333333334
/////////////////////////////////
Hope that the Java code provide for conversion from Fahrenheit to Celsius was useful to you all.
Java Code Online will soon be back with another important Java Code.
Java has deal with many different situations. So Java Code Online is going to discuss a case
when a number entered as binary is to be converted to a decimal number. A binary number
which consists of only 1 and 0, while a decimal number is a number which consists of numbers
between 0-9.
We normally use decimal numbers in our daily purposes. Binary numbers on the other hand are
very important and used for computers data transfer.
The Java code for converting a binary number to a decimal number, starts by asking the user to
enter a binary number. The result is a decimal number which is displayed to the user. In case the
number entered is not a binary number, i.e. it contains numbers other then 0 and 1. In that a
NumberFormatException will be thrown. I have catch this exception, so that the developer can
use there custom message in that place.
/////////////////////////////////////
package developer;
import java.util.Scanner;
public class BinaryToDecimal {
/////////////////////////////////////
/////////////////////////////////////
In case the number entered is not a binary number, then the output is as shown below:-
/////////////////////////////////////
/////////////////////////////////////
Hope that I was able to make my point clear. If you liked the article then do post a comment.
Kepp checking Java Code Online for more Java Codes.
The Java Code Online is today going to discuss the Java code for converting a decimal number
to binary number. A decimal number is known to all of us. It is number whose base value is 10.
All the numbers we use in normal practice are usually decimal numbers. It implies that decimal
numbers can consist of numbers from 0-9.
A binary number is a number whose base value is 2. It means that a binary number system
consists of only 0 and 1. In computers all the data is transferred in the form of binary numbers.
The Java Code presented today, asks the user to enter a decimal number, and displays the binary
equivalent of that number.
/////////////////////////////////////////////
package developer;
import java.util.Scanner;
/////////////////////////////////////////////
/////////////////////////////////////////////
/////////////////////////////////////////////
Hope that the code was useful to all of you. Keep buzzing Java Code Online.
Hello guys, Java Code Online is back again with an important code. The code for today is for
making a CSV (Comma Separated File) file. The operation to make a CSV file in Java is
similar to the Java Code to write to a file. The difference between these two is that a comma is
inserted within the text, where ever we want the columns in MS EXCEL to change to new
column.
The beauty of the .csv file is that, when this file is opened in MS Excel, then all the values which
are separated by comma, are displayed in a new column. This is required many times, if we want
to send data to different columns. Even there is an option to switch rows while writing.
The Java Code displayed today, makes a .csv file at a particular location on your hard disk. You
need to change the path, according to your requirements. The code writes some data to the .csv
file. It generates 3 columns and 2 rows. You can modify it, according to your own requirements.
/////////////////////////////////////
package developer;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
//Note the "\\" used in the path of the file
//instead of "\", this is required to read
//the path in the String format.
FileWriter fw = new FileWriter("D:\\JavaCodeFile\\WriteTest.csv");
PrintWriter pw = new PrintWriter(fw);
//Write to file for the first row
pw.print("Hello guys");
pw.print(",");
pw.print("Java Code Online is maing");
pw.print(",");
pw.println("a csv file and now a new line is going to come");
//Write to file for the second row
pw.print("Hey");
pw.print(",");
pw.print("It's a");
pw.print(",");
pw.print("New Line");
//Flush the output to the file
pw.flush();
//Close the Print Writer
pw.close();
//Close the File Writer
fw.close();
}
}
/////////////////////////////////////
The code when run on my system a produces a file called WriteTest.csv, when opened with MS
EXCEL, the output is shown below:-
I hoe that the code was useful to all of you. Java Code Online is going to be back soon.
Posted by amitberiwal at 1:39 AM 0 comments Links to this post
Labels: File, File Handling, Java Code, Java Program
Hello and welcome back to Java Code Online. The topic for today's discussion is to delete a File
in Java, though a very simple process, it is very important. It is one of the most basic aspects of
File Handling. So this Java Blog has decided to pick this topic in this tutorial.
The Java Code discussed today, starts by taking the path for the file, and checks for its existence.
If the file exists, then the delete() command is fired on it. After deletion of the file, the presence
of the file is checked. This step is to ensure that the deletion activity of the file is properly
achieved or not.
/////////////////////////////////
package developer;
import java.io.File;
if(fileTest.exists())
{
//Delete the file
fileTest.delete();
}
/////////////////////////////////
This Java Code when executed on my JVM, resulted in the following output.
/////////////////////////////////
/////////////////////////////////
Simple isn't it. yes the process of deletion of a file is very simple, and now you know it too. Keep
checking Java Code Online for more Java articles.
Java Code Online will discuss the Java Code to convert a String to an int. There is a feature
provided in Java, which helps to perform this operation. The conversion is done with the help of
a method called parseInt().
Actually any String which could be converted to a primitive can be converted to it, by using the
parseXxx() method, where Xxx will replace the type in which it is to be converted, like int, float,
etc.
I have provided a sample Java Code which asks the user to enter a number, which is taken as a
String by the application. Later it is converted to an integer by using the parseInt() method. Go
through the code for a clear understanding on how it is to be used.
package developer;
import java.util.Scanner;
System.out.println("Enter a number which would be taken as a String by the application");
Scanner scanStr = new Scanner(System.in);
String numStore = null;
int numConvert = 0;
// Convert the String to int by using the Integer.parseInt() method
numConvert = Integer.parseInt(numStore);
}
}
If the value entered is not a number, suppose that you entered a String in words in place of a
number in String format, then the output is shown below:-
So we see that if a String is entered to be parsed as an int, then the Java Compiler gives a big fat
"NumberFormatException".
I hope the Java Code provide to convert an a String to an int was helpful. Do leave a comment if
you liked the article. Java Code Online will soon be back with another interesting Java article.
Hello and welcome back to Java Code Online. I have seen a few comments from some of my
readers, it was regarding an alternative way to convert an integer to String. This method uses the
Wrapper Objects to convert an int to an Integer Object. Or you can say that, the process is:-
Though it is a lengthier process, and is therefore rarely used for converting an ant to String. The
best process is the one which I discussed in the previous article to convert an int to String. It is
the most easiest and fastest way for making the conversion. Anyhow I will give you the
alternative way also which I have discussed write now.
The Java Code starts by asking the user to enter an integer number. This number is then
converted to an Integer Wrapper Object, which is later converted to a String, by using the
toString() method on it.
The Java Code for a sample program on it is given below.
///////////////////////////////////////
/*
* This class converts an int number to an Integer Wrapper Object and then transforms that Object
in to a String
*/
package developer;
import java.util.Scanner;
int number = 0;
System.out.println("Enter a number which would be taken as an Integer by the application");
///////////////////////////////////////
The output is something like shown below:-
///////////////////////////////////////
///////////////////////////////////////
hope that this article was helpful to resolve the issue of an alternative way to convert an int to a
String. If you find the article useful, then do leave a comment. Keep checking Java Code Online
for more Java topics.
Related articles:-
Convert int to String in Java
Java Code for Number of Words in a String
Posted by amitberiwal at 2:59 PM 0 comments Links to this post
Labels: Java Code, Java Example, Java Program, String
Java Code Online is going to discuss the way to convert an int into a String in Java. It is often
required in Java programming, to convert an integer into a String value, and operate on it
assuming it to be String.
Converting an integer into a String, provides many powerful features and methods which are
inherent to Strings, but not to primitives like integer. That make the operating on the value much
more easier when the value is used as a String.
I will discuss the most commonly used, and in fact the most easiest and effective method of
converting an int into a String.
Simple isn't it. The logic is that the "+" operator is overloaded in Java. It performs many
functions. When used with two integers, it produces the sum. But when a string is used with an
int and the "+" operator in between, the the result is a String. For example:-
package JavaTest1;
class TestIntToString {
{
int i = 2;
int j = 3;
System.out.println(i + j);
}
}
The above code will result in printing 5. This is not what we wanted, so the solution is to use a
string in between.
class TestIntToString {
So we see that this time the two numbers do not get added, but they resulted in concatenating to
each other. This is because they are converted to String. That's really cool. Now this String can
use all the methods which are available to Strings. So making it really powerful.
So you can see that by using the "+" operator, you can easily convert an int into a String. I hope
the post was helpful to you all. Keep buzzing Java Code Online for more info on Java.
Hello, welcome back to Java Code Online. Today I would be discussing an important
mathematical Java Code. This Java Code is for Armstrong Number. The code asks the user to
enter a number, and then checks that whether it is Armstrong Number or not.
An Armstrong Number is one in which the sum of the individual numbers raised to the power of
the number of words in that number is equal to that particular number itself. For example 1
raised to the power 1 is equal to 1, so it is an Armstrong Number. Again 153, implies 1 raised to
the power 3, 5 raised to the power 3, and then 3 raised to the power 3 are added, then it gives 153
again, so it is also an Armstrong Number.
////////////////////////////////////
package developer;
import java.util.Scanner;
int valueTaker = 0;
if(armstScan.hasNextInt())
{
valueTaker = armstScan.nextInt();
}
if(finalValue == valueTaker)
{
System.out.println("The entered number "+valueTaker+" is an Armstrong Number");
}
else
{
System.out.println("The entered number is not an Armstrong Number");
}
}
}
///////////////////////////////////////
I hope the code above was helpful to all of you. Just copy the code in your IDE, and change the
package name accordingly, and you are set to roll. Keep buzzing Java Code Online for more Java
information.
Hello all of you. Welcome back to Java Code Online. Today I will be giving you a very simple
and basic program of Java, that is the addition of two numbers. The code makes use of Scanner
for getting the input from the console.
The code starts by asking the user to enter two numbers to be added. The user enters the first
number, press enter, and then enters the second number and then press enter again. After this the
code computes the addition of these two numbers.
//////////////////////////////////////
package developer;
import java.util.Scanner;
/**
* @param args
*/
public static void main(String[] args) {
System.out.println("Enter the first and second numbers");
//Get the first number
Scanner scanOne = new Scanner(System.in);
//Get the second number
Scanner scanTwo = new Scanner(System.in);
//////////////////////////////////////////
I hope that this basic code was beneficial for the beginners to Java Programming. For more
information and programs on Java, keep buzzing Java Code Online.
Related Programs
Hello World Program in Java
Length of a String Java Program
Palindrome Program in Java
Posted by amitberiwal at 12:00 AM 1 comments Links to this post
Labels: Addition, Java Basics, Java Code, Java Example, Java Program, Scanner
Tuesday, August 18, 2009
Factors of a number Java Program
Hi all of you. The following article at Java Code Online is going to discuss the code for finding
the factors of a number entered by the user. The Java Program starts by prompting the user to
enter a number, and then displays the all the factors of the number entered by the user.
The factors of a number are the numbers which divide the number entered by the user
completely.
/////////////////////////////////////////
package developer;
import java.util.Scanner;
/**
* @param args
*/
public static void main(String[] args) {
System.out.println("Enter a number whose factors are desired: ");
Scanner scanNum = new Scanner(System.in);
int numFac = 0;
if(scanNum.hasNextInt())
{
numFac = scanNum.nextInt();
}
}
/////////////////////////////////////////
The Java Code above finds all the factors of the number entered by the user. For more interesting
information on Java, keep checking Java Code Online.
Related links:-
Hello all of you. Today at Java Code Online, I would be discussing the Java Code for finding all
the prime factors of an entered number.
Prime Factors are those numbers which are factors of the entered number, and also are Prime in
nature. For being a factor, the number needs to divide completely the entered number. For
example, f I say that the user entered 20, then the factors of this number are 1 2 4 5 10 and 20,
but when we say about Prime Factors then out of these only 2 and 5 are prime, so 2 and 5 are the
Prime factors of the number 20 which is entered by the user.
////////////////////////////////////////
package developer;
import java.util.Scanner;
///////////////////////////////////////////
I hope the code was helpful to all of you. Java Code Online keeps on discussing various Java
codes, so keep checking for new updates.
Related Links:-
Prime Number program in Java
Largest Prime number Java Program
Smallest Prime Number Java Program
Prime Number Series Java Program
Posted by amitberiwal at 8:27 PM 0 comments Links to this post
Labels: Factors, Java Code, Java Example, Java Program, Prime Number
Hi friends, welcome back to Java Code Online. Today I will be discussing the Java Code to
generate a series of Prime Numbers. The series of Prime Numbers all the Prime numbers which
are less then the number provided by the user.
The Java Code starts by asking the user to enter a number, and then displays all the Prime
Numbers which are less then or equal to that number. This program generates all the prime
numbers less then a number, so it is a series of Prime Numbers.
///////////////////////////////////////
package developer;
import java.util.Scanner;
///////////////////////////////////////////////
I hope the Java Code was helpful to you all. Keep buzzing Java Code Online, for more info on
Java.
Hi friends, today Java Code Online will be discussing the Java code for finding the smallest
Prime number, which is greater then the number provided by the user.
The Java code starts by asking the user to enter a number, and then it generates the smallest
Prime number which is greater then the user provided number.
////////////////////////////////////
package developer;
import java.util.Scanner;
Hope that the provided Java code was beneficial to you all. Keep checking Java Code Online for
more info on Java.
Related Programs
Prime Number program in Java
Largest Prime number Java Program
Posted by amitberiwal at 10:39 PM 0 comments Links to this post
Labels: Java Code, Java Example, Java Program, Prime Number, Recursion
Hi friends, welcome back to Java Code Online. Today I will be discussing the Java Code, to find
the largest prime number, which is smaller then the number provided by the user.
A prime number is a positive integer which is divisible by 1 and itself only. The Java Code for
finding the largest Prime number which is lower then the number provided by the user is given
below:-
///////////////////////////////////
package developer;
import java.util.Scanner;
I hope the above Java code was helpful to you all. For more info on Java keep buzzing Java Code
Online.
Welcome back again, today at Java Code Online, I would be discussing the Java code for
Floyd's Triangle.
The Floyd's triangle starts from 1, it is a right angled triangle, consisting of consecutive numbers.
If suppose four rows of the Floyd's Triangle need to be generated, then the output will be, the
first row contains 1, the second row contains 2 3, the third row contains 4 5 6, and the last row
contains 7 8 9 10. I hope that will clear your concept about the Floyd's Triangle. One more
intresting fact about this triangle is that all the last numbers of each row are Triangular numbers.
The Java Code provided, asks the user to enter the number of rows till which the Floyd's
Triangle is desired, and then generates it. The Java Program is given below:-
package developer;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
}
}
I hope that this post was helpful to you all. Kindly leave your comments in case you liked the
above code. For more info on Java, keep buzzing Java Code Online.
Posted by amitberiwal at 2:34 AM 2 comments Links to this post
Labels: Floyd Triangle, Java Code, Java Example, Java Program, Triangular Number
Hi friends, today Java Code Online is going to discuss the Java Code for generating the
Triangular Numbers up to the entered number of times.
A Triangular Number is one which is the sum of all the numbers starting from 1 up to that
particular number. For example if I say the number is 3, then 1+2+3=6, so 6 is the third
Triangular Number.
The provided Java code asks the user, to enter the required number of Triangular Numbers, and
then generate that many Triangular Numbers starting from 1.
package developer;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
* @param args
* @throws IOException
* @throws NumberFormatException
*/
public static void main(String[] args) throws NumberFormatException, IOException {
System.out.println("How many Triangular Numbers are required:");
InputStreamReader ir = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(ir);
int j = 1;
int num = Integer.parseInt(br.readLine());
I hope the above Java Code was helpful to you all. Keep buzzing Java Code Online for more
interesting Java information and programs.
Posted by amitberiwal at 2:23 AM 0 comments Links to this post
Labels: Floyd Triangle, Java Code, Java Example, Java Program, Triangular Number
The Java Code is provided below, the code asks the user to enter a number,
and then prints the Pascal Triangle up to that many rows:-
package developer;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
I hope the above code was helpful to you all. For more information on Java,
you know that Java Code Online is the place you need to be at.
Hi friends, welcome back to Java Code Online. Today I will be discussing the Java Program to
find out whether any entered String or number or any combination of them is a Palindrome or
not.
A Palindrome is a string or number, that is exactly the same when it is read in the reverse order.
That is for example "anna" is a palindrome, i.e. read the same either way.
//////////////////////////////
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
System.out.println("Enter a number or String to be checked for Palindrome");
InputStreamReader io = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(io);
String num = br.readLine();
StringBuffer num2 = new StringBuffer().append(num);
if(num.equals(num2.reverse().toString()))
{
System.out.println("It is a Palindrome");
}
else
{
System.out.println("It is not Palindrome");
}
}
}
/////////////////////////////
I hope the Java code provided for finding the Palindrome was helpful to you all. For more info
on Java, keep checking Java Code Online.
Posted by amitberiwal at 10:58 PM 1 comments Links to this post
Labels: Java Code, Java Example, Java Program, Palindrome, String
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)
Java Specials
String in Java
Convert int to String in Java
Convert String to int in Java
▼ 2009 (60)
o ► October (1)
Static Inner Class Example in Java
o ▼ September (14)
Convert Celsius to Fahrenheit Java Code
Convert Fahrenheit to Celsius Java Code
Java Code to Convert Binary to Decimal
Java Code to Convert Decimal to Binary
Java Code to write to CSV File
Check out the tutorial at the Sun site
How to get Java
Blogger Blogging on Blogspot
Java Code to Delete a File
Java Code to Create a File
Java Code to Write to a File
Java Code to Read a File
Convert String to integer (int) in Java
Convert int to String using Wrapper in Java
o ► August (26)
Convert int to String in Java Code
Deadly Diamond of Death
What are final methods in Java
What is an Interface in Java
Java Code for File Extension
Remove Extension of File Java Code
Anonymous Inner Class in Java
Method Local Inner Class in Java
Static Inner Nested Class in Java
Regular Inner Class in Java
Types of Inner Class in Java
Armstrong Number Java Program
Difference ArrayList and Array in Java
Addition of two numbers Java Program
Factors of a number Java Program
Prime Factors Java Program
Prime Number Series Java Program
Sun Certified Java Programer (SCJP) Syllabus
Smallest Prime Number Java Program
Largest Prime Number Java Program
Floyd Triangle Program in Java
Triangular Number Program in Java
Pascal Triangle in Java
Palindrome Java Program
Number of words in a String - Java Program
Desending Sort - Java Program
o ► July (9)
o ► February (1)
o ► January (9)
► 2008 (24)
o ► December (24)
Followers
Labels
Java Basics (45) Java Interview Questions (36) Java Tutorial (33) Java Code (31) Java Example
(27) Java Program (24) OOPS Principles (9) String In Java (8) File (7) Inner Classes (6) String
(6) File Handling (5) Prime Number (5) Scanner (5) Recursion (4) java.io package (3)
Collections (2) Factors (2) Floyd Triangle (2) Interface (2) Java Certifications (2) Method (2)
SCJP (2) TreeSet (2) Triangular Number (2) Addition (1) Armstrong Number (1) ArrayList (1)
Circle (1) Factorial (1) Fibonacci Series (1) JDBC (1) Java Resources (1) Math (1) Oracle (1)
Palindrome (1) Pascal Triangle (1) Rectangle (1) SQL Developer (1) Sorting (1) final (1)
Hi friends, today at Java Code Online, I am going to discuss a very interesting yet basic
Java program, that displays the Pascal Triangle fo...
Hi friends, today Java Code Online is going to discuss the Java Code for generating the
Triangular Numbers up to the entered number of times...
Hello, welcome back to Java Code Online. Today I would be discussing an important
mathematical Java Code. This Java Code is for Armstrong Nu...
Welcome back again, today at Java Code Online, I would be discussing the Java code for
Floyd's Triangle. The Floyd's triangle starts from 1...
Hearty welcome from Java Code Online. Today's topic is DDD, that is Deadly Diamond
of Death. As promised in my earlier post, and as asked by...
Types of Inner Class in Java
Hi friends, Java Code Online welcomes you back again. Today's article discuss the Inner
classes in Java. An Inner class is like a class but ...
Welcome back to Java Code Online. Today I am going to give you the Java code for
generating Fibonacci Series up to a particular number. A Fi...
Hi friends, welcome back to Java Code Online. Today I will be discussing the Java
Program to find out whether any entered String or number o...
Hello guys, Java Code Online is back again with an important code. The code for today is
for making a CSV (Comma Separated File) file. The ...
Hi friends, welcome back to Java Code Online. This article is in continuation to the
previous article on Regular Inner Class, here I will di...
Hi friends, today at Java Code Online, I am going to discuss a very interesting yet basic
Java program, that displays the Pascal Triangle fo...
Hi friends, today Java Code Online is going to discuss the Java Code for generating the
Triangular Numbers up to the entered number of times...
Hearty welcome from Java Code Online. Today's topic is DDD, that is Deadly Diamond
of Death. As promised in my earlier post, and as asked by...
Hello, welcome back to Java Code Online. Today I would be discussing an important
mathematical Java Code. This Java Code is for Armstrong Nu...
Hello all of you. Today at Java Code Online, I would be discussing the Java Code for
finding all the prime factors of an entered number. Pr...
Welcome back to Java Code Online. Today I am going to give you the Java code for
generating Fibonacci Series up to a particular number. A Fi...
Hi friends, welcome back to Java Code Online. Today I will give you a simple Java
Program to find the Area and Circumference of a Circle. T...
Hello guys, Java Code Online is back again with an important code. The code for today is
for making a CSV (Comma Separated File) file. The ...
Hi friends, welcome back to Java Code Online. This article is in continuation to the
previous article on Regular Inner Class, here I will di...
Popular Posts 7 days
Pascal Triangle in Java
Hi friends, today at Java Code Online, I am going to discuss a very interesting yet basic
Java program, that displays the Pascal Triangle fo...
Hi friends, today Java Code Online is going to discuss the Java Code for generating the
Triangular Numbers up to the entered number of times...
Hello guys, Java Code Online is back again with an important code. The code for today is
for making a CSV (Comma Separated File) file. The ...
Welcome back again, today at Java Code Online, I would be discussing the Java code for
Floyd's Triangle. The Floyd's triangle starts from 1...
Hello all of you. Today at Java Code Online, I would be discussing the Java Code for
finding all the prime factors of an entered number. Pr...
Hearty welcome from Java Code Online. Today's topic is DDD, that is Deadly Diamond
of Death. As promised in my earlier post, and as asked by...
Hello, welcome back to Java Code Online. Today I would be discussing an important
mathematical Java Code. This Java Code is for Armstrong Nu...
Hi friends, welcome back to Java Code Online. Today I will give you a simple Java
Program to find the Area and Circumference of a Circle. T...
Hi friends, welcome back to Java Code Online. Today I will be discussing the Java Code,
to find the largest prime number, which is smaller t...