Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


       

Java Programming Code Examples

Java > Learning Code Examples

Account application





Creating a Function Checks Prime Number - Function returns true if the number passed to the function is a 'prime number', returns false if the number passed is not a 'prime number'. The appropriate message is printed from the

Perform Particular Operation two Number - To perform 'addition', 'subtraction', 'division' and 'multiplication' of any 2 numbers in C++, enter the 2 number and enter the operator to perform the particular math operation (+, -, *

Sizeof Operator & Coma Operator In C++ - In C++ Language 'sizeof' operator returns the size of the variable or type. Here 'size' means how many bytes of memory is being used by a variable or type. Coma "," Operator is used

Binary Search Algorithm in C++ Language - A program which takes some 'Elements' in an array and a 'Key' in variable then program use 'Binary Search' C++ Algorithm to find the key. One to sort array using 'Bubble Sort'. Second

C Displays the attributes of a Selected File - Check a files attributes. Check if the file can be written to. File cannot be written. File can be written to. Check if file can be read. File cannot be read. File can be read. Check if...

C Program to Add two Complex Numbers - This C Program adds two complex numbers. A Complex Number is a number that can be put in the form a + bi, where a and b are real numbers & i is called imaginary unit, where...

Coordinate Point in XY Coordinate System - C Program to read a coordinate point in a XY coordinate system & determine its quadrant. The program accepts X and Y. Depending on the Value of X & Y we need to Determine on

Diameter Circumference & Area of Circle - C program code input radius of a circle from user and find diameter, circumference and area of the circle. How to calculate diameter, circumference and area of a circle whose...