To understand a programming language you must practice the programs, this way you can learn the language faster. This page includes java programs on various java topics such as control statements, loops, classes & objects, functions, arrays etc. All the programs are tested and provided with the output. If you new to java and want to learn java before trying out these program, then read my Core Java Tutorials.
Java Programs
For example, say that you include the following code in one of your programs: int i, s4. The output that you see from the program will probably look like this.
Java Basic Programs |
---|
Java Program to Add two Numbers |
Java Program to Check Even or Odd Number |
Java Program to add two binary numbers |
Java Program to add two complex numbers |
Java Program to Multiply two Numbers |
Java Program to check Leap Year |
Java Program to check whether input character is vowel or consonant |
Java Program to calculate compound interest |
Java Program to calculate simple interest |
Java Program to find quotient and remainder |
Java Program to calculate power of a number |
Java Strings Programs |
---|
Java Program to Convert char to String and String to Char |
Java Program to find duplicate characters in a String |
Java Program to check Palindrome String using Stack, Queue, For and While loop |
Java Program to sort strings in alphabetical order |
Java Program to reverse words in a String |
Java Program to perform bubble sort on Strings |
Java program to find occurrence of a character in a String |
Java program to count vowels and consonants in a String |
Java Arrays Programs |
---|
Java Program to Calculate average of numbers using Array |
Java Program to Add the elements of an Array |
Java Program to reverse an array |
Java Program to sort an array in ascending order |
Java Program to convert char Array to String |
Java Program to Add Two Matrix Using Multi-dimensional Arrays |
Java Recursion Programs |
---|
Java Program to Reverse a number using for, while loop and recursion |
Java Program to check Palindrome string using Recursion |
Java Program to Reverse a String using Recursion |
Java Program to find Factorial of a number using Recursion |
Java Programs on Numbers |
---|
Java Program to display first 100 prime numbers |
Java Program to display prime numbers between 1 and 100 or 1 and n |
Java program to break integer into digits |
Java Program to check Prime Number |
Java Program to check if a given number is perfect square |
Java Program to find square root of a number without sqrt method |
Java Program to print Armstrong numbers between a given range |
Java Program to Find Sum of Natural Numbers |
Java Program to check if a number is Positive or Negative |
Java Program to generate Random Number |
Java Program to check Armstrong number |
Java Program to find GCD of two numbers |
Java Program to find Largest of three numbers |
Java Program to swap two numbers using bitwise operator |
Java Program to find smallest of three numbers using ternary operator |
Java Program to find largest of three numbers using ternary operator |
Java Program to display alternate prime numbers |
Java Program to display even numbers from 1 to n or 1 to 100 |
Java Program to display odd numbers from 1 to n or 1 to 100 |
Java Input/Output Programs |
---|
Java Program to read number from Standard Input |
Java Program to Get IP Address |
Java Program to get Input From User |
Java Programs on Geometrical Calculations |
---|
Java Program to Calculate Area of Rectangle |
Java Program to Calculate Area of Square |
Java Program to Calculate the area of Triangle |
Java Program to Calculate Area and Circumference of Circle |
Java Sorting/Searching Programs |
---|
Java Program for bubble Sort Ascending or Descending Order |
Java Program for Linear Search |
Java Program for Binary Search |
Java Program for Selection Sorting |
Java Conversion Programs |
---|
Java Octal to Decimal conversion |
Java Program to Convert Decimal to Octal |
Java hexadecimal to decimal conversion |
Java Program to convert decimal to hexadecimal |
Java binary to octal conversion |
Java String to boolean |
Java program to convert boolean to String |
Java int to char conversion |
Java char to int conversion |
Java char to string conversion |
Java long to int conversion |
Java int to long conversion |
Java Program to Convert Decimal to Binary |
Java Program to convert binary to Decimal |
Java Program to find ASCII value of a character |
Java program for String to int conversion |
Java program to convert int to String |
Java program for string to double conversion |
Java program to convert double to String |
Java program to convert String to long |
Java program to convert long to String |
Other Java Programs |
---|
Java Program to print Floyd’s triangle |
Java program to print Pascal triangle |
Java Program to display Fibonacci series using loops |
Java Program to find Factorial using loops |
Java Program to make a calculator using switch case |
Java Program to Calculate grades of Student |
Java Program to perform Arithmetic Operation using Method Overloading |
Java Program to find Area of Geometric figures using method overloading |
C Programming Interview Questions and Answers
Here you can find C Programming interview questions with answers and explanation.Sap marketplace.
Why C Programming?
In this section you can learn and practice C Programming (Questions with Answers) to improve your skills in order to face the interview, competitive examination and various entrance test (CAT, GATE, GRE, MAT, Bank Exam, Railway Exam etc.) with full confidence.
Using this Zapier integration, you can automatically add your new Autotask contacts to your Microsoft Office 365 account! With Zapier doing the work, you can spend more time being productive and less time dreading spreadsheets! Add group inbox outlook. When you receive an email in your Microsoft Outlook inbox that belongs in Autotask, you can now move it to Autotask with ONE click and NO pop-up windows. Here’s how to set it up. In Microsoft Outlook 2010, navigate to the “Home” tab of the ribbon, then create a new Quick Step. In Outlook, click New Email. Click Upload and Share. To create a new folder in Workplace, click Add Folder, enter the name of the new folder in the resulting popup, then click Add Folder. Click Upload and Insert Link. The file will upload. Navigate to the file you wish to upload and click Open. Customized, more effective at driving your business with Autotask Add-ons. Performance Analytics. Better data means better decisions. Autotask’s Performance Analytics provide a powerful, simple way to access, interact with and apply your own data – to help you make better, fact-based decisions. This will open the Manage COM Add-Ins popup: Select the Autotask Outlook Plugin check box. Verify that the plugin Load Behavior says Load at Startup. If is it not, or if this information is not displayed, proceed to the Edit the Registry section.
Where can I get C Programming Questions and Answers with Explanation?
IndiaBIX provides you lots of fully solved C Programming questions and answers with explanation. Fully solved examples with detailed answer description, explanation are given and it would be easy to understand. All students, freshers can download C Programming quiz questions with answers as PDF files and eBooks.
Where can I get C Programming Interview Questions and Answers (objective type, multiple choice)?
Here you can find objective type C Programming questions and answers for interview and entrance examination. Multiple choice and true or false type questions are also provided.
How to solve C Programming problems?
You can easily solve all kind of questions based on C Programming by practicing the exercises (including shortcut methods to solve problems) given below.