what is java? can u give me some simple codes
Answers
Answer:
Java is a programming language.We can also create games.
Answer:
Java Programs – Java Programming Examples with Output
BY CHAITANYA SINGH | FILED UNDER: JAVA EXAMPLES
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
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 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