This document provides examples of calculating geometric shapes, numbers, and data types in Java including circles, rectangles, factorials, arrays, and reversing numbers. It also includes examples of basic Java concepts like classes, interfaces, and primitive data types like boolean, byte, char, double, float, int, long, and short.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
31 views
Javaexamples
This document provides examples of calculating geometric shapes, numbers, and data types in Java including circles, rectangles, factorials, arrays, and reversing numbers. It also includes examples of basic Java concepts like classes, interfaces, and primitive data types like boolean, byte, char, double, float, int, long, and short.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
Calculate Circle Area using Java Example
Calculate Circle Perimeter using Java Example
Calculate Rectangle Area using Java Example Calculate Rectangle Perimeter using Java Example Even Odd Number Example Find Largest and Smallest Number in an Array Example Hello World example Java Class example Java Factorial Example Java Interface example Reverse Number using Java Swap Numbers Java Example Swap Numbers Without Using Third Variable Java Example Java boolean Example Java byte Example Java char Example Java double Example Java float Example Java int Example Java long Example Java short Example