Java
Looping Examples in Java
Example : A Java program to show the table values of given data. Example : A Java program to show sum of up to given value using loop. Example : A Java program to show factorial result of given value. Example : A Java program to show factorial result of Read more…
Java
Basic/Fundamental Programs in Java
Example : A simple Java program to display message . Example : A simple Java addition program to display the output of given static or constant values . Example : A simple Java program to calculate given constant float values. Example : A simple Java program to calculate given dynamic values. Example Read more…
Java
Array in Java
Arrays are versatile and commonly used in Java for storing and manipulating collections of data. In Java, an array is a simple, data structure that stores a static/fixed-size sequential collection of elements of the same data type(homogenous elements). Arrays in Java have a fixed size, meaning once they are created, Read more…
Java
Vector & ArrayList in Java
Introduction In Java, both Vector and ArrayList are classes that implement the List interface, and they are used to store and manipulate collections of objects. Vector is one of the original collection classes in Java and came into existence since Java 1.0 whereas ArrayList is part of the Java Collections Read more…
Java
Wrapper Class in Java
Introduction : Since java is an object-oriented programming language, and hence we need to deal with objects of primitive data types many times such as in Collections, Serialization, Synchronization etc problems.To solve these problems, we use wrapper class. The wrapper classes are part of the java.lang package, which is imported Read more…
C
File Handling Examples in C
Example : Write a Program(WAP) in C to create a New Blank File with a File Name and confirm its formation/creation. Example : Write a Program(WAP) in C to create a New Blank File with a User-Defined File Name and confirm its formation/creation. Example : Write a Program(WAP) in C Read more…
C
C Structure Program Examples
Example : A C program to find out the memory occupied by a structure or union. Example : A C program to store static/constant data in a structure & display them. Example : A C program to store & copy static/constant data in another structure & display them. Example : Read more…
C
Function Program Examples
Example : A C program to display message using User Defined Function (UDF). Example : A C program to display the Local and Global variables . Example : A C program to pass an Array through a User Defined Function(UDF) . Example : A C program to pass Read more…
C
String in C
Definition of String in C A string in C is typically a single-dimensional character array ending with a null character. String in C are groups of characters that include letters, digits, and symbols enclosed in quotation marks. The string is an array/sequence of characters that is terminated by a null Read more…