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…

Loading

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…

Loading

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…

Loading

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…

Loading

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…

Loading

Structure Examples in C

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…

Loading

Function Examples in C

    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…

Loading

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…

Loading

Pointer Examples in C

      Example : A Pointer Examples in C to find out the size/memory occupied by different data types using sizeof() operator. Example : A Pointer Examples in C to print value using Pointer. Example : A Pointer Examples in C to print value and address of variables using Pointer through different ways. Example Read more…

Loading

Nested Loop Examples

         Example : Write a program in C to print the given pattern using the nesting of loop concept. Example : Write a program in C to print as the given pattern using nesting of loop concept. Example : Write a program in C to print as the Read more…

Loading