0

Java program to count the number of occurrences of a character in a string!

java

  Hello friends and dear programmers, today we are going to write a Java program which will count the number of occurrence of a character in a string. Let’s see the code:

Read the comments in the script to… Continue Reading

0

Java – Count the number of words in a Sentence

java

Hello people, this is a simple Java program to find out the number of words in a sentence. Very useful for high school / college students who are willing to learn Java Programming. Here is the script:

Read the comments… Continue Reading

0

Java Program – Find Largest and Smallest number in a List

java-tutorialsmade

A simple Java program to find Largest and Smallest number in a Java List. Let’s see the program first,

Read the comments in the above program to understand. This program first ask you to enter the limit, then it will… Continue Reading

0

Java program to find IP Address of localhost

java-tutorialsmade

A simple Java Program to find the localhost IP Address of your System.

To find you need to import InetAddress package. Output of the program will be something like this, Your IP4 Address : agur/192.168.1.104  

0

Java Program – Armstrong number or not

This program is very useful for Fresher Java Programmer who is searching for a Job in Software Industry. Also, teachers can use this for school and college Lab program. Here is the script (armstrong.java):

The logic of the program… Continue Reading

0

Convert “Fahrenheit to Celsius” Java Program

Today we are going to see how to convert from Fahrenheit to Celsius using a very simple Java program. This is a basic program which usually students used to study in Schools and Colleges. There are number of ways you can… Continue Reading