Tutorial Gateway

  • C
  • C#
  • Java
  • Python
  • SQL
  • MySQL
  • Js
  • BI Tools
    • Informatica
    • Talend
    • Tableau
    • Power BI
    • SSIS
    • SSRS
    • SSAS
    • MDX
    • R Tutorial
    • Alteryx
    • QlikView
  • More
    • C Programs
    • C++ Programs
    • Go Programs
    • Python Programs
    • Java Programs

Learn Java Programs

Please visit our Java Tutorial section to learn Java Programming with examples.

Simple Java Programs

  1. Hello World Program
  2. Add Two Numbers
  3. Compound Interest
  4. Check Number is Divisible by 5 and 11
  5. Cube of a Number
  6. Even Numbers from 1 to N
  7. GCD of a Number
  8. Largest of Two Numbers
  9. Largest of Three Numbers
  10. LCM of a Number
  11. Multiplication Table
  12. Odd Numbers from 1 to N
  13. Odd Even Program
  14. Positive or Negative Number
  15. Power of a Number
  16. Profit or Loss
  17. Print 1 to 100 without using Loops
  18. Roots of a Quadratic Equation
  19. Square of a Number
  20. Square Root of a Number
  21. Simple Interest
  22. Sum of Even Numbers
  23. Sum of Odd Numbers
  24. Student Grade
  25. Sum of Even and Odd Numbers
  26. Total Average and Percentage of Five Subjects

Character Programs in Java

  1. ASCII Value of a Character
  2. ASCII value of all Characters
  3. String Compare

Area Programs

The following are the list of java programs to find

  1. Area of Circle
  2. Area Of Triangle
  3. Find Area Of Trapezoid
  4. Area of Equilateral Triangle
  5. Area of Rectangle
  6. Find Area of a Right Angled Triangle

Volume and Surface Area Programs

The following are the Java programs to find the Surface area and Volume of the given data.

  1. Volume and Surface Area of Sphere
  2. Volume and Surface Area of a Cylinder
  3. Find Volume and Surface Area of Cube
  4. Volume and Surface Area of Cuboid
  5. Volume and Surface Area of Cone

Number Programs

  1. Armstrong Number
  2. Count Number of Digits in a Number
  3. Electricity Bill Program
  4. Factors of a Number
  5. Factorial Program in Java
  6. Fibonacci Series in Java
  7. First Digit of a Number
  8. First and Last Digit of a Number
  9. Generic Root of a Number
  10. Last Digit of a Number
  11. Natural Numbers from 1 to N
  12. Natural Numbers in Reverse Order
  13. Perfect Number Program
  14. Palindrome Program
  15. Prime Number or Not
  16. Prime Numbers from 1 to N
  17. Sum of Prime Numbers from 1 to N
  18. Reverse a Number
  19. Strong Number
  20. Sum of Digits in a Number
  21. Sum of Natural Numbers from 1 to N
  22. Swap Two Numbers

Java String Programs

  1. Print Characters in a String
  2. ASCII values of Characters in a String
  3. Concat Strings
  4. Convert Lowercase to Uppercase
  5. Convert Uppercase to Lowercase
  6. Count Total Characters in a String
  7. Count Total Words in a String
  8. Counting Alphabets Digits and Special Characters in a String
  9. Count Vowels and Consonants in a String
  10. Count Total Occurrence of Character in a String
  11. Find All Occurrences of a Character in a String
  12. Find First Character Occurrence in a String
  13. Finding Last Character Occurrence in a String
  14. Find Maximum Occurring Character in a String
  15. Find Minimum Occurring Character in a String
  16. Frequency of each Character in a String
  17. Palindrome String
  18. Print First and Last Character in a String
  19. Remove All Occurrences of a Character in a String
  20. Remove First and Last Character in a String
  21. Remove First Character Occurrence in a String
  22. Removing Last Character Occurrence in a String
  23. Replace First Character Occurrence in a String
  24. Replace Last Character Occurrence in a String
  25. String Reverse
  26. Toggle All Characters in a String

Java Conversion programs

  1. Convert Double to String
  2. Convert Int to Double
  3. Program to Convert Int to Long
  4. Convert Float to String
  5. Convert String to Double
  6. Program to Convert String to Float
  7. Convert String to Long

Date Programs

  1. Leap Year Program
  2. Number of Days in a Month

Java Array Programs

  1. Print Array Elements
  2. Arithmetic Operations on Array
  3. Copy an Array to another
  4. Count Even Numbers in an Array
  5. Count Even and Odd Numbers in an Array
  6. Counting Odd Numbers in an Array
  7. Count Positive Array Numbers
  8. Count Negative Array Numbers
  9. Counting Positive and Negative Numbers in an Array
  10. Count Array Duplicates
  11. Delete Array Duplicates
  12. Largest Array Number
  13. Largest and Smallest Array Number
  14. Print Negative Array Numbers
  15. Print Positive Array Numbers
  16. Put Positive and Negative Numbers in Separate Array
  17. Second Largest Array Number
  18. Smallest Array Number
  19. Sort Array Elements in Ascending Order
  20. Sort Array Elements in Descending Order
  21. Sum of All Elements in an Array
  22. Sum of Even Numbers in an Array
  23. Summing Even and Odd Numbers in an Array
  24. Sum of Odd Numbers in an Array
  25. Swap Two Array without using Temp Variable
  26. Unique Array Items

Java Matrix Programs

  1. Print Matrix Items
  2. Arithmetic operations on Matrix
  3. Add Two Matrices
  4. Check Two Matrices are Equal
  5. Determinant of a Matrix
  6. Identity Matrix
  7. Interchange Matrix Diagonals
  8. Lower Triangle of a Matrix
  9. Multiply two Matrices
  10. Scalar Matrix Multiplication
  11. Sparse Matrix
  12. Subtract two Matrices
  13. Sum of the Matrix Lower Triangle
  14. Sum of the Matrix Upper Triangle
  15. Summing of Matrix Opposite Diagonal
  16. Sum of Matrix Diagonal
  17. Sum of each Matrix Column
  18. Summing of each Matrix Row
  19. Sum of Matrix Rows and Column
  20. Symmetric Matrix
  21. Transpose Matrix
  22. Upper Triangle of a Matrix

Java Star Pattern Programs

  1. Rectangle Star Pattern
  2. Square Star Pattern

Java Number Pattern Programs

  1. Box Number Pattern of 1 and 0
  2. Floyd’s Triangle
  3. Hollow Box Number Pattern
  4. Square Number Pattern

  • SQL DML, DDL, DCL & TCL Cmds
  • SQL NOT EXISTS Operator
  • SQL UPDATE from SELECT
  • SQL AFTER UPDATE Triggers
  • SQL Get Column Names in Table
  • SQL IF ELSE
  • SQL ACID Properties
  • SQL FOR XML PATH
  • Java Two Dimensional Array
  • Java Perfect Number Program
  • Java Count Digits in a Number
  • C Compare Two Strings Program
  • C Print Prime Numbers 1 to 100
  • C program to Reverse a String
  • C Palindrome Number Program
  • C Program for Palindrome String
  • C Remove Duplicate String Chars
  • C Square of a Number Program
  • C Sum and Average of N Number
  • Python Fibonacci Series program
  • Python Area Of Circle Program
  • Python Prime Numbers 1 to 100
  • Python Program for Leap Year
  • Tableau Rank Calculation
  • Tableau Google Maps usage
  • Power BI Format Dates
  • Power BI Top 10 Filters
  • Power BI – Create Hierarchy
  • Power BI DAX Math Functions
  • Learn SSIS in 28 Days
  • SSIS Transformations
  • SSIS Incremental Load
  • SSRS Drill Through Reports
  • SSRS Drill Down Reports
  • R Programming Tutorial

Copyright © 2021 · All Rights Reserved by Suresh

About Us | Contact Us | Privacy Policy