Home
DS & Algo. ▾
Data Structure
Algorithms
Coding Problems
Languages ▾
C
C++
C++ STL
Java
Python
Scala
Ruby
C#.Net
Golang
Android
Kotlin
SQL
Web. ▾
JavaScript
CSS
jQuery
PHP
Node.Js
AdonisJs
VueJS
Ajax
HTML
Django
Programs ▾
C
C++
Data Structure
Java
C#.Net
VB.Net
Python
PHP
Golang
Scala
Swift
Rust
Ruby
Kotlin
C Interview Programs
Aptitude ▾
C Aptitude
C++ Aptitude
Java Aptitude
C# Aptitude
PHP Aptitude
Linux Aptitude
DBMS Aptitude
Networking Aptitude
AI Aptitude
More...
Interview ▾
Golang
MIS Executive
DBMS
C
Embedded C
Java
SEO
HR
Find Output ▾
C
C++
C#.Net
Java
Go
PHP
More...
MCQs ▾
Web Technologie MCQs
CS Subjects MCQs
Databases MCQs
Programming MCQs
Testing Software MCQs
Digital Mktg Subjects MCQs
Cloud Computing S/W MCQs
Engineering Subjects MCQs
Commerce MCQs
More MCQs...
CS Subjects ▾
Machine Learning/AI
Operating System
Computer Network
Software Engineering
Discrete Mathematics
Digital Electronics
Data Mining
MIS
DBMS
Embedded Systems
Cryptography
CS Fundamental
More Tutorials...
More ▾
Tech Articles
Puzzles
Full Forms
Code Examples
Blogs
Guest Post
Programmer's Calculator
XML Sitemap Generator
Tools & Generators
About
Contact
Home
DS & Algo. ▾
Data Structure
Algorithms
Coding Problems
Languages ▾
C
C++
C++ STL
Java
Python
Scala
Ruby
C#.Net
Golang
Android
Kotlin
SQL
Web. ▾
JavaScript
CSS
jQuery
PHP
Node.Js
AdonisJs
VueJS
Ajax
HTML
Django
Programs ▾
C
C++
Data Structure
Java
C#.Net
VB.Net
Python
PHP
Golang
Scala
Swift
Rust
Ruby
Kotlin
C Interview Programs
Aptitude ▾
C Aptitude
C++ Aptitude
Java Aptitude
C# Aptitude
PHP Aptitude
Linux Aptitude
DBMS Aptitude
Networking Aptitude
AI Aptitude
More...
Interview ▾
Golang
MIS Executive
DBMS
C
Embedded C
Java
SEO
HR
Find Output ▾
C
C++
C#.Net
Java
Go
PHP
More...
MCQs ▾
Web Technologie MCQs
CS Subjects MCQs
Databases MCQs
Programming MCQs
Testing Software MCQs
Digital Mktg Subjects MCQs
Cloud Computing S/W MCQs
Engineering Subjects MCQs
Commerce MCQs
More MCQs...
CS Subjects ▾
Machine Learning/AI
Operating System
Computer Network
Software Engineering
Discrete Mathematics
Digital Electronics
Data Mining
MIS
DBMS
Embedded Systems
Cryptography
CS Fundamental
More Tutorials...
More ▾
Tech Articles
Puzzles
Full Forms
Code Examples
Blogs
Guest Post
Programmer's Calculator
XML Sitemap Generator
Tools & Generators
About
Contact
×
Team Members
Members - Home
Devyani Nagare
Benisha Lama
Shahnail Khan
Venkatesan C
Vikneshwar GK
Vaishnavi Srivastava
Akash Periyasamy
Anushree Goswami
Monika Sharma
Radib Kar
Divyansh Jaipuriyar
Hritika Rajput
Pranit Sharma
Apurva Mathur
Pratishtha Saxena
Muskan Bhadana
Shivang Yadav
Shubh Pachori
Soumya Sinha
Abhinav Gangrade
Preeti Jain
Hrithik Chandra Prasad
Sapna Deraje Radhakrishna
Harshita Jain
Abhishek Goel
Kartiki Malik
Nidhi
Bhavya Sri Khandrika
Anshuman Das
Debasis Jana
Godwill Tetah
Monika Jha
Siddhant Verma
Bipin Kumar
Saurabh Gupta
Anjali Singh
Sahil Singh
Amit Shukla
Abhishek Jain
Bharti Parmar
Uma Dasgupta
Mansha Lamba
Vipin Bailwal
Himanshu Singh Bisht
Basantjeet Das
Bhanu Pratap Raghav
Saksham Bhayana
Souvik Saha
Piyas Mukherjee
Raja Sethupathi V
Kamakshi
Yash Khandelwal
Sanjeev
Ankit Rai
Bestha Radha Krishna
Karan Ghai
Kongnyu Carine
Bhawna Aggarwal
Aditi S.
Anuj Singh
Mahima Rao
Akash Kumar
Ayush Sharma
Samiksha Yadav
Raju Singh Bhati
Diksha Tewari
Indrajeet Das
Vivek Kothari
Ritik Aggarwal
Shivakshi Dhiman
Ankit Sood
Mahak Jain
Manu Jemini
Abhishek Pathak
Aleesha Ali
Raunak Goswami
Vandana Sharma
Shubham Singh Rajawat
Mayank Singh
Prerna Saxena
Jyoti Singh
Aman Gautam
Atul Anand
Shamikh Faraz
Prerana Jain
Chandra Shekhar
Ashish Varshney
Anusha Sharma
Abhishek Sharma
Anamika Gupta
Sneha Dujaniya
Sudarshan Paul
Abhishek Kataria
Suryaveer Singh
Deepak Dutt Mishra
Shivangi Jain
Hritik Raj
Himanshu Bhatt
Shruti Matta
Home
»
Members
Nidhi
Technical Content Writer
Name
: Nidhi
Her submissions
.Net
C# Methods Aptitude Questions and Answers
C# Constructors and Destructors Aptitude Questions and Answers
C# | Uri.GetHashCode() Method with Example
C# | Uri.GetLeftPart() Method with Example
C# | Uri.GetType() Method with Example
C# | Uri.IsHexEncoding() Method with Example
C# | Uri.HexEscape() Method with Example
C# | Uri.HexUnescape() Method with Example
C# | Uri.IsBaseOf() Method with Example
C# | Uri.MakeRelativeUri() Method with Example
C# | Uri.IsWellFormedOriginalString() Method with Example
C# | Uri.TryCreate() Method with Example
C# | Uri.Equality() Operator with Example
C# | Uri.Inequality() Operator with Example
C# | Uri.ReferenceEquals() Method with Example
C# | Uri.CheckHostName() Method with Example
C# | Uri.CheckSchemeName() Method with Example
C# | Uri.Equals() Method with Example
C# | Uri.EscapeUriString() Method with Example
C# | Uri.IsHexDigit() Method with Example
C# | Uri.FromHex() Method with Example
C# | Uri.DnsSafeHost Property with Example
C# | Uri.Fragment Property with Example
C# | Uri.Host Property with Example
C# | Uri.HostNameType Property with Example
C# | Uri.IsAbsoluteUri Property with Example
C# | Uri.IsDefaultPort Property with Example
C# | Uri.IsFile Property with Example
C# | Uri.IsLoopback Property with Example
C# Arrays Aptitude Questions and Answers | Set 1
C# Arrays Aptitude Questions and Answers | Set 2
C# Arrays Aptitude Questions and Answers | Set 3
C# Arrays Aptitude Questions and Answers | Set 4
C# Arrays Aptitude Questions and Answers | Set 5
C# Enumeration Aptitude Questions and Answers | Set 1
C# Enumeration Aptitude Questions and Answers | Set 2
C# Enumeration Aptitude Questions and Answers | Set 3
C# Enumeration Aptitude Questions and Answers | Set 4
C# Enumeration Aptitude Questions and Answers | Set 5
C# Strings Aptitude Questions and Answers | Set 1
C# Strings Aptitude Questions and Answers | Set 2
C# Strings Aptitude Questions and Answers | Set 3
C# Strings Aptitude Questions and Answers | Set 4
C# Strings Aptitude Questions and Answers | Set 5
C# Namespace Aptitude Questions and Answers | Set 1
C# Namespace Aptitude Questions and Answers | Set 2
C# Namespace Aptitude Questions and Answers | Set 3
C# Namespace Aptitude Questions and Answers | Set 4
C# Namespace Aptitude Questions and Answers | Set 5
C# Structures Aptitude Questions and Answers | Set 1
C# Structures Aptitude Questions and Answers | Set 2
C# Structures Aptitude Questions and Answers | Set 3
C# Structures Aptitude Questions and Answers | Set 4
C# Structures Aptitude Questions and Answers | Set 5
C# Properties Aptitude Questions and Answers | Set 1
C# Properties Aptitude Questions and Answers | Set 2
C# Properties Aptitude Questions and Answers | Set 3
C# Properties Aptitude Questions and Answers | Set 4
C# Properties Aptitude Questions and Answers | Set 5
C# Class & Object Aptitude Questions and Answers | Set 1
C# Class & Object Aptitude Questions and Answers | Set 2
C# Class & Object Aptitude Questions and Answers | Set 3
C# Class & Object Aptitude Questions and Answers | Set 4
C# Class & Object Aptitude Questions and Answers | Set 5
C# Inheritance Aptitude Questions and Answers | Set 1
C# Inheritance Aptitude Questions and Answers | Set 2
C# Inheritance Aptitude Questions and Answers | Set 3
C# Inheritance Aptitude Questions and Answers | Set 4
C# Inheritance Aptitude Questions and Answers | Set 5
C# Exception Handling Aptitude Questions and Answers | Set 1
C# Exception Handling Aptitude Questions and Answers | Set 2
C# Exception Handling Aptitude Questions and Answers | Set 3
C# Exception Handling Aptitude Questions and Answers | Set 4
C# Exception Handling Aptitude Questions and Answers | Set 5
Networking | Basics Aptitude Questions and Answers | Set 1
Networking | Basics Aptitude Questions and Answers | Set 2
Networking | Basics Aptitude Questions and Answers | Set 3
Networking | Basics Aptitude Questions and Answers | Set 4
Networking | Basics Aptitude Questions and Answers | Set 5
Networking | Internetworking Aptitude Questions and Answers | Set 1
Networking | Internetworking Aptitude Questions and Answers | Set 2
Networking | Internetworking Aptitude Questions and Answers | Set 3
Networking | Internetworking Aptitude Questions and Answers | Set 4
Networking | Internetworking Aptitude Questions and Answers | Set 5
Networking | WWW Aptitude Questions and Answers
Networking | TLS Aptitude Questions and Answers
Networking | UDP Aptitude Questions and Answers
Networking | Network protocols Full Forms Aptitude Questions and Answers
Networking | Useful Full Forms Aptitude Questions and Answers
Networking | ARP Aptitude Questions and Answers
Networking | FTP Aptitude Questions and Answers
Networking | GPRS Aptitude Questions and Answers
Networking | HTTP Aptitude Questions and Answers
Networking | HTTPS and SSL Aptitude Questions and Answers
Networking | URL Aptitude Questions and Answers
Networking | Email & Email Protocols Aptitude Questions and Answers
Networking | VPN Aptitude Questions and Answers
Networking | WiFi Aptitude Questions and Answers
Networking | VLAN Aptitude Questions and Answers
Networking | NFS Aptitude Questions and Answers
Networking | Remote Login & Protocols Aptitude Questions and Answers
Networking | Default Port Aptitude Questions and Answers
Networking | Topologies Aptitude Questions and Answers
Networking | OSI Model Aptitude Questions and Answers | Set 1
Networking | OSI Model Aptitude Questions and Answers | Set 2
Networking | OSI Model Aptitude Questions and Answers | Set 3
Networking | OSI Model Aptitude Questions and Answers | Set 4
Networking | OSI Model Aptitude Questions and Answers | Set 5
Linux Basics Aptitude Questions and Answers
Linux Environment Variables Aptitude Questions
Linux Directory Commands Aptitude Questions and Answers
Linux Admin Commands Aptitude Questions and Answers
Linux Utility Commands Aptitude Questions and Answers
Linux Filter Commands Aptitude Questions and Answers
Linux AWK Aptitude Questions and Answers
Linux Filesystem Hierarchy Aptitude Questions and Answers
Linux File Permissions Commands Aptitude Questions and Answers
Linux Shell Commands Aptitude Questions and Answers
Linux Network Commands Aptitude Questions and Answers
Linux File Commands Aptitude Questions and Answers
Linux User and Group Commands Aptitude Questions and Answers
Linux VI Editor Aptitude Questions and Answers
Linux Regular Expressions Aptitude Questions and Answers
Linux Commands (Mixed) Aptitude Questions and Answers
PHP Basics Aptitude Questions and Answers
PHP Data Types Aptitude Questions and Answers
PHP Operators Aptitude Questions and Answers
PHP Constants Aptitude Questions and Answers
PHP Numbers Aptitude Questions and Answers
PHP Conditional Statements Aptitude Questions and Answers
PHP Superglobals Aptitude Questions and Answers
PHP JSON Aptitude Questions and Answers
PHP Looping Statements Aptitude Questions and Answers
PHP Class Constants Aptitude Questions and Answers
PHP OOPs Concept Aptitude Questions and Answers
PHP Cookies Aptitude Questions and Answers
PHP Sessions Aptitude Questions and Answers
PHP Recursion Aptitude Questions and Answers
PHP Magic Constants Aptitude Questions and Answers
PHP Static Keyword Aptitude Questions and Answers
PHP Math Functions Aptitude Questions and Answers
PHP Arrays Aptitude Questions and Answers
PHP File Handling Aptitude Questions and Answers
PHP Constructors & Destructors Aptitude Questions and Answers
C/C++
C++ Operators | Find output programs | Set 1
C++ Operators | Find output programs | Set 2
C++ Conditional Statements | Find output programs | Set 1
C++ Conditional Statements | Find output programs | Set 2
C++ Switch Statements | Find output programs | Set 1
C++ Switch Statements | Find output programs | Set 2
C++ goto Statement | Find output programs | Set 1
C++ goto Statement | Find output programs | Set 2
C++ const Keyword | Find output programs | Set 1
C++ const Keyword | Find output programs | Set 2
C++ Looping | Find output programs | Set 1
C++ Looping | Find output programs | Set 2
C++ Looping | Find output programs | Set 3
C++ Looping | Find output programs | Set 4
C++ Looping | Find output programs | Set 5
C++ Reference Variable| Find output programs | Set 1
C++ Reference Variable| Find output programs | Set 2
C++ Default Argument | Find output programs | Set 1
C++ Default Argument | Find output programs | Set 2
C++ Arrays | Find output programs | Set 1
C++ Arrays | Find output programs | Set 2
C++ Arrays | Find output programs | Set 3
C++ Arrays | Find output programs | Set 4
C++ Arrays | Find output programs | Set 5
C++ Class and Objects | Find output programs | Set 1
C++ Class and Objects | Find output programs | Set 2
C++ Class and Objects | Find output programs | Set 3
C++ Class and Objects | Find output programs | Set 4
C++ Class and Objects | Find output programs | Set 5
C++ Constructor and Destructor | Find output programs | Set 1
C++ Constructor and Destructor | Find output programs | Set 2
C++ Constructor and Destructor | Find output programs | Set 3
C++ Constructor and Destructor | Find output programs | Set 4
C++ Constructor and Destructor | Find output programs | Set 5
C++ this Pointer | Find output programs | Set 1
C++ this Pointer | Find output programs | Set 2
C++ this Pointer | Find output programs | Set 3
C++ Structures | Find output programs | Set 1
C++ Structures | Find output programs | Set 2
C++ Structures | Find output programs | Set 3
C++ Structures | Find output programs | Set 4
C++ Structures | Find output programs | Set 5
C++ Friend Function | Find output programs | Set 1
C++ Friend Function | Find output programs | Set 2
C++ Function Overloading | Find output programs | Set 1
C++ Function Overloading | Find output programs | Set 2
C++ Function Overloading | Find output programs | Set 3
C++ Static Variables and Functions | Find output programs | Set 1
C++ Static Variables and Functions | Find output programs | Set 2
C++ Static Variables and Functions | Find output programs | Set 3
C++ Static Variables and Functions | Find output programs | Set 4
C++ Static Variables and Functions | Find output programs | Set 5
C++ Operator Overloading | Find output programs | Set 1
C++ Operator Overloading | Find output programs | Set 2
C++ Operator Overloading | Find output programs | Set 3
C++ Operator Overloading | Find output programs | Set 4
C++ Operator Overloading | Find output programs | Set 5
C++ Enumeration | Find output programs
C++ Inheritance | Find output programs | Set 1
C++ Inheritance | Find output programs | Set 2
C++ Inheritance | Find output programs | Set 3
C++ Inheritance | Find output programs | Set 4
C++ Inheritance | Find output programs | Set 5
C++ Manipulators | Find output programs | Set 1
C++ Manipulators | Find output programs | Set 2
C++ Strings | Find output programs | Set 1
C++ Strings | Find output programs | Set 2
C++ Strings | Find output programs | Set 3
C++ Strings | Find output programs | Set 4
C++ Strings | Find output programs | Set 5
C++ Exceptional Handling | Find output programs | Set 1
C++ Exceptional Handling | Find output programs | Set 2
C++ Exceptional Handling | Find output programs | Set 3
C++ Virtual Functions | Find output programs | Set 1
C++ Virtual Functions | Find output programs | Set 2
C++ Virtual Functions | Find output programs | Set 3
C++ Templates | Find output programs | Set 1
C++ Templates | Find output programs | Set 2
C++ Preprocessor | Find output programs | Set 1
C++ Preprocessor | Find output programs | Set 2
C++ Preprocessor | Find output programs | Set 3
C++ Signal Handling | Find output programs | Set 1
C++ Namespace | Find output programs | Set 1
C++ Namespace | Find output programs | Set 2
C++ Dynamic Memory Allocation| Find output programs | Set 1
C++ Dynamic Memory Allocation | Find output programs | Set 2
C++ Dynamic Memory Allocation | Find output programs | Set 3
C program to get SQLite version in Linux
C program to get SQLite version using 'SELECT' statement in Linux
C program to create SQLite database dynamically in Linux
C program to create database table dynamically in SQLite
C program to drop a database table dynamically in SQLite
C program to insert data into a database table in SQLite
C program to delete records from a database table in SQLite
C program to get records from a database table in SQLite
C program to get the last row id of a database table in SQLite
C program to get record from a database table using parameterized SELECT query in SQLite
C program to insert an image data into SQLite table
C program to get MySQL client version in Linux
C program to create MySQL database dynamically in Linux
C program to create a table in MySQL database dynamically in Linux
C program to drop a table in MySQL database dynamically in Linux
C program to insert data into a table in MySQL database in Linux
C program to get records from the MySQL database table in Linux
C program to get MySQL version using SELECT statement in Linux
C program to print the last insertion row id of the MySQL table in Linux
C program to get the column names of the MySQL data table in Linux
C program to convert a binary number to an octal number
C program to convert an octal number into a binary number
C program to convert a hexadecimal number into a binary number
C program to convert a binary number to a hexadecimal number
C program to convert a decimal number to a roman number
C program to convert a roman number to a corresponding decimal number
C program to convert a Decimal number to Binary using Recursion
C program to convert a Binary number to Gray Code
C program to convert a Binary number to Gray Code using Recursion
C program to reverse an integer number using recursion
C program to check a given number is prime or not using recursion
C program to calculate the product of two numbers using recursion
C program to calculate the sum of array elements using pointers as an argument
C program to add two dynamic arrays
C program to find the sum of the largest contiguous subarray
C program to split an array and add the first half after the second half of the array
C program to generate pascal triangle using the array
C program to access array element out of bounds
C program to print alternate elements of the array
C program to print the non-repeated elements of an array
C program to find the total of non-repeated elements of an array
C program to find the missing number in the array
C program to find the difference between the largest and smallest element in the array
C program to print the square of array elements
C program to find the missing number in the array using the bitwise XOR operator
C program to find two elements whose sum is closest to zero
C program to check a given number appears more than N/2 times in a sorted array of N integers
C program to find the median of two sorted arrays with same using simple merge-based O(n) solution
C program to find the median of two arrays using a divide and conquer-based efficient solution
C program to find the intersection of two arrays
C program to find the union of two arrays
C program to find the size of the array using macro
C program to find the ceiling element of the given number in the sorted array
C program to find the floor element of the given number in the sorted array
C program for matrix multiplication using recursion
C program to check two matrices are identical or not
C program to check a given matrix is an identity matrix or not
C program to check a given matrix is a sparse matrix or not
C program to interchange the rows in the matrix
C program to interchange the columns in the matrix
C program to arrange row elements in ascending order
C program to arrange column elements in ascending order
C program to find the frequency of even numbers in matrix
C program to find the sum of main and opposite diagonal elements of a matrix
C program to find the normal of a matrix
C program to find the trace of matrix
C program to print the upper triangular matrix
C program to check a string is palindrome or not without using library function
C program to check a string is palindrome or not using recursion
C program to print the biggest and smallest palindrome words in a string
C program to print the smallest word in a string
C program to print the biggest word in a string
C program to reverse a string using recursion
C program to reverse every word of the given string
C program to remove a given word from the string
C program to delete duplicate words in the string
C program to sort strings in alphabetical order
C program to check a given character is alphanumeric or not without using the library function
C program to check a given character is a digit or not without using the library function
Given a character, we have to check whether the given character is a digit or not without using the library function.
C program to check a given character is a whitespace character or not without using the library function
C program to check a given character is an uppercase character or not without using the library function
C program to check a given character is a lowercase character or not without using the library function
C program to check a given character is a punctuation mark or not without using the library function
C program to find the frequency of the given word in a string
C program to find the sum of all digits in the alphanumeric string
C program to copy a string to another string using recursion
C program to find the first capital letter in a string using recursion
C program to find the first capital letter in a string without using recursion
C program to find the frequency of every word in the given string
C program to find the highest frequency of a character in the given string
C program to print all possible subsets of a given length in string
C program to check two strings are anagram or not
C program to find a specific word ends with a specific character in the string
C program to split the string using the strtok() function
C program to split the string using strtok_r() function
C program to demonstrate the strstr() function
C program to implement own strstr() function
C program to make a beep sound
C program to convert a given number of days into days, weeks, and years
C program to create an integer array and store the EVEN and ODD elements in a different array
C program to implement your own sizeof using macro
C program to demonstrate the getopt() function
C program to get the current date and time using the ctime() function
C program to get the current UTC time
C program to demonstrate the sleep() and usleep() functions for Linux operating system
C program to demonstrate the nanosleep() function
C program to demonstrate the strpbrk() function
C program to implement the strpbrk() user-defined function
C program to sort the words of the string
C program to implement the KMP pattern search algorithm
C program to check a number contain the alternative pattern of bits
C program to find the next number power of 2
C program to find the position of MSB bit of an unsigned integer number
C program to round off an integer number to the next lower multiple of 2
C program to print the range of fundamental data types using bitwise operators
C program to count the number of leading zeros in a binary number
C program to read a byte and print bits between given positions
C program to swap two bits of a 32-bit integer number
C program to check a given number is the power of 2 using bitwise operator
C program to count the number of bits to be flipped to convert a number to another number
C program to print bits that need to be flipped to convert a number to another number
C program to find the sum of the Arithmetic Progression (A.P.) series
C program to find the sum of the Geometric Progression (G.P.) series
C program to find the sum of the Harmonic Progression (H.P.) series
C program to delete a specified file using remove() function
C program to delete a specified file using the system() function
C program to remove a specified empty directory using the remove() function
C program to remove an empty directory
C program to remove a non-empty directory using the system() function
C program to check a given filename is a directory or not
C program to find the roots of a quadratic equation
C program to find the GCD (Greatest Common Divisor) of two integers
C program to find the LCM (Lowest Common Multiple) of two integers
C program to find the HCF (Highest Common Factor) of given numbers using recursion
C program to find the LCM (Lowest Common Multiple) of given numbers using recursion
C program to find the GCD (Greatest Common Divisor) of given numbers using recursion
C program to calculate the area of a triangle given three sides
C program to calculate the area of a triangle given base and height
C program to calculate the area of Trapezium
C program to calculate the area of the rhombus
C program to calculate the area of Parallelogram
C program to calculate the area of Cube
C program to calculate the volume of Cube
C program to find the Surface Area and Volume of the Cylinder
C program to calculate the surface area, volume, and space diagonal of cuboids
C program to calculate the surface area, volume of Cone
C program to calculate the surface area, volume of the Sphere
C program to print Floyd's triangle
C program to calculate the mean, variance, and standard deviation of real numbers
C program to read coordinate points and determine its quadrant
C program to calculate the value of nCr
C program to calculate the value of nPr
C program to remove a specific line from the text file
C program to replace the specified line in an existing text file
C program to append the content of one file to the end of another file
C program to print the list of files of a directory
C program to print the list of files and subdirectories of the current directory
C program to check a specified directory exists or not
C program to check a specified file exists or not
C program to check a specified file exists or not using the stat() function
C program to check a specified file exists or not using the access() function
C program to check a specified file has read, write, and execute permission or not
C program to create a directory using mkdir() function
C program to create a directory using system() function
C program to remove an empty directory using rmdir() function
C program to rename a file using the rename() function
C program to rename a file using the system() function
C program to change the permissions of file using system() function
C program to print the function names defined in the source code
C program to print the name of the source code file
C program to print the line number in source code with filename and function name
C program to implement postman sort algorithm
C program to implement LSD Radix sort algorithm
C program to sort integer array using qsort() with a function pointer
C program to sort structure items using qsort() with a function pointer
C program to implement pigeonhole sort algorithm
C program to implement cycle sort algorithm
C program to implement Odd-even sort algorithm
C program to implement cocktail sort algorithm
C program to implement Bitonic sort algorithm to sort an array in ascending order
C program to implement Bitonic sort algorithm to sort an array in descending order
C program to implement Comb sort algorithm
C program to implement Stooge sort algorithm
C program to implement Pancake sort algorithm
C program to implement Bogo sort algorithm
C program to implement shell sort algorithm
C program to search an item in the linked list
C program to search an item in the linked list using recursion
C program to traverse the linked list
C program to traverse the linked list using recursion
C program to compare two linked lists
C program to check a linked list is palindrome or not
C program to find the largest element in the singly linked list
C program to print the even elements of the linked list
C program to create Even and Odd lists from a Singly linked list
C program to find the first common element from the given linked lists
C program to find the middle node of the singly linked list
C program to remove duplicate nodes from the singly linked list
C program to print the Nth node from the last of a singly linked list
C program to implement depth-first binary tree search using recursion
C program to search an item in the binary tree
C program to search an item in the binary tree using recursion
C program to find the largest item in the binary tree
C program to create a mirror of the binary tree
C program to check whether a character is a printable character or not without using library function
C program to convert a lowercase character into uppercase without using library function
C program to convert an uppercase character into lowercase without using library function
C program to print all punctuation marks without using library function
C program to print all punctuation marks using the ispunct() function
C program to print all printable characters using the isprint() function
C program to print all printable characters without using the library function
C program to implement selection sort using recursion
C program to search an item in an array using recursion
C program to implement binary search using recursion
C program to capitalize the first letter of every word in a file
C program to print all environment variables
C program to calculate the product of two binary numbers
C program to calculate the addition of two complex numbers
C program to extract the last two digits from a given year
C program to perform the ATM Transactions
C program to read the height of a person and the print person is taller, dwarf, or average height person
C program to read the grade of student print equivalent description
C program to find the size of the union
C++ cin, cout aptitude questions and answers
C++ const Keyword Aptitude Questions and Answers
C++ this Pointer Aptitude Questions and Answers
C++ Default Arguments Aptitude Questions and Answers
C++ Inline Function Aptitude Questions and Answers
C++ Friend Function Aptitude Questions and Answers
C++ Containers & Iterators Aptitude Questions and Answers
C++ Template Aptitude Questions and Answers
C++ Namespace Aptitude Questions and Answers
C++ String Aptitude Questions and Answers
C++ Reference Variable Aptitude Questions and Answers
C++ static Keyword Aptitude Questions and Answers
C++ Files & Streams Aptitude Questions and Answers
C++ Exception Handling Aptitude Questions and Answers
C++ Operator Overloading Aptitude Questions and Answers
C++ Polymorphism & Function Overloading Aptitude Questions and Answers
C++ Virtual Function Aptitude Questions and Answers
C++ List Container Aptitude Questions and Answers
C++ Vector Container Aptitude Questions and Answers
C++ STL Deque Aptitude Questions and Answers
C# programs
C# program to create a thread
C# program to create a thread pool
C# program to pause a thread
C# program to demonstrate thread lock
C# program to kill a thread
C# program to print the name of the current thread
C# program to demonstrate the concept of parameter passing for thread
C# program to print the priority of current thread
C# program to print elapsed milliseconds of stopwatch using Thread.Sleep() method
C# program to assign the name to the thread
C# program to compare two dates
C# program to demonstrate ATM transactions
C# program to generate random numbers
C# program to take height as input and print its category as Dwarf, Average, and Tall
C# program to count the frequency of the specified word in the given string
C# program to demonstrate the example of the left-shift operator
C# program to demonstrate the example of the right shift operator
C# program to read the grade of students and print the appropriate description of grade
C# program to calculate the size of the area in square-feet based on specified length and width
C# program to demonstrate the example of a sealed class
C# program to demonstrate the example of unboxing
C# program to find the magnitude of an integer number
C# program to find the average of array elements
C# program to implement phonebook
C# program to find the division of exponents of the same base
C# program to demonstrate the example of single inheritance
C# program to demonstrate the example of multi-level inheritance
C# program to demonstrate the example of hierarchical inheritance
C# program to demonstrate the example of multilevel inheritance with method overriding
C# program to count the files based on extension using LINQ
C# program to generate random even numbers using LINQ parallel query
C# program to generate numbers that are multiples of 5 using the LINQ parallel query
C# program to print the list of non-generic collections using LINQ
C# program to print the employees whose id is greater than 101 using LINQ
C# program to print the employees whose salary between 6000 and 8000 using LINQ
C# program to print the employees whose name started with character 'S' using LINQ
C# program to print the employees whose name contains less than 4 characters using LINQ
C# program to print the employees whose last character of the name is 'n' using LINQ
C# program to print the employees whose name started with 'S' and Age is greater than 23 using LINQ
C# program to print the numbers greater than 786 in an integer array using LINQ
C# program to print the names that contain 'MAN' substring using LINQ
C# program to print the employees whose salary is greater than the average of all employees salaries using LINQ
C# program to print only those numbers whose value is less than average of all elements in an integer array using LINQ
C# program to convert a two-dimensional array into a one-dimensional array
C# program to demonstrate the example of LongLength property of array
C# program to print the lower bound and upper bound of an array
C# program to find out the dimensions of an array
C# program to demonstrate the example of BlockCopy method of the array
C# program to produce a third array by appending two different arrays
C# program to search an item in an array using binary search
C# program to implement indexer for an integer array
C# program to convert negative values an integer array into positive
C# program to get the length of a jagged array using predefine property
C# program to find the smallest and largest elements of an array using predefined methods
C# program to find the average of array elements using the predefine Average() method of Queryable class
C# program to find the sum of array elements using the predefine Sum() method of Queryable class
C# program to demonstrate the example of Except method in Linq
C# program to demonstrate the example of SelectMany() method in Linq
C# program to find the list of students whose name starts with 'S' using where() method of List collection using Linq
C# program to find the list of students whose name contains 4 characters using where() method of List collection using Linq
C# program to demonstrate the use of the method as a condition in the Linq where() method of List collection
C# program to find the index of even numbers using Linq
C# program to find string values from the list of objects using the Linq OfType() method
C# program to find the negative double numbers from the list of objects using Linq
C# program to demonstrate the example of Linq Distinct() method
C# program to demonstrate the example of Linq Intersect() method
C# program to demonstrate the example of Linq Union() method
C# program to demonstrate the example of Linq Union() method with StringComparer
C# program to demonstrate the example of Linq Concat() method
C# program to sort a list of integers using the Linq OrderBy() method
C# program to sort a list of string names using the Linq OrderBy() method
C# program to sort a list of employees based on salary using Linq
C# program to sort a list of employees based on salary and whose department is ABC using Linq
C# program to find integer numbers from the list of objects and sort them using Linq
C# program to demonstrate the example of Linq Intersect() method with OrderBy() method
C# program to demonstrate the use of Linq OrderByDescending() method
C# program to sort student names in descending order using Linq
C# program to sort a list of employees based on salary in descending order and whose department is XYZ using Linq
C# program to demonstrate the example of Linq ThenBy() method
C# program to demonstrate the example of Linq ThenByDescending() method
C# program to demonstrate the example of Linq Reverse() method
C# program to reverse the list of cities using Linq
C# program to demonstrate the example of Linq Aggregate() method
C# program to calculate the sum of array elements using the Linq Aggregate() method
C# program to calculate the total of employee's salaries using the Aggregate() method
C# program to check all items of a float array is greater than 5.0 using Linq
C# program to check the length of courses is more than 2 characters using Linq
C# program to check the salary of all employees is less than 10000 using Linq
C# program to join Employee and Department class using Linq Join Method
C# program to join Employee and Department class using Linq Join Query
C# program to join Employee and Department class and employee's salary must be greater than 3000 using Linq
C# program to join multiple data sources using Linq
C# program to join multiple data sources using Linq Join() method
C# program to reverse an integer array using a predefined method
C# program to sort an integer array using the predefined method
C# program to calculate the sum of all digits of a number using recursion
C# program to print the binary equivalent of an integer number using recursion
C# program to check a specified number exists in an array using Linq
C# program to check a specified city exists in the List collection using Linq
C# program to check a specified employee exists in the list of employees using Linq
C# program to implement Power() method using recursion
C# program to terminate the current running program explicitly
C# program to demonstrate the concept of method hiding
C# program to demonstrate the example goto statement
C# program to demonstrate the example of anonymous method
C# program to create an obsolete method in a class
C# program to demonstrate the use of a ternary conditional operator
C# program to print a message without using the WriteLine() method
C# program to demonstrate the example of Pass by reference parameter passing in a method
C# program to create a user defined the namespace
C# program to demonstrate the use of #define preprocessor
C# program to demonstrate the example of regular expression
C# program to demonstrate the example of Nullable data types
C# program to demonstrate the example of New keyword
C# program to convert a binary number into a decimal number
C# program to convert a decimal number into a binary number
C# program to convert a decimal number into an octal number
C# program to convert a temperature from Celsius to Fahrenheit
C# program to convert a temperature from Fahrenheit into Celsius
C# program to create gray code
C# program to change the case of entered character
C# program to convert entered days into years, weeks, and days
C# program to convert the US dollar into Indian rupees
C# program to convert a hexadecimal number into a decimal number
C# program to convert a decimal number into a hexadecimal number
C# program to convert a meter into kilo-meter and vice versa
C# program to print digits of a number into words
C# program to declare and instantiate delegate
C# program to call multiple methods from the delegate
C# program to demonstrate the example of an array of delegates
C# program to return the value from the method using a delegate
C# program to demonstrate the example of generic delegate
C# program to demonstrate the example of multicast delegate
C# program to call math operations using delegates
C# program to demonstrate IndexOutOfRange exception
C# program to demonstrate DivideByZeroException exception
C# program to demonstrate InvalidCastException exception
C# program to demonstrate the multiple catch blocks in exception handling
C# program to demonstrate the stack overflow exception
C# program to demonstrate the NullReferenceException
C# program to demonstrate the finally block in exception handling
C# program to demonstrate StringReader class
C# program to read the list of available disk drives
C# program to demonstrate the StringWriter class
C# program to read all lines from a file using StreamReader class
C# program to read data from file character by character till the end of the file
C# program to demonstrate MemoryStream class
C# program to get the size of a specified folder including sub-folder
C# program to demonstrate the BinaryReader and BinaryWriter classes
C# program to compare the content of two files using StreaReader class
C# program to check the given number is a perfect number or not
C# program to print the all factors of a given number
C# program to find the HCF of two given numbers
C# program to check given numbers are the pair of amicable numbers or not
C# program to find the addition of two complex numbers
C# program to find the greatest common divisor (GCD)
C# program to find the value of sin(x)
C# program to demonstrate the trigonometry angles in degrees using Math class
C# program to demonstrate the trigonometry angles in radians using Math class
C# program to calculate the MEAN of a set of given numbers
C# program to calculate the VARIANCE of a set of given numbers
C# program to calculate the Standard Deviation of a set of given numbers
C# program to calculate the compound interest
C# program to calculate the Cosine(X) using a predefined method
C# program to calculate the Cosine(X) without using a predefined method
C# program to calculate the traveled distance based on speed and time
C# program to print the Pascal Triangle
C# program to calculate the sum of two binary numbers
C# program to calculate the multiplication of two exponents of the same base
C# program to print Floyd's triangle
C# program to calculate the multiplication of two numbers using the left shift operator
C# program to print the edge values using Pow() method
C# program to calculate the fractional power of numbers
C# program to get the date of yesterday using TimeSpan
C# program to get tomorrow's date using TimeSpan
C# program to find the difference of two specified times using TimeSpan
C# program to find the sum of two specified times using TimeSpan
C# program to demonstrate the bitwise operations
C# program to find the root of a quadratic equation
C# program to print the absolute value of a number without using Math.Abs() method
C# program to find the Least Common Multiple of two numbers
C# program to find the cube root of a given number
C# program to find the square root of a given number without using Math.Sqrt() method
C# program to trim a specified string
C# program to trim a specified string from the left side
C# program to trim a specified string from the right side
C# program to split a string using the Split() method of String class
C# program to extract only numbers from a specified string using the Split() method
C# program to get the length of the string
C# program to replace a substring within a specified string
C# program to find the occurrence of the specified word in a given string
C# program to convert a string from lowercase to uppercase
C# program to calculate the area of a Cone
C# program to calculate the volume of a cone
C# program to calculate the NPR
C# program to calculate the area of Sphere
C# program to calculate the volume of Sphere
C# program to calculate the perimeter of Circle
C# program to calculate the perimeter of Rectangle
C# program to calculate the NCR
C# program to print the abbreviation of a given string
C# program to print the list of all possible substrings of a specified string
C# program to count the total number of digits in an alpha-numeric string
C# program to concatenate the two strings using a predefined method
C# program to reverse a given string without using the predefined method
C# program to perform left padding without using PadLeft() method
C# program to perform the right padding without using the PadRight() method
C# program to count the total number of vowels in a given string
C# program to generate random strings
C# program to encrypt and decrypt a string using Rijndael key algorithm
C# program to count the lines in a given string
C# program to print the hostname of the computer
C# program to print the IP address of the computer
C# program to demonstrate the validation of username and password
C# program to demonstrate the simple interface
C# program to implement the same method in multiple classes
C# program to implement multiple interfaces in the same class
C# program to implement multiple interfaces with the same method in the same class
C# program to demonstrate interface implementation with multi-level inheritance
C# program to implement an interface in a structure
C# program to implement multiple-inheritance using the interface
C# program to implement hierarchical inheritance using the interface
C# program to demonstrate the inheritance of interfaces
C# program to demonstrate the simple example of the abstract class
C# program to implement the same abstract method in multiple classes
C# program to inherit an abstract class and interface in the same class
C# program to demonstrate abstract class with multiple-level inheritance
C# program to implement multiple-inheritance using abstract class and interface
C# program to implement hierarchical inheritance using the abstract class
C# program to demonstrate the inheritance of abstract classes
C# program to demonstrate the use of reflection to get namespace and base-type
C# program to print class names created in the program using reflection
C# program to print the current assembly name using GetExecutingAssembly() method
C# program to print class names and its method names using reflection classes
C# program to print method names and its parameters using reflection classes
C# program to print constructors of the specified class using ConstructorInfo class
C# program to print properties of the specified class using PropertyInfo class
C# program to check a specified class is an abstract class or not
C# program to check a specified type is a class or not
C# program to check a specified type is an enum or not
C# program to check a specified type is an interface or not
C# program to check a specified type is nested or not
C# program to check a specified type is a primitive data type or not
C# program to check a specified type is a pointer or not
C# program to check a specified type is an array or not
C# program to check a specified type is public or not
C# program to check a specified class is a sealed class or not
C# program to check a specified class is a serializable class or not
C# program to check a specified type is a value type or not
C# program to check a class is a sub-class of a specified class or not
C# program to demonstrate the conditional attribute using #define
C# program to demonstrate the #if preprocessor directive
C# program to demonstrate the #undef preprocessor directive
C# program to demonstrate the #error preprocessor directive
C# program to demonstrate the #warning preprocessor directive
C# program to demonstrate the #region preprocessor directive
C# program to demonstrate the #pragma preprocessor directive
C# program to demonstrate the Obsolete attribute
C# program to generate an error for the obsolete method using the Obsolete attribute
C# program to demonstrate the CLSCompliant attribute
C# program to demonstrate the Flags Attribute
C# program to demonstrate unsafe code using pointers
C# program to access array elements using the pointer
C# program to swap two numbers using the pointer
C# program to count vowels in character array using pointers
C# program to demonstrate the pointer as a data member
C# program to create a socket server
C# program to create a client program
C# program to add two matrices
C# program to transpose a matrix
C# program to print the upper triangular matrix
C# program to check the matrix is an identity matrix or not
C# program to find the largest element in the matrix
C# program to multiply two matrices
C# program to find the sum of each row of the matrix
C# program to find the sum of each column of the matrix
C# program to find the sum of the right diagonal of the matrix
C# program to find the sum of the left diagonal of the matrix
C# program to interchange the columns of the matrix
C# program to print the lower triangular matrix
C# program to demonstrate the interface
C# program to demonstrate the properties in the interface
C# program to demonstrate the IList interface
C# program to demonstrate the IDictionary interface
C# program to implement In-order traversal in Binary Tree
C# program to implement Pre-order traversal in Binary Tree
C# program to implement Post-order traversal in Binary Tree
C# program to get all stack frames using StackTrace class
C# program to traverse the singly linked list
C# program to delete a given node from the singly Linked-List
C# program to implement stack using structure
C# program to implement Double Stack using structure
C# program to implement Double Stack using class
C# program to implement Linear Queue using structure
C# program to implement the Circular Queue using structure
C# program to demonstrate the Tower Of Hanoi
C# program to implement selection Sort
C# program to implement selection Sort to arrange elements in the descending order
C# program to sort an array in ascending order using bubble sort
C# program to sort an array in descending order using bubble sort
C# program to sort an array in ascending order using insertion sort
C# program to sort an array in descending order using insertion sort
C# program to sort an array using quick sort
C# program to sort an array using merge sort
C# program to sort an integer array using Radix Sort
C# program to implement the Heap Sort
C# program to demonstrate the Enum
C# program to print the integer values of enum constants
C# program to get the type-code of enum constants
C# program to print the name of enum constant based on an integer value
C# program to get the hash-code of enum constants
C# program to demonstrate the optional parameters
C# program to demonstrate the named arguments
C# program to demonstrate the command line arguments
C# program to demonstrate the static class
C# program to get the count of total created objects
C# program to demonstrate the static constructor
C# program to demonstrate the structure
C# program to demonstrate the static constructor in the structure
C# program to demonstrate the array of structures
C# program to demonstrate the structure within a structure
C# program to demonstrate method overloading based on the number of arguments
C# program to demonstrate method overloading based on types of arguments
C# program to demonstrate method overloading based on the order of arguments
C# program to demonstrate the constructor overloading
C# program to demonstrate the index overloading
Why is Dictionary preferred over Hashtable in C#?
C#.Net program to get the MySQL version
C#.Net program to get the MySQL version using the 'Select' statement
C#.Net program to create a database in MySql dynamically
C#.Net program to create a table in MySql database dynamically
C#.Net program to drop a table from the MySql database dynamically
C#.Net program to insert a record in the MySql database
C#.Net program to print the column name of a specified MySql database table
C#.Net program to get the records of a specified MySql database table
C# program to demonstrate the use of SchemeDelimiter property of Uri class
C# program to check whether a given Uri is a file or not
C# program to check whether a given Uri uses File Transfer Protocol (FTP) or not
C# program to check whether a given Uri is accessed through Gopher protocol
C# program to check whether a given Uri is accessed through http protocol
C# program to check whether a given Uri is accessed through https protocol
C# program to check whether a given Uri is accessed through SMTP protocol
C# program to check whether a given Uri is accessed through NetPipe scheme of Indigo system
C# program to check whether a given Uri is accessed through NetTcp scheme
C# program to demonstrate the use of UriSchemeNews property of Uri class
C# program to demonstrate the use of AbsolutePath property of Uri class
C# program to demonstrate the use of AbsoluteUri property of Uri class
C# program to demonstrate the use of Authority property of Uri class
C# program to demonstrate the use of IsUnc property of Uri class
C# program to demonstrate the use of LocalPath property of Uri class
C# program to demonstrate the use of OriginalString property of Uri class
C# program to demonstrate the use of PathAndQuery property of Uri class
C# program to demonstrate the use of Port property of Uri class
C# program to demonstrate the use of Query property of Uri class
C# program to demonstrate the use of Scheme property of Uri class
C# program to demonstrate the use of Segments property of Uri class
C# program to demonstrate the use of UserEscaped property of Uri class
C# program to demonstrate the use of UserInfo property of Uri class
C# program to demonstrate the use of Round() method of Math class
C# program to demonstrate the use of Sign() method of Math class
C# program to demonstrate the use of Sin() method of Math class
C# program to demonstrate the use of Sinh() method of Math class
C# program to demonstrate the use of Tan() method of Math class
C# program to demonstrate the use of Tanh() method of Math class
C# program to demonstrate the use of Truncate() method of Math class
C# program to demonstrate the use of CompareTo() method of Enum class
C# program to demonstrate the use of Equals() method of Enum class
C# program to demonstrate the use of Format() method of Enum class
C# program to demonstrate the use of GetHashCode() method of Enum
C# program to demonstrate the GetName() method of Enum
C# program to demonstrate the GetNames() method of Enum class
C# program to demonstrate the GetType() method of Enum class
C# program to demonstrate the GetTypeCode() method of Enum class
C# program to demonstrate the GetUnderlyingType() method of Enum class
C# program to demonstrate the GetValues() method of Enum class
C# program to demonstrate the HasFlag() method of Enum class
C# program to demonstrate the IsDefined() method of Enum class
C# program to demonstrate the use of Parse() method of Enum class
C# program to demonstrate the use of ToObject() method of Enum class
C# program to demonstrate the use of MaxValue property of TimeSpan structure
C# program to demonstrate the use of MinValue property of TimeSpan structure
C# program to demonstrate the use of TicksPerDay property of TimeSpan structure
C# program to demonstrate the use of TicksPerHour property of TimeSpan structure
C# program to demonstrate the use of TicksPerMillisecond property of TimeSpan structure
C# program to demonstrate the use of TicksPerMinute property of TimeSpan structure
C# program to demonstrate the use of TicksPerSecond property of TimeSpan structure
C# program to demonstrate the use of Zero property of TimeSpan structure
C# program to demonstrate the use of Days property of TimeSpan structure
C# program to demonstrate the use of Hours property of TimeSpan structure
C# program to demonstrate the use of Milliseconds property of TimeSpan structure
C# program to demonstrate the use of Minutes property of TimeSpan structure
C# program to demonstrate the use of Seconds property of TimeSpan structure
C# program to demonstrate the use of Ticks property of TimeSpan structure
C# program to demonstrate the use of TotalDays property of TimeSpan structure
C# program to demonstrate the use of TotalHours property of TimeSpan structure
C# program to demonstrate the use of TotalMilliseconds property of TimeSpan structure
C# program to demonstrate the use of TotalMinutes property of TimeSpan structure
C# program to demonstrate the use of TotalSeconds property of TimeSpan structure
C# program to demonstrate the use of Add() method of TimeSpan structure
C# program to demonstrate the use of Subtract() method of TimeSpan structure
C# program to demonstrate the use of Compare() method of TimeSpan structure
C# program to demonstrate the use of CompareTo() method of TimeSpan structure
C# program to demonstrate the use of Duration() method of TimeSpan structure
C# program to demonstrate the use of Equals() method of TimeSpan structure
C# program to demonstrate the use of FromDays() method of TimeSpan structure
C# program to demonstrate the use of FromHours() method of TimeSpan structure
C# program to demonstrate the use of FromMinutes() method of TimeSpan structure
C# program to demonstrate the use of FromSeconds() method of TimeSpan structure
C# program to demonstrate the use of FromMilliseconds() method of TimeSpan structure
C# program to demonstrate the use of FromTicks() method of TimeSpan structure
C# program to demonstrate the unary plus (+) operator with TimeSpan structure
C# program to demonstrate the unary minus (-) operator with TimeSpan structure
C# program to demonstrate the binary plus (+) operator with TimeSpan structure
C# program to demonstrate the binary minus (-) operator with TimeSpan structure
C# program to demonstrate the equality (==) operator with TimeSpan structure
C# program to demonstrate the Inequality (!=) operator with TimeSpan structure
C# program to demonstrate the overloaded less than (<) operator with TimeSpan structure
C# program to demonstrate the overloaded less than or equal to (<=) operator with TimeSpan structure
C# program to demonstrate the overloaded greater than (>) operator with TimeSpan structure
C# program to demonstrate the overloaded greater than or equal to (>=) operator with TimeSpan structure
C# program to get the full path of the current directory using Environment class
C# program to get the Machine Name or Host Name using Environment class
C# program to check whether running Operating System is 64-bit OS or not using Environment class
C# program to check whether running process is 64-bit process or not using Environment class
C# program to get the number of processors of the current machine using Environment class
C# program to check whether the CLR is shutting down or not using Environment class
C# program to get the path of system directory using Environment class
C# program to get the memory size for OS page file using Environment class
C# program to get the Computer System User Name using Environment class
C# program to get the amount of physical memory mapped to the process context using Environment class
C# program to get the Network Domain name associated with current using Environment class
C# program to get the current stack trace information using Environment class
C# program to get the number of milliseconds elapsed since system started using Environment class
C# program to check whether a process is running in user interactive mode or not using Environment class
C# program to get and print the command line arguments using Environment class
C# program to demonstrate the use of Exit() method of Environment class
C# program to demonstrate the use of GetCommandLineArgs() method of Environment class
C# program to demonstrate the use of FailFast() method of Environment class
C# program to get the logical drives of computer system using Environment class
C# program to get the environment variables using Environment class
C# program to get the Operating System version of computer using Environment class
C# program to demonstrate the use of GetEnvironmentVariable() method of Environment class
C# program to demonstrate the use of SetEnvironmentVariable() method of Environment class
C# program to demonstrate the use of Exp() method of Math class
C# program to demonstrate the use of PI property of Math class
C# program to demonstrate the use of Acos() method of Math class
C# program to demonstrate the use of Asin() method of Math class
C# program to demonstrate the use of Atan() method of Math class
C# program to demonstrate the use of Atan2() method of Math class
C# program to demonstrate the use of Cos() method of Math class
C# program to demonstrate the use of Cos() method of Math class
C# program to demonstrate the use of Cosh() method of Math class
C# program to demonstrate the use of DivRem() method of Math class
C# program to demonstrate the use of IEEERemainder() method of Math class
C# program to demonstrate the use of Log() method of Math class
C# program to demonstrate the use of Log10() method of Math class
C# program to demonstrate the use of Abs() method of Math class
C# program to demonstrate the use of BigMul() method of Math class
C# program to add elements into a SortedList (Example of Add() Method)
C# program to remove an element from a SortedList (Example of Remove() Method)
C# program to remove an element at the specified index from a SortedList (Example of RemoveAt() Method)
C# program to get the value at the specified index from a SortedList (Example of GetByIndex() Method)
C# program to get the key at the specified index of a SortedList (Example of GetKey() Method)
C# program to get the keys in a SortedList (Example of GetKeyList() Method)
C# program to get the values in a SortedList (Example of GetValueList() Method)
C# program to get the index of the specified key in a SortedList (Example of IndexOfKey() Method)
C# program to get the index of the first occurrence of the specified value in a SortedList (Example of IndexOfValue() Method)
C# program for swapping of two arrays
C# program to check whether a SortedList object contains a specific key (Example of ContainsKey() Method)
C# program to check whether a SortedList object contains a specific value (Example of ContainsValue() Method)
C# program to check whether a SortedList object contains a specific key (Example of Contains() Method)
C# program to get the keys in a SortedList object (Example of Keys Property)
C# program to get the values in a SortedList object (Example of Values Property)
C# program to replace the value at a specific index in a SortedList object (Example of SetByIndex() Method)
C# program to copy SortedList elements to a one-dimensional Array object (Example of CopyTo() Method)
C# program to create a shallow copy of a SortedList object (Example of Clone() Method)
C# program to remove all elements from a SortedList object (SortedList.Clear() Method)
C# program to get or set the capacity of a SortedList object (SortedList.Capacity Property)
C# program to demonstrate the BitArray
C# program to get the value of the bit at a specific position in the BitArray (BitArray.Get() Method)
C# program to perform the bitwise AND operation between BitArray elements (BitArray.And() Method)
C# program to perform the bitwise OR operation between BitArray elements (BitArray.Or() Method)
C# program to invert all the bit values in the current BitArray (BitArray.Not Method)
C# program to set all bits in the BitArray to the specified value (BitArray.SetAll() Method)
C# program to set the bit at a specific position in the BitArray to the specified value (BitArray.Set() Method)
C# program to perform the bitwise XOR operation between BitArray elements (BitArray.Xor() Method)
C# program to create a shallow copy of the BitArray (BitArray.Clone() Method)
C# program to copy the entire BitArray to a compatible one-dimensional Array (BitArray.CopyTo() Method)
C# program to get or set the number of elements in the BitArray (BitArray.Length Property)
C# program to get the local time zone (TimeZoneInfo.Local Property)
C# program to get the difference between local time zone and UTC (Coordinated Universal Time)
C# program to get the display name for the current time zone's daylight saving time (TimeZoneInfo.DaylightName Property)
C# program to get the DisplayName of local time zone (TimeZoneInfo.DisplayName Property)
C# program for TimeZoneInfo.Id property & TimeZoneInfo.GetSystemTimeZones() method
C# program to get the standard time zone name (TimeZone.StandardName Property)
C# program for TimeZoneInfo.SupportsDaylightSavingTime Property
C# program to get the Coordinated Universal Time (UTC) zone (TimeZoneInfo.Utc Property)
C# program to get the system time by Zone Id
C# program to convert a time to the time in a particular time zone (TimeZoneInfo.ConvertTime() Method)
C# program to clear cached time zone data (TimeZoneInfo.ClearCachedData() Method)
C# program to define a time zone that is not found on the local computer (TimeZoneInfo.CreateCustomTimeZone() Method)
C# program to determine whether two TimeZoneInfo objects are equal (TimeZoneInfo.Equals() Method)
C# program to get the hash code of the time zone (TimeZoneInfo.GetHashCode() Method)
C# program to get a sorted collection of all the time zones (TimeZoneInfo.GetSystemTimeZones() Method)
C# program to calculate the offset between the time in this time zone and UTC (TimeZoneInfo.GetUtcOffset() Method)
C# program to check whether a date and time in a particular time zone is ambiguous (TimeZoneInfo.IsAmbiguousTime() Method)
C# program to get the ambiguous time offsets (TimeZoneInfo.GetAmbiguousTimeOffsets() Method)
C# program to determine given date and time is daylight saving time or not (TimeZoneInfo.IsDaylightSavingTime() Method)
C# program to insert an item into a sorted array
C# program to delete an item from a sorted array
C# program to get the maximum number of generations that the system currently supports (GC.MaxGeneration Property)
C# program to get the current generation number of an object (GC.GetGeneration() Method)
C# program to get the number of bytes currently thought to be allocated (GC.GetTotalMemory() Method)
C# program to force an immediate garbage collection (GC.Collect() Method)
C# program to add an object to the end of the ArrayList (ArrayList.Add() Method)
C# program to remove the first occurrence of a specific object from the ArrayList (ArrayList.Remove() Method)
C# find output programs
C#.Net find output programs (Data Types) | set 1
C#.Net find output programs (Data Types) | set 2
C#.Net find output programs (Data Types) | set 3
C#.Net find output programs (Operators) | set 1
C#.Net find output programs (Operators) | set 2
C#.Net find output programs (Operators) | set 3
C#.Net find output programs (const Keyword) | set 1
C#.Net find output programs (this Keyword) | set 1
C#.Net find output programs (readonly Keyword) | set 1
C#.Net find output programs (if else) | set 1
C#.Net find output programs (if else) | set 2
C#.Net find output programs (if else) | set 3
C#.Net find output programs (switch statement) | set 1
C#.Net find output programs (switch statement) | set 2
C#.Net find output programs (switch statement) | set 3
C#.Net find output programs (goto) | set 1
C#.Net find output programs (Loops) | set 1
C#.Net find output programs (Loops) | set 2
C#.Net find output programs (Loops) | set 3
C#.Net find output programs (Arrays) | set 1
C#.Net find output programs (Arrays) | set 2
C#.Net find output programs (Arrays) | set 3
C#.Net find output programs (static Keyword) | set 1
C#.Net find output programs (static Keyword) | set 2
C#.Net find output programs (default Arguments) | set 1
C#.Net find output programs (default Arguments) | set 2
C#.Net find output programs (Parameter Passing) | set 1
C#.Net find output programs (Enumeration) | set 1
C#.Net find output programs (Enumeration) | set 2
C#.Net find output programs (Boxing & Unboxing) | set 1
C#.Net find output programs (Structure) | set 1
C#.Net find output programs (Structure) | set 2
C#.Net find output programs (Structure) | set 3
C#.Net find output programs (Classes & Objects) | set 1
C#.Net find output programs (Classes & Objects) | set 2
C#.Net find output programs (Classes & Objects) | set 3
C#.Net find output programs (Constructors & Destructors) | set 1
C#.Net find output programs (Constructors & Destructors) | set 2
C#.Net find output programs (Constructors & Destructors) | set 3
C#.Net find output programs (Inheritance) | set 1
C#.Net find output programs (Inheritance) | set 2
C#.Net find output programs (Inheritance) | set 3
C#.Net find output programs (Interface) | set 1
C#.Net find output programs (Interface) | set 2
C#.Net find output programs (Method Overloading) | set 1
C#.Net find output programs (Method Overloading) | set 2
C#.Net find output programs (Method Overriding) | set 1
C#.Net find output programs (Method Overriding) | set 2
C#.Net find output programs (Method Overriding) | set 3
C#.Net find output programs (Operator Overloading) | set 1
C#.Net find output programs (Operator Overloading) | set 2
C#.Net find output programs (Operator Overloading) | set 3
C#.Net find output programs (Namespace) | set 1
C#.Net find output programs (Namespace) | set 2
C#.Net find output programs (Exception Handling) | set 1
C#.Net find output programs (Exception Handling) | set 2
C#.Net find output programs (Exception Handling) | set 3
PHP
PHP program to create an object of a class and access the class attributes
PHP program to create multiple objects of a class and access attributes of the class
PHP program to define methods within the class
PHP program to initialize data members without using the constructor
PHP program to print the size of the empty class
PHP program to create a class with setter and getter functions
PHP program to create a class to add two distances
PHP program to create a class to subtract one distance from another distance
PHP program to create a class to add two times
PHP program to convert seconds into hours, minutes, and seconds
PHP program to convert hours, minutes, and seconds into several seconds
PHP program to implement a cascaded function call
PHP program to create a constant using define() function
PHP program to create a case in-sensitive constant using define() function
PHP program to check a constant is defined or not
PHP program to print the line number using __LINE__ magic constant
PHP program to print the full path of the current program file
PHP program to print the function name using magic constant __FUNCTION__
PHP program to print the class name using magic constant __CLASS__
PHP program to print the method name with the associated class name using magic constant __METHOD__
PHP program to demonstrate the use of printf() function
PHP program to demonstrate the use of the local and global variables
PHP program to demonstrate the default or no-argument constructor
PHP program to implement the default or no-argument constructor using __construct()
PHP program to demonstrate the parameterized constructor
PHP program to implement the parameterized constructor using __construct()
PHP program to demonstrate the use of destructor
PHP program to demonstrate the call by value parameter passing
PHP program to demonstrate the call by reference parameter passing
PHP program to demonstrate the use of default arguments
PHP program to demonstrate the use of variable arguments
PHP program to calculate the factorial of a given number using recursion
PHP program to calculate the power of a given number using recursion
PHP program to demonstrate the single inheritance
PHP program to call a base class constructor from the derived class
PHP program to call base class destructor from the derived class
PHP program to demonstrate the multi-level inheritance
PHP program to demonstrate the hierarchical or tree inheritance
PHP program to demonstrate the example of a simple interface
PHP program to implement an interface into multiple classes
PHP program to implement multiple interfaces in the same class
PHP program to implement multiple-inheritance using the interface
PHP program to demonstrate the inheritance of interfaces
PHP program to demonstrate the example of the simple abstract class
PHP program to inherit an abstract class into multiple non-abstract classes
PHP program to inherit an abstract class and an interface in a non-abstract class
PHP program to demonstrate the inheritance of abstract classes
PHP program to demonstrate the method overriding
PHP program to demonstrate the final keyword
PHP program to demonstrate the method overloading based on the number of arguments
PHP programs to pass an object of class as an argument
PHP programs to demonstrate the function returning object
PHP program to calculate the md5 hash from plaintext
PHP program to convert a string into base64
PHP program to convert base64 into the simple string
PHP program to send a text e-mail message
PHP program to send an HTML email message
PHP program to download the text file from the specified URL
PHP program to demonstrate the Divide By Zero Exception using exception handling
PHP program to demonstrate the Array index out of bound exception using exception handling
PHP program to demonstrate the NULL reference exception using exception handling
PHP program to create a user-defined exception class
PHP program to create DivideByZeroException class
PHP program to demonstrate the finally block in exception handling
PHP program to demonstrate the use of multiple catch blocks
PHP program to convert an associated array into JSON format
PHP program to demonstrate the json_encode() function with indexed array of strings
PHP program to demonstrate the json_encode() function with multi-dimensional array
PHP program to decode the JSON string into an associative array
PHP program to decode the JSON string into a multi-dimensional array
PHP program to check a substring exists within the given string using a regular expression pattern
PHP program to check a case insensitive substring exists within the given string using regular expression pattern
PHP program to demonstrate the regular expression to count the occurrence of given substring
PHP program to demonstrate the regular expression to replace the substring within the string
PHP program to demonstrate the quantifiers in pattern to search a string using a regular expression
PHP program to demonstrate the use of $GLOBALS to access global variables
PHP program to print the filename of the current executing PHP script
PHP program to print the version of CGI used by the webserver
PHP program to print the IP address of a hosted web server
PHP program to print the server name or website name
PHP program to print the version of the server software
PHP program to print the server protocol
PHP program to print the request method used to access the webpage
PHP program to print the timestamp of the start of the request
PHP program to demonstrate the use of $_REQUEST superglobal variable
PHP program to demonstrate the use of $_POST superglobal variable
PHP Find Output Programs (Basics) | Set 1
PHP find output programs (basics) | set 2
PHP find output programs (basics) | set 3
PHP find output programs (conditional statements) | set 1
PHP find output programs (conditional statements) | set 2
PHP find output programs (conditional statements) | set 3
PHP find output programs (Operators) | set 1
PHP find output programs (Operators) | set 2
PHP find output programs (Operators) | set 3
PHP find output programs (Loops) | set 1
PHP find output programs (Loops) | set 2
PHP find output programs (Loops) | set 3
PHP find output programs (Loops) | set 4
PHP find output programs (Arrays) | set 1
PHP find output programs (Arrays) | set 2
PHP find output programs (Arrays) | set 3
PHP find output programs (User-defined functions) | set 1
PHP find output programs (User-defined functions) | set 2
PHP find output programs (User-defined functions) | set 3
PHP find output programs (switch Statement) | set 1
PHP find output programs (switch Statement) | set 2
PHP find output programs (Superglobals) | set 1
PHP find output programs (String Functions) | set 1
PHP find output programs (String Functions) | set 2
PHP find output programs (Number Functions) | set 1
PHP find output programs (Math Functions) | set 1
PHP find output programs (Math Functions) | set 2
PHP find output programs (define Constant) | set 1
PHP find output programs (static variables, classes, methods) | set 1
PHP find output programs (static variables, classes, methods) | set 2
PHP find output programs (Regular Expressions) | set 1
PHP find output programs (Date and Time) | set 1
PHP find output programs (Exceptions) | set 1
PHP find output programs (Exceptions) | set 2
PHP find output programs (Filters) | set 1
PHP find output programs (Filters) | set 2
PHP find output programs (JSON) | set 1
PHP find output programs (const Keyword) | set 1
PHP find output programs (Class & Objects) | set 1
PHP find output programs (Class & Objects) | set 2
PHP find output programs (Class & Objects) | set 3
PHP find output programs (Constructors and Destructors) | set 1
PHP find output programs (Constructors and Destructors) | set 2
PHP find output programs (Constructors and Destructors) | set 3
PHP find output programs (Inheritance) | set 1
PHP find output programs (Inheritance) | set 2
PHP find output programs (Inheritance) | set 3
Java
Java Bitwise Operators
Java find output programs (Data Types) | set 1
Java find output programs (Data Types) | set 2
Java find output programs (Data Types) | set 3
Java find output programs (Operators) | set 1
Java find output programs (Operators) | set 2
Java find output programs (Operators) | set 3
Java find output programs (if else) | set 1
Java find output programs (if else) | set 2
Java find output programs (if else) | set 3
Java find output programs (switch case) | set 1
Java find output programs (switch case) | set 2
Java find output programs (switch case) | set 3
Java find output programs (Loops) | set 1
Java find output programs (Loops) | set 2
Java find output programs (Loops) | set 3
Java find output programs (Arrays) | set 1
Java find output programs (Arrays) | set 2
Java find output programs (Arrays) | set 3
Java find output programs (this Keyword) | set 1
Java find output programs (final Keyword) | set 1
Java find output programs (final Keyword) | set 2
Java find output programs (static Keyword) | set 1
Java find output programs (static Keyword) | set 2
Java find output programs (Parameter Passing) | set 1
Java find output programs (Class and Objects) | set 1
Java find output programs (Class and Objects) | set 2
Java find output programs (Class and Objects) | set 3
Java find output programs (Constructor & Destructor) | set 1
Java find output programs (Constructor & Destructor) | set 2
Java find output programs (Constructor & Destructor) | set 3
Java find output programs (Inheritance) | set 1
Java find output programs (Inheritance) | set 2
Java find output programs (Inheritance) | set 3
Java find output programs (Interface) | set 1
Java find output programs (Interface) | set 2
Java find output programs (Interface) | set 3
Java find output programs (Overloading) | set 1
Java find output programs (Overloading) | set 2
Java find output programs (Overriding) | set 1
Java find output programs (Overriding) | set 2
Java find output programs (Overriding) | set 3
Java find output programs (Exception Handling) | set 1
Java find output programs (Exception Handling) | set 2
Java find output programs (Exception Handling) | set 3
Java find output programs (Enumeration) | set 1
Java find output programs (Enumeration) | set 2
Java find output programs (Autoboxing & Unboxing) | set 1
Java find output programs (Autoboxing & Unboxing) | set 2
Java program to calculate HCF of two numbers
Java program to multiply two numbers using plus (+) operator
Java program to perform subtraction without using minus (-) operator
Java program to print the value in decimal, octal, hexadecimal using printf() method
Java program to calculate the employee and employer provident fund
Java program to calculate the gratuity of an employee
Java program to compare float and double values
Java program to find the remainder without using modulus (%) operator
Java program to check a given character is alphanumeric or not without using a built-in method
Java program to check a given character is a digit or not without using the built-in library method
Java program to check a given character is a whitespace character or not without using the built-in library method
Java program to check a given character is an uppercase character or not without using the built-in library method
Java program to check a given character is a lowercase character or not without using the built-in library method
Java program to check a given character is a punctuation mark or not without using the built-in library method
Java program to check a given character is a printable character or not without using the built-in library method
Java program to convert a given number of days into years, weeks, days
Java program to find the roots of a quadratic equation
Java program to find the (GCD) Greatest Common Divisor
Java program to find the (LCM) Lowest Common Multiple
Java program to calculate the area of a triangle based on given three sides
Java program to calculate the area of a triangle based on a given base and height
Java program to calculate the area of Trapezium
Java program to calculate the area of Rhombus
Java program to calculate the area of Parallelogram
Java program to calculate the area of Cube
Java program to find the Surface Area and volume of the cylinder
Java program to calculate the surface area, volume, and space diagonal of cuboids
Java program to calculate the surface area and volume of Cone
Java program to calculate the surface area and volume of Sphere
Java program to calculate the mean, variance, and standard deviation of real numbers
Java program to read coordinate points and determine its quadrant
Java program to calculate the value of nCr
Java program to calculate the value of nPr
Java program to calculate the product of two binary numbers
Java program to add two complex numbers
Java program to extract the last two digits from a given year
Java program to read the height of the person, and the print person is taller, dwarf, or average height person
Java program to find the sum of two numbers using binary addition
Java program to find subtraction of two numbers using binary subtraction
Java program to extract bytes from an integer (Hex) value
Java program to convert hexadecimal byte to decimal
Java program to read a weekday number and print weekday name using switch statement
Java program to read gender (M/F) and print the corresponding gender using a switch statement
Java program to check whether a character is a VOWEL or CONSONANT using switch statement
Java program to check whether the number is EVEN or ODD using switch statement
Java program to find the number of days in a month using a switch statement
Java program to validate date and print weekday of the given date
Java program to clear console screen
Java program to sleep program execution for specified milliseconds
Java program to design a digital clock
Java program to check a given IP address is valid or not
Java program to check a given Email address is valid or not
Java program to store the date in a single integer variable
Java program to store the time in a single integer variable
Java program to print string in hexadecimal format
Java program to extract octets from IP address
Java program to determine the class of a given IP address
Java program to find the number of bits required to represent a number
Java program to swap the first and second bits of an integer number
Java program to check whether all bits of the number are UNSET (LOW)
Java program to swap bytes of an integer number
Java program to reverse bits of the given number
Java program to count total HIGH bits of the given number
Java program to swap two nibbles of a given byte
Java program to demonstrate the example of left shift (<<) operator
Java program to demonstrate the example of the right shift (>>) operator
Java program to SET and CLEAR bits of the given number
Java program to implement infinite loop using while loop
Java program to implement infinite loop using do-while loop
Java program to implement nested loop using for loop
Java program to demonstrate the break statement with while and for loop
Java program to demonstrate the break statement with a nested loop
Java program to demonstrate the continue statement with while and for loops
Java program to swap two numbers using bitwise operator
Java program to find the highest bit set for a given integer number
Java program to check if all the bits of a given integer number are HIGH or not
Java program to count the total HIGH bits in the given number
Java program to check binary representation of the given number is palindrome or not
Java program to check a given number is EVEN or ODD using bit masking
Java program to check nth bit of 16-bit number is set or not
Java program to check a number contains the alternative pattern of bits
Java program to find the next number that is the power of 2
Java program to find the position of MSB bit of an integer number
Java program to round off an integer number to the next lower multiple of 2
Java program to count the number of leading zeros in a binary number
Java program to swap two bits of a 32-bit integer number
Java program to check a given number is the power of 2 using bitwise operator
Java program to count the number of bits to be flipped to convert a number to another number
Java program to print bits that need to be flipped to convert a number to another number
Java program to access elements of character array using for each loop
Java program to find the length of an array
Java program to find prime and non-prime numbers in the array
Java program to search an item into the array using linear search
Java program to search an item in an array using binary search
Java program to search an item in an array using interpolation search
Java program to sort an array in ascending order using selection sort
Java program to sort an array in descending order using selection sort
Java program to sort an array in ascending order using bubble sort
Java program to sort an array in descending order using bubble sort
Java program to sort an array in ascending order using quicksort
Java program to convert string to byte
Java program to convert a string into a short integer
Java program to convert byte into the string
Java program to convert a short integer into a string
Java program to convert an integer array into the string using the '+' operator
Java program to create members with private access modifier
Java program to create members with access modifier
Java program to create a singleton class
Java program to create instances of singleton class and print hash codes
Java program to compare instances of singleton class
Java program to create a singleton class with method name as that of class
Java program to implement cascaded method call
Java program to create a method returning an object
Java program to pass an object as an argument
Java program to create an array of objects
Java program to implement the parameterized constructor
Java program to implement constructor overloading
Java program to implement a copy constructor
Java program to implement constructor chaining
Java program to implement method overloading based on the number of arguments
Java program to implement method overloading based on types of arguments
Java program to implement method overloading based on the order of arguments
Java program to overload main() method
Java program to implement method overloading based on type promotion
Java program to implement single inheritance
Java program to implement multi-level inheritance
Java program to implement hierarchical inheritance
Java program to call a superclass constructor from sub/child class
Java program to call the method with the same name using super keyword
Java program to create an object of a class as a data member in another class
Java program to demonstrate the instanceof operator
Java program to create an employee class by inheriting Person class
Java program to override a base class method into a derived class
Java program to demonstrate the protected access specifier
Java program to create an anonymous object
Java program to call a method using the anonymous object
Java program to implement cascaded method call with an anonymous object
Java program to call an Instance Initializer Block using the anonymous object
Java program to implement instance initializer block
Java program to create multiple Instance Initializer Block
Java program to call static block using the anonymous object
Java program to initialize instance data member using instance initializer block
Java program to implement instance initializer block with superclass
Java program to implement static block with instance initializer block
Java program to create a simple abstract class
Java program to create an abstract class with the constructor
Java program to create an abstract class without any abstract method
Java program to create an abstract class with a final method
Java program to create an abstract class with a static method
Java program to create a simple interface
Java program to create an interface with a data member
Java program to implement the method of an interface in multiple classes
Java program to implement multiple interfaces in the same class
Java program to implement the interface with multi-level inheritance
Java program to implement multiple-inheritance using the interface
Java program to implement interface with hierarchical inheritance
Java program to convert a 'java.sql.Date' into 'java.util.Date'
Java program to convert 'java.util.Date' into 'java.sql.Date'
Java program to get milliseconds from the specified date
Java program to get a date from milliseconds using Date() constructor
Java program to get a date from milliseconds using the Date.setTime() method
Java program to compare dates using Date.compareTo() method
Java program to compare dates using the Date.equals() method
Java program to parse individual components of date from a string
Java program to parse individual components of date from the current date
Java program to create a LocalDate object from the object of Date class
Java program to print the current date-time using Calendar class
Java program to get the current year using the get() method of Calendar class
Java program to get the current day number of a month using the get() method of Calendar class
Java program to add days to the current date
Java program to subtract days from the current date
Java program to add months to the current date
Java program to add years to the current date
Java program to compare time using compareTo() method
Java program to compare time using equals() method
Java program to get individual components of the current time
Java program to create a simple enum
Java program to create an enum inside the class
Java program to convert the string into an enum constant
Java program to demonstrate an enum in switch case
Java program to create the main() method inside the enum class
Java program to access enum constants using 'for each' loop
Java program to create an enum class with constructor and method
Java program to create a thread by extending the Thread class
Java program to create a thread by implementing a Runnable interface
Java program to set and print thread name
Java program to print the thread Id of a thread
Java program to create multiple threads
Java program to sleep a thread
Java program to set a thread name using the setName() method
Java program to get thread priority
Java program to set thread priority
Java program to get information of the current executing thread
Java program to get the state of the currently executing thread
Java program to check thread is alive or not
Java program to suspend a thread
Java program to suspend and resume a thread
Java program to stop a thread
Java program to demonstrate the Thread.join() method
Java program to interrupt the execution of a thread
Java program to create a group of a thread
Java program to count active threads of a thread group
Java program to destroy a thread group
Java program to get max priority of ThreadGroup
Java program to set max priority of ThreadGroup
Java program to check whether a thread group is destroyed or not
Java program to print thread group Information
Java program to create a simple linked list using LinkedList collection class
Java program to remove an item from LinkedList collection
Java program to add an item into LinkedList collection on the specified index
Java program to add LinkedList collection into another LinkedList collection on the specified index
Java program to add LinkedList collection into another LinkedList collection in the end
Java program to insert an element at the beginning of the LinkedList collection
Java program to insert an element at the end of the LinkedList collection
Java program to remove all items from LinkedList collection
Java program to check whether an item exists in the LinkedList collection or not
Java program to get the first element from the LinkedList without removing it
Java program to get the items from LinkedList collection using the index
Java program to get the first item from LinkedList collection using getFirst()
Java program to get the last item from LinkedList collection using getLast()
Java program to get the index of the first occurrence of the specified item from LinkedList collection
Java program to get the index of the last occurrence of the item from LinkedList collection
Java program to handle a generated exception
Java program to handle Null Pointer Exception
Java program to handle Number Format Exception
Java program to handle ArrayIndexOutOfBoundsException
Java program to handle Arithmetic Exception
Java program to handle ClassNotFoundException
Java program to handle FileNotFoundException
Java program to handle InterruptedException
Java program to handle NoSuchMethodException
Java program to handle NoSuchFieldException
Java program to handle StringIndexOutOfBoundsException
Java program to print the stack trace of an exception
Java program to implement the try block with multiple catch blocks
Java program to implement finally block when the exception is not caught
Java program to implement finally block when an exception is caught
Java program to throw an exception explicitly
Java program to demonstrate the throws keyword
Java program to implement nested try catch block
Java program to get exception message using getMessage() method
Java program to create a custom exception class
Java program to iterate linked list elements from the specified position
Java program to store different types of items in the linked list
Java program to add an item to the tail of LinkedList
Java program to add an item at the front of LinkedList
Java program to insert an item at the last of LinkedList using the offerLast() method
Java program to get the head item from the LinkedList without removing it
Java program to get the last item from the LinkedList without removing it
Java program to retrieve and remove the head item from the LinkedList
Java program to retrieve and remove the tail/last item from the LinkedList
Java program to insert an item to the stack represented by the LinkedList
Java program to pop items from the stack represented by the LinkedList
Java program to remove the last occurrence of a specified item from the LinkedList
Java program to get the size of the LinkedList collection
Java program to convert a LinkedList collection to an array
Java program to replace an item in LinkedList collection
Java program to create a LinkedList collection of objects of a class
Java program to demonstrate the spliterator() method of LinkedList
Java program to create a stack using Stack collection
Java program to create a stack with hybrid items using Stack collection
Java program to perform push and pop operations in a Stack collection
Java program to search an item in a Stack collection
Java program to check whether a Stack collection is empty or not
Java program to get the topmost element from Stack collection without removing it
Java program to compare two Stack collections
Java program to convert a Stack collection into an Object array
Java program to create a Stack collection of objects of a class
Java program to get the size of Stack collection
Java program to traverse a Stack collection using the 'foreach' loop
Java program to add a Stack collection into another Stack collection
Java program to add an ArrayList into Stack collection
Java program to create a Queue using LinkedList
Java program to remove an item from the Queue
Java program to print Queue elements using 'foreach' loop
Java program to check whether a queue is empty or not
Java program to remove all elements of queue
Java program to retrieve an element from the head of the queue without removing it
Java program to retrieve an element from the head of the queue
Java program to add elements to Queue using add() and offer() methods
Java program to iterate Queue elements using the iterator() method
Java program to get the size of the Queue collection
Java program to compare two queues
Java program to implement Queue using ArrayDeque class
Java program to represent the class in different ways
Java program to get the class name using the object of the class
Java program to demonstrate the newInstance() method
Java program to check whether an object belongs to a particular class or not
Java program to check whether the specified Class object represents an interface type or not
Java program to check whether the specified Class object represents a primitive type or not
Java program to check whether the specified Class object represents an array or not
Java program to check anonymous class using isAnonymousClass() method
Java program to check whether a class is a local class or not
Java program to check whether a class is a member class or not
Java program to check whether a class is declared as an enum or not
Java program to check an annotation type using the isAnnotation() method
Java program to demonstrate the getName() method
Java program to print the class loader of the given class
Java program to get the name of the superclass
Java program to get the name of the generic superclass
Java program to get the list of implemented interfaces in a class
Java program to get the package name of a class
Java program to get the list of fields of a class
Java program to get the list of defined classes and interfaces in a class
Java program to get the list of methods of a class
Java program to get the list of constructors of a class
Java program to create an anonymous class by extending a class
Java program to create an anonymous class by implementing an interface
Java program to create a HashSet with string items
Java program to create a HashSet with different types of items
Java program to print a HashSet collection using the foreach loop
Java program to iterate a HashSet collection using the iterator() method
Java program to remove all elements of HashSet collection
Java program to create the clone of a HashSet collection
Java program to check whether a HashSet contains a specified item or not
Java program to check whether a HashSet is empty or not
Java program to add a HashSet to another HashSet collection
Java program to check a HashSet contains all elements of another HashSet
Java program to remove an item from HashSet collection
Java program to remove HashSet elements contained in other HashSet
Java program to remove elements from a HashSet that are not contained in a specified HashSet
Java program to get the size of a HashSet Collection
Java program to convert a HashSet into an array
Java program to remove elements from HashSet collection based on a specified predicate
Java program to check the HashSet collections have similar elements
Java program to print HashSet elements using parallelStream() method
Java program to print HashSet elements using spliterator() method
Java program to find the intersection of HashSet collections
Java program to find the union of HashSet collections
Java program to find the difference between HashSet collections
Java program to create a set of Complex numbers using HashSet collections
Java program to find the logarithmic value of a number
Java program to find the logarithmic value of a number for base 10
Java program to convert degree to radian using library method
Java program to find the trigonometric sine of an angle
Java program to find the trigonometric cosine of an angle
Java program to find the trigonometric tangent of an angle
Java program to find the trigonometric arc sine of an angle
Java program to find the trigonometric arc cosine of an angle
Java program to find the trigonometric arc tangent of an angle
Java program to find the hyperbolic sine of an angle
Java program to find the hyperbolic cosine of an angle
Java program to find the hyperbolic tangent of an angle
Java program to find the cube root of a number using library method
Java program to find the absolute value of a number using library method
Java program to find the smallest number between two numbers using the library method
Java program to find the largest number between two numbers using the library method
Java program to find the sign of given number using library method
Java program to round off the decimal number using the library method
Java program to perform the ceiling operation on the decimal number using the library method
Java program to demonstrate the Math.copySign() method
Java program to demonstrate the Math.floorDiv() method
Java program to demonstrate the Math.addExact() method
Java program to demonstrate the Math.subtractExact() method
Java program to demonstrate the Math.multiplyExact() method
Java program to convert radian to a degree using library method
Java program to create a vector to store integer elements
Java program to create a vector to store objects of a class
Java program to create a vector to store different types of objects
Java program to insert an item into Vector collection at the specified index
Java program to replace an item into Vector collection at the specified index
Java program to remove a specified item from Vector collection
Java program to remove an item from Vector collection at the specified index
Java program to count the items of a Vector collection
Java program to add elements of a Vector to other Vector collection
Java program to add elements of a vector to other vector collection at the specified position
Java program to remove all elements of Vector collection
Java program to create a clone of a Vector collection
Java program to check whether a Vector collection contains a specified item or not
Java program to check whether a Vector collection contains all elements of the specified collection or not
Java program to copy elements of Vector collection into an array
Java program to get element from Vector collection at the specified index
Java program to get the enumeration of the values present in the Vector
Java program to compare two Vector collections
Java program to get elements from Vector collection based on an index
Java program to get the Index of the first occurrence of the specified item in Vector collection
Java program to get the Index of the last occurrence of the specified item in Vector collection
Java program to check whether a Vector collection is empty or not
Java program to get the first element of Vector using the firstElement() method
Java program to get the last element of Vector using the lastElement() method
Java program to iterate Vector collection using the iterator() method
Java program to remove all elements of Vector collection contained in the specified collection
Java program to remove all elements of Vector collection using removeAllElements() method
Java program to remove the first occurrence of the specified element from Vector collection
Java program to remove an element from Vector collection based on the specified index
Java program to remove range on elements from Vector collection based on specified indices
Java program to remove elements from Vector collection based on a specified predicate
Java program to replace a specified element at all places with another element in Vector collection
Java program to remove all elements of Vector collection that do not contain in the specified collection
Java program to set an element at the specified index in Vector collection
Java program to change the size of a Vector collection
Java program to sort the elements of a Vector collection
Java program to traverse the Vector collection using spliterator() method
Java program to get the subList from the Vector collection
Java program to convert a Vector collection into an Object array
Java program to create an EnumSet collection
Java program to create an EnumSet collection from all elements of an enum
Java program to create a clone of an EnumSet collection
Java program to get the complement of EnumSet collection
Java program to create an EnumSet collection from an existing EnumSet collection
Java program to create an empty EnumSet using noneOf() method
Java program to create an EnumSet using the range() method
Java program to check whether an EnumSet collection is empty or not
Java program to compare two EnumSet collections
Java program to add elements to EnumSet collection using add() method
Java program to remove a specified element from EnumSet collection
Java program to traverse and print EnumSet collection using 'foreach' loop
Java program to get the size of the EnumSet collection
Java program to remove all elements of EnumSet collection
Java program to check an EnumSet collection contains a specified item
Java program to add Elements of an EnumSet collection to the other EnumSet collection
Java program to remove Elements of an EnumSet collection that exist in another EnumSet collection
Java program to remove Elements of an EnumSet collection that does not exist in another EnumSet collection
Java program to calculate factorial of a number using recursion
Java program to print the Fibonacci series using recursion
Java program to calculate the power of a number using recursion
Java program to count the digits of a number using recursion
Java program to find the sum of digits of a number using recursion
Java program to reverse a given number using recursion
Java program to check whether a given number is prime or not using recursion
Java program to calculate the product of two numbers using recursion
Java program to calculate the Highest Common Factor of two numbers using recursion
Java program to calculate the Lowest Common Multiple of two numbers using recursion
Java program to calculate the Greatest Common Divisor of two numbers using recursion
Java program to convert a decimal number to its binary equivalent using recursion
Java program to convert a decimal number to its octal equivalent using recursion
Java program to convert decimal to hexadecimal using recursion
Java program to convert a binary number to a decimal number using recursion
Java program to create a TreeSet collection
Java program to create a TreeSet collection using List collection
Java program to check whether a TreeSet is empty or not
Java program to remove all elements of TreeSet collection
Java program to compare TreeSet collections
Java program to add non-common elements of one TreeSet into another TreeSet collection
Java program to get the ceiling item of specified value from TreeSet collection
Java program to create the clone of the TreeSet collection
Java program to check whether an item exists in a TreeSet collection or not
Java program to iterate TreeSet collection in ascending order
Java program to iterate TreeSet collection in descending order
Java program to get the flooring item of specified value from TreeSet collection
Java program to get the smallest item from the TreeSet collection
Java program to get the largest item from the TreeSet collection
Java program to get the elements from the TreeSet collection that are less than the specified item
Java program to get the strictly greater element from TreeSet collection based on a given item
Java program to get the strictly lower element from TreeSet collection
Java program to get and remove the lowest element from the TreeSet collection
Java program to get and remove the largest element from the TreeSet collection
Java program to remove a specified item from the TreeSet collection
Java program to get the size of a TreeSet collection
Java program to get the subset of a TreeSet collection based on a specified range
Java program to get the elements greater than and equal to the specified item from TreeSet Collection
Java program to access elements from TreeSet Collection using spliterator() method
Java program to construct a string with substrings separated by a delimiter
Java program to call add() method in a cascaded manner from an object of StringJoiner class
Java program to get the length of string Constructed by StringJoiner class
Java program to merge two strings Constructed using StringJoiner class
Java program to convert an object of StringJoiner class into a string
Java program to create a HashMap to store Key/Value pair
Java program to check whether a HashMap contains a specified Key or not
Java program to check whether a HashMap contains a specified value or not
Java program to get keys from a HashMap collection
Java program to get the value based on the key from a HashMap collection
Java program to get all the values from a HashMap collection
Java program to get the size of the HashMap collection
Java program to remove all elements from HashMap collection
Java program to search a pattern into the string using regular expression
Java program to search a pattern with case insensitive flag into the string using regular expression
Java program to demonstrate the split() method of Pattern class
Java program to count the occurrence of pattern matching in the string using regular expression
Java program to find the start and end indices for all occurrences of pattern in the string using regular expression
Java program to search a pattern into the string using the lookingAt() method
Java program to replace a substring with another substring into the string at all places using regular expression
VB.Net
Program to print Hello World in VB.NET
VB.Net program to demonstrate the difference between Console.Write() and Console.WriteLine() methods
VB.Net program to print backslash (\) character on the console screen
VB.Net program to convert a double number into an integer number
VB.Net program to convert different types of variables into the string
VB.Net program to input and print an integer variable
VB.Net program to demonstrate the bitwise operators
VB.Net program to print the binary number of a decimal number
VB.Net program to print the total bits required to store a given integer number
VB.Net program to count the total number of high bits in a given integer number
VB.Net program to demonstrate the left-shift operator (<<)
VB.Net program to demonstrate the right-shift operator (>>)
VB.Net program to perform BITWISE AND operation
VB.Net program to perform BITWISE OR operation
VB.Net program to perform BITWISE XOR operation
VB.Net program to demonstrate the BITWISE NOT operator
VB.Net program to perform the LOGICAL AND operation using the AndAlso operator
VB.Net program to perform the LOGICAL OR operation using the OrElse operator
VB.Net program to check the palindrome of the binary number using bitwise operators
VB.Net program to check EVEN/ODD using bitwise operators
VB.Net program to swap two numbers using a BITWISE XOR operator
VB.Net program to check Nth bit of an integer number is SET or not
VB.Net program to check the given number is EVEN or ODD using conditional operator
VB.Net program to find the largest number between two numbers using a conditional operator
VB.Net program to find the largest number among three numbers using conditional operator
VB.Net program to check the given number is POSITIVE or NEGATIVE using conditional operator
VB.Net program to check the given year is leap year or not using conditional operator
VB.Net program to calculate the area of the circle
VB.Net program to calculate the perimeter of the circle
VB.Net program to calculate the area of the rectangle
VB.Net program to calculate the Highest Common Factor (HCF)
VB.Net program to calculate the multiplication of two numbers using the '+' operator
VB.Net program to round off the value of the floating-point number
VB.Net program to get a large value using Math.Max() method
VB.Net program to get the smallest value using Math.Min() method
VB.Net program to produce the full product of two 32-bit integer numbers
VB.Net program to truncate the value of the floating-point number
VB.Net program to find the angle for specified sine value
VB.Net program to find the angle for specified cosine value
VB.Net program to find the angle for specified tangent value
VB.Net program to find the cosine value for the specified angle
VB.Net program to find the sine value for the specified angle
VB.Net program to find the tangent value for the specified angle
VB.Net program to find the hyperbolic sine of the specified angle
VB.Net program to find the hyperbolic cosine of the specified angle
VB.Net program to find the hyperbolic tangent of the specified angle
VB.Net program to demonstrate the Math.DivRem() method
VB.Net program to demonstrate the Math.Exp() method
VB.Net program to demonstrate the use of Math.IEEERemainder() method
VB.Net program to find the logarithm value of a specified number
VB.Net program to demonstrate the Math.Log10() method
VB.Net program to find the sign of a specified number using Math.Sign() method
VB.Net program to check leap year
VB.Net program to check the given number is even or odd
VB.Net program to compare two strings
VB.Net program to find the division of a student based on a given percentage
VB.Net program to demonstrate the use of 'select case'
VB.Net program to demonstrate the use of 'select case' with a given range
VB.Net program to use a comma ',' to use multiple options in 'select case'
VB.Net program to demonstrate the nested 'select case'
VB.Net program to demonstrate the duplicate case in the 'select case'
VB.Net program to create a simple calculator using 'select case'
VB.Net program to demonstrate the use of the GoTo statement
VB.Net program to print the table of given number using GoTo statement
VB.Net program to print the ASCII values of numbers from 1 to 5 using the GoTo statement
VB.Net program to print the HEX values of numbers from 1 to 15 using the GoTo statement
VB.Net program to print 1, 11, 31, 61, ..., 10 times using GoTo statement
VB.Net program to read a name and print 5 times using GoTo statement
VB.Net program to print the square of numbers from 1 to 5 using the GoTo statement
VB.Net program to demonstrate the Mid() function
VB.Net program to demonstrate the Trim() function
VB.Net program to demonstrate the LTrim() function
VB.Net program to demonstrate the RTrim() function
VB.Net program to demonstrate the InStr() function
VB.Net program to demonstrate the UCase() function
VB.Net program to demonstrate the LCase() function
VB.Net program to demonstrate the Chr() function
VB.Net program to demonstrate the Asc() function
VB.Net program to demonstrate the Hex() function
VB.Net program to demonstrate the Oct() function
VB.Net program to demonstrate the Fix() function
VB.Net program to demonstrate the CInt() function
VB.Net program to demonstrate the CSByte() function
VB.Net program to demonstrate the CShort() function
VB.Net program to demonstrate the CUShort() function
VB.Net program to demonstrate the CByte() function
VB.Net program to demonstrate the CSng() function
VB.Net program to demonstrate the CDbl() function
VB.Net program to demonstrate the CDec() function
VB.Net program to demonstrate the CLng() function
VB.Net program to demonstrate the CULng() function
VB.Net program to demonstrate the CStr() function
VB.Net program to print date and time in 'dd/mm/yyyy hh:mm:ss' format using Format() function
VB.Net program to print date and time in 'day, month dd, yyyy' format using Format() function
VB.Net program to print date and time in different formats using Format() function
VB.Net program to print given number in different formats using Format() function
VB.Net program to demonstrate the CBool() function
VB.Net program to demonstrate the Val() function
VB.Net program to demonstrate the GetChar() function
VB.Net program to reverse the given number using the While loop
VB.Net program to check the given number is palindrome or not using the While loop
VB.Net program to count the digits of a given number using the While loop
VB.Net program to check the given number is Armstrong or not using the While loop
VB.Net program to print the table of given number using Do Loop While
VB.Net program to print 1, 11, 31, 61, ... using Do Loop While
VB.Net program to read a name and print 5 times using the Do Loop While
VB.Net program to demonstrate the integer array
VB.Net program to calculate the sum of all elements of an integer array
VB.Net program to find the largest element from the array of integers
VB.Net program to find the EVEN numbers from the array of integers
VB.Net program to find the second largest elements from the array of integers
VB.Net program to merge two integer arrays into a third array
VB.Net program to reverse an integer array
VB.Net program to find the prime numbers from the array of integers
VB.Net program to find the smallest element from the array of integers
VB.Net program to find the second smallest element from the array of integers
VB.Net program to search an item in array using linear search
VB.Net program to search an item in array using binary search
VB.Net program to search an item in array using interpolation search
VB.Net program to sort an array in ascending order using bubble sort
VB.Net program to sort an array in ascending order using insertion sort
VB.Net program to sort an array in descending order using bubble sort
VB.Net program to sort an array in descending order using insertion sort
VB.Net program to sort an array in ascending order using selection sort
VB.Net program to sort an array in descending order using selection sort
VB.Net program to implement quicksort using recursion
VB.Net program to implement quicksort without using recursion
VB.Net program to sort an integer array using Radix sort
VB.Net program to cyclically permute the elements of an integer array
VB.Net program to add two arrays
VB.Net program to subtract one array from another array
VB.Net program to swap adjacent elements of a one-dimensional array
VB.Net program to find occurrences of items in a one-dimensional array
VB.Net program to find the first repeated element in the one-dimensional array
VB.Net program to delete a given element from the one-dimensional array
VB.Net program to insert an item into a one-dimensional array
VB.Net program to demonstrate the use of the dynamic array
VB.Net program to demonstrate the use of the 'vbTab' constant
VB.Net program to demonstrate the use of the 'vbCrLf' constant
VB.Net program to read and print the matrix using a two-dimensional array
VB.Net program to calculate the sum of MATRIX elements
VB.Net program to calculate the sum of rows of MATRIX elements
VB.Net program to calculate the sum of columns of MATRIX elements
VB.Net program to print the transpose of Matrix
VB.Net program to print the left diagonal of Matrix
VB.Net program to print the right diagonal of Matrix
VB.Net program to print the sum of right diagonal elements of Matrix
VB.Net program to print the sum of left diagonal elements of Matrix
VB.Net program to add two matrices
VB.Net program to multiply two matrices
VB.Net program to demonstrate the jagged array
VB.Net program to demonstrate the 3D array
VB.Net program to create a sub-routine to add two integer numbers
VB.Net program to create a user-defined function to add two integer numbers
VB.Net program to demonstrate the pass by value mechanism in user define sub-routine
VB.Net program to demonstrate the pass by reference mechanism in user define sub-routine
VB.Net program to demonstrate the optional parameter in the function
VB.Net program to pass an array into user define the function
VB.Net program to pass a structure into function
VB.Net program to pass an object of class into function
VB.Net program to return an array of integers from a user-defined function
VB.Net program to return an object of structure from the user-defined function
VB.Net program to return an object of the class from the user-defined function
VB.Net program to demonstrate the recursive function
VB.Net program to demonstrate the boxing
VB.Net program to demonstrate the un-boxing
VB.Net program to create a member function within the structure
VB.Net program to the array of structures
VB.Net program to create a constructor within the structure
VB.Net program to demonstrate the structure within a structure
VB.Net program to create a constant using const keyword
VB.Net program to print the name of Enum constants
VB.Net program to print the default initialized values of Enum constants
VB.Net program to print the explicitly initialized values of Enum constants
VB.Net program to create a global variable
VB.Net program to create a simple class and object
VB.Net program to create multiple objects of the class
VB.Net program to create an array of objects of the class
VB.Net program to create an empty class
VB.Net program to create a class to add two distances
VB.Net program to create a Student class and read and print Student detail
VB.Net program to create an object of class inside another class
VB.Net program to demonstrate the private methods inside the class
VB.Net program to demonstrate the const and read-only data members
VB.Net program to pass an object to the non-member function
VB.Net | What is a NullReferenceException, and how do I fix it?
VB.Net | How do you get a string from a MemoryStream?
VB.Net | When should I use a List vs a LinkedList?
VB.Net program to demonstrate the default or no-argument constructor
VB.Net program to demonstrate the parameterized constructor
VB.Net program to demonstrate the constructor overloading
VB.Net program to demonstrate the constructor chaining
VB.Net program to demonstrate the copy constructor
VB.Net program to demonstrate the destructor
VB.Net program to demonstrate the method of overloading based on the different number of arguments
VB.Net program to demonstrate the method-overloading based on the different types of arguments
VB.Net program to demonstrate the method overloading based on a different order of arguments
VB.Net program to overload non-member functions
VB.Net program to overload Main() function
VB.Net program to demonstrate the method overloading with type promotion
VB.Net program to demonstrate the method overloading with type demotion
VB.Net program to demonstrate the simple inheritance
VB.Net program to demonstrate the simple inheritance with constructors
VB.Net program to demonstrate the simple inheritance with destructors
VB.Net program to demonstrate the multi-level inheritance
VB.Net program to demonstrate the tree or hierarchical inheritance
VB.Net program to demonstrate the inheritance with the protected member
VB.Net program to demonstrate the hybrid inheritance
VB.Net program to demonstrate the simple inheritance with student information
VB.Net program to demonstrate the simple interface
VB.Net program to implement an interface in the structure
VB.Net program to demonstrate the multiple-inheritance using the interface
VB.Net program to demonstrate the multiple-inheritance using interface and structure
VB.Net program to demonstrate the nested interface
VB.Net program to demonstrate the interface inheritance
VB.Net program to demonstrate the MustInherit class
VB.Net program to demonstrate the NotInheritable class
VB.Net program to override a base class method into derived class
VB.Net program to call base class and derived class overridable method using base class reference
VB.Net program to demonstrate the MyBase keyword
VB.Net program to demonstrate the MustOverride keyword
VB.Net program to demonstrate the abstract class
VB.Net program to demonstrate the shared methods
VB.Net program to demonstrate the shared data member of the class
VB.Net program to count the total created objects using a shared member
VB.Net program to create a user-defined namespace
VB.Net program to create a user-defined namespace with structures
VB.Net program to demonstrate the nested namespace
VB.Net program to demonstrate the namespace with different complex types
VB.Net program to create an alias of a namespace
VB.Net program to demonstrate the 'Me' object
VB.Net program to implement the cascaded method call
VB.Net program to demonstrate the 'MyClass' keyword
VB.Net program to demonstrate the 'Friend' keyword
VB.Net program to overload unary minus (-) operator
VB.Net program to overload binary plus (+) operator
VB.Net program to overload 'Mod' operator
VB.Net program to overload binary multiplication (*) operator
VB.Net program to overload arithmetic operators
VB.Net program to overload less than (<) and greater than (>) operator
VB.Net program to overload equal to (=) and not equal to (<>) operators
VB.Net program to overload less than equal to (<=) and greater than equal to (>=) operators
VB.Net program to demonstrate Set and Get properties
VB.Net program to implement ReadOnly property
VB.Net program to implement WriteOnly property
VB.Net program to demonstrate Set and Get properties with structure
VB.Net program to demonstrate the indexer
VB.Net program to demonstrate the default property
VB.Net program to overload the property
VB.Net program to demonstrate a simple delegate
VB.Net program to demonstrate a simple delegate with non-member function
VB.Net program to demonstrate a simple delegate with a method of a structure
VB.Net program to call multiple methods using a single-cast delegate
VB.Net program to demonstrate the multicast delegate
VB.Net program to pass a method as a parameter using a delegate
VB.Net program to overload the logical 'And' operator
VB.Net program to overload the logical 'Or' operator
VB.Net program to overload the logical 'Xor' operator
VB.Net program to overload 'IsTrue' and 'IsFalse' operators
VB.Net program to create a simple thread
VB.Net program to create a thread pool
VB.Net program to Pause a Thread
VB.Net program to demonstrate the thread lock
VB.Net program to kill a thread
VB.Net program to set and print the name of the current thread
VB.Net program to check the thread is alive or not
VB.Net program to print the priority of the current thread
VB.Net program to print the elapsed milliseconds of stopwatch using Thread.Sleep() method
VB.Net program to assign the name of a thread
VB.Net program to demonstrate the IndexOutOfRangeException
VB.Net program to demonstrate the DivideByZeroException
VB.Net program to demonstrate the multiple catch blocks
VB.Net program to demonstrate the StackOverflowException
VB.Net program to demonstrate the NullReferenceException
VB.Net program to demonstrate the finally block in exception handling
VB.Net program to create our own exception class
VB.Net program to override the Message property of DivideByZeroException class
VB.Net program to demonstrate StringReader class
VB.Net program to demonstrate the StringWriter class
VB.Net program to read all lines from a file using StreamReader class
VB.Net program to read the content of a file character by character
VB.Net program to demonstrate the MemoryStream class
VB.Net program to get the size of a specified folder including a sub-folder
VB.Net program to read the list of available disk drives
VB.Net program to check an object is initialized or not
VB.Net program to demonstrate the FileNotFoundException Exception
VB.Net program to check a string is empty or not using IsNothing() function
VB.Net program to check string contains a number or not
VB.Net program to demonstrate the example of ArgumentNullException
VB.Net program to demonstrate the example of ArgumentException
VB.Net program to demonstrate the DirectoryNotFoundException
VB.Net program to demonstrate the FormatException
VB.Net program to demonstrate the InvalidOperationException
VB.Net program to demonstrate the NotImplementedException
VB.Net program to demonstrate the NotSupportedException
VB.Net program to demonstrate the ObjectDisposedException
VB.Net program to demonstrate the OverflowException
VB.Net program to demonstrate the IOException
VB.Net program to demonstrate the TimeoutException
VB.Net program to demonstrate the BinaryReader and BinaryWriter class
VB.Net program to write data into a text file
VB.Net program to read data from a text file
VB.Net program to append text into an already existing file
VB.Net program to replace the content of one file with another file and create a backup file
VB.Net program to delete a specified file
VB.Net program to print file creation time
VB.Net program to set file creation time
VB.Net program to get attributes of the specified file
VB.Net program to copy the content of one file to another file
VB.Net program to set the attributes of the specified file
VB.Net program to copy the content of one file to another file by overwriting the file
VB.Net program to get the last access time of a specified file or directory
VB.Net program to set the last access time of a specified file or directory
VB.Net program to get the last access time of a specified file or directory in UTC format
VB.Net program to set the last access time of a specified file or directory in UTC format
VB.Net program to get the last write time of a specified file or directory
VB.Net program to get the last write time of a specified file or directory in UTC format
VB.Net program to set the last write time of a specified file
VB.Net program to set the last write time of a specified file in UTC format
VB.Net program to implement a stack
VB.Net program to implement stack using structure
VB.Net program to implement Double Stack
VB.Net program to implement Double Stack using Structure
VB.Net program to overload bitwise left shift (<<) operator
VB.Net program to overload bitwise right shift (>>) operator
VB.Net program to overload Not operator
VB.Net program to overload exponential (^) operator
VB.Net program to overload concatenates (&) operator
VB.Net program to overload Like operator
VB.Net program to implement Linear Queue
VB.Net program to implement Linear Queue using Structure
VB.Net program to implement Circular Queue
VB.Net program to implement Circular Queue using Structure
VB.Net program to push or insert the item into a stack using the collection
VB.Net program to pop or delete an item from the stack using the collection
VB.Net program to peek an item from the stack using the collection
VB.Net program to delete all items from the stack using Collection
VB.Net program to check given element exists in the stack or not using the collection
VB.Net program to get the total number of items in the STACK using the collection
VB.Net program to move a file from one location to another location
VB.Net program to read all lines of a text file
VB.Net program to write multiple lines to the text file
VB.Net program to write multiple bytes into a file
VB.Net program to read all bytes from a file
VB.Net program to copy stack elements into an array using the collection
VB.Net program to convert the Stack collection into an Object array
VB.Net program to insert or enqueue the elements into QUEUE using the collection
VB.Net program to delete an item from QUEUE using the collection
VB.Net program to delete all items from Queue using the collection
VB.Net program to count the total items in Queue collection
VB.Net program to check the specified item is exits in the Queue collection or not
VB.Net program to copy the queue elements into an array using the collection
VB.Net program to convert the Queue collection into an Object array
VB.Net program to get the element from the Queue without removing it
VB.Net program to get all stack frames using StackTrace class
VB.Net program to traverse the singly linked list
VB.Net program to delete the given node from the singly linked list
VB.Net program to implement the Tower of Hanoi problem
VB.Net program to implement socket client
VB.Net program to demonstrate the Join() method of String class
VB.Net program to compare two dates
VB.Net program to print yesterday's date
VB.Net program to print tomorrow's date
VB.Net program to print the difference of two times
VB.Net program to print the difference of two dates in days
VB.Net program to print the sum of two times
VB.Net program to demonstrate the BinarySearch() method of Array class
VB.Net program to demonstrate the Clear() method of Array class
VB.Net program to demonstrate the ConstrainedCopy() method of Array class
VB.Net program to demonstrate the Copy() method of Array class
VB.Net program to demonstrate the IndexOf() method of Array class
VB.Net program to demonstrate the LastIndexOf() method of Array class
VB.Net program to demonstrate the ReferenceEquals() method of Array class
VB.Net program to demonstrate the Resize() method of Array class
VB.Net program to demonstrate the Reverse() method of Array class
VB.Net program to demonstrate the Sort() method of Array class
VB.Net program to demonstrate the Compare() method of String class
VB.Net program to demonstrate the Concat() method of String class
VB.Net program to demonstrate the Copy() method of the String class
VB.Net program to demonstrate the Empty property of String class
VB.Net program to demonstrate the Equals() method of String class
VB.Net program to demonstrate the Intern() method of String class
VB.Net program to demonstrate the IsNullorEmpty() method of String class
VB.Net program to demonstrate the IsNullorWhitSpace() method of String class
VB.Net program to demonstrate the Compare() method of DateTime class
VB.Net program to demonstrate the DaysInMonth() method of DateTime class
VB.Net program to demonstrate the Equals() method of DateTime class
VB.Net program to demonstrate the ToBinary() method of DateTime class
VB.Net program to demonstrate the FromBinary() method of DateTime class
VB.Net program to demonstrate the IsLeapYear() method of DateTime class
VB.Net program to demonstrate the MaxValue property of DateTime class
VB.Net program to demonstrate the MinValue property of DateTime class
VB.Net program to demonstrate the LINQ Query
VB.Net program to demonstrate the LINQ Query with OrderBy
VB.Net program to demonstrate the LINQ Query to arrange array elements in descending order
VB.Net program to demonstrate the Average extension
VB.Net program to demonstrate the Sum() extension method
VB.Net program to demonstrate the Take() extension method
VB.Net program to demonstrate the chain of extension methods of the 'System.Linq' namespace
VB.Net program to demonstrate the LINQ Any() extension method with Function() to check an array contains a negative number or not
VB.Net program to demonstrate the LINQ query with an extension method
VB.Net program to demonstrate the FirstOrDefault() LINQ extension method
VB.Net program to demonstrate the ElementAtOrDefault() LINQ extension method
VB.Net program to demonstrate the Where clause in LINQ query
VB.Net program to demonstrate the 'Where' clause with 'And' operator in LINQ query
VB.Net program to demonstrate the multiple 'Where' clauses in LINQ query
VB.Net program to demonstrate the Where() LINQ extension method
VB.Net program to demonstrate the OfType operator in LINQ query
VB.Net program to demonstrate the OfType() LINQ extension method
VB.Net program to demonstrate the OrderBy() LINQ extension method
VB.Net program to demonstrate the OrderByDescending() LINQ extension method
VB.Net program to demonstrate the ThenBy() LINQ extension method
VB.Net program to demonstrate the ThenByDescending() LINQ extension method
VB.Net program to demonstrate the GroupBy clause in LINQ query
VB.Net program to demonstrate the GroupBy() LINQ extension method
VB.Net program to demonstrate the ToLookup() LINQ extension method
VB.Net program to demonstrate the Join using LINQ query
VB.Net program to select specified fields using LINQ query
VB.Net program to select specified fields using Select() LINQ extension method
VB.Net program to select specified fields using All() LINQ extension method
VB.Net program to select specified fields using Any() LINQ extension method
VB.Net program to demonstrate the custom aggregation using LINQ Aggregate() method
VB.Net program to demonstrate the custom aggregation with seed value using LINQ Aggregate() method
VB.Net program to demonstrate the LINQ Aggregate() method with result selector
VB.Net program to demonstrate the LINQ Average() function using LINQ query syntax
VB.Net program to demonstrate the LINQ Count() function using LINQ query syntax
VB.Net program to demonstrate the LINQ Count() extension method
VB.Net program to demonstrate the LINQ Max() extension method
VB.Net program to demonstrate the LINQ Min() extension method
VB.Net program to demonstrate the Min() function in LINQ query
VB.Net program to demonstrate the Max() function in LINQ query
VB.Net program to demonstrate the SequenceEqual() LINQ extension method
VB.Net program to get the sequence of integer numbers within a specified range
VB.Net program to generate the sequence that contains one repeated value
VB.Net program to get distinct elements from the list using LINQ query
VB.Net program to get distinct elements from the list using Distinct() LINQ extension method
VB.Net program to demonstrate the Except() LINQ extension method
VB.Net program to demonstrate the Intersect() LINQ extension method
VB.Net program to demonstrate the Union() LINQ extension method
VB.Net program to demonstrate the Skip() LINQ extension method
VB.Net program to skip given number of records from a collection using LINQ query
VB.Net program to demonstrate the 'skip while' operator in LINQ query syntax
VB.Net program to demonstrate the SkipWhile() LINQ extension method
VB.Net program to demonstrate the TakeWhile() LINQ extension method
VB.Net program to demonstrate the Let keyword in LINQ query syntax
VB.Net program to create an empty XML file
VB.Net program to create an XML file with employee data
VB.Net program to get the MySQL version
VB.Net program to create a database in MySql dynamically
VB.Net program to create a table in MySql database dynamically
VB.Net program to get the Mysql version using the 'Select' statement
VB.Net program to drop a table from the MySql database dynamically
VB.Net program to insert a record in the MySql database
VB.Net program to print the column name of a specified MySql database table
VB.Net program to get the records of a specified MySql database table
VB.Net find output programs (Data Types) | set 1
VB.Net find output programs (Data Types) | set 2
VB.Net find output programs (Data Types) | set 3
VB.Net find output programs (Data Types) | set 4
VB.Net find output programs (Data Types) | set 5
Linux Shell Script
Linux shell script program to create and print the value of variables
Linux shell script program to add two numbers
Linux shell script program to swap two numbers
Linux shell script program to read two integer numbers and print the subtraction of both variables
Linux shell script program to multiply two numbers
Linux shell script program to print program name using command line argument
Linux shell script program to add two numbers using command line arguments
Linux shell script program to execute 'ls' command
Linux shell script program to demonstrate the '$#' variable
Linux shell script program to print the current process id
Golang
Golang program to print Hello World
Golang program to add two integer numbers
Golang program to find the average of three numbers
Golang program to swap two integer numbers
Golang program to read and print an integer variable
Golang program to demonstrate the use of Printf() and Scanf() function
Golang program to get the ASCII value of a character
Golang program to print the absolute value of float number
Golang program to print the absolute value for an integer number
Golang program to calculate the power of a number using the Pow() function
Golang program to find the largest number between two numbers using math.Max() function
Golang program to find the smallest number between two numbers using math.Min() function
Golang program to demonstrate the math.Ceil() function
Golang program to demonstrate the math.Floor() function
Golang program to find the remainder for floating-point numbers using math.Mod() function
Golang program to check given number is EVEN or ODD
Golang program to check given number is positive or negative
Golang program to check given year is a leap year or not
Golang program to find the largest number between two numbers
Golang program to find the largest number among three numbers
Golang program to convert the Fahrenheit to Celsius
Golang program to convert the Celsius to Fahrenheit
Golang program to demonstrate the bitwise Left Shift (<<) operator
Golang program to demonstrate the bitwise Right Shift (>>) operator
Golang program to demonstrate the BITWISE AND (&) operator
Golang program to demonstrate the BITWISE OR (|) operator
Golang program to demonstrate the BITWISE OR (|) operator
Golang program to demonstrate the BITWISE XOR (^) operator
Golang program to demonstrate the NOT (!) operator
Golang program to calculate the area of the circle
Golang program to calculate the perimeter of the circle
Golang program to calculate the area of the Rectangle
Golang program to demonstrate the switch case with optional statement and expression
Golang program to demonstrate the switch case without optional statement and expression
Golang program to demonstrate the switch case with expression
Golang program to use the expression in the case statement
Golang program to create a simple calculator using switch case
Golang program to calculate the Highest Common Factor (HCF)
Golang program to calculate the multiplication of two numbers using the '+' operator
Golang program to demonstrate the 'const' keyword
Golang program to print 'Hello World' 5 times using the goto statement
Golang program to print the table of the given number using the goto statement
Golang program to read the name and print it 5 times using the goto statement
Golang program to print the Hex value of numbers from 1 to 100 using the goto statement
Golang program to print the Octal value of numbers from 1 to 100 using the goto statement
Golang program to print the ASCII value of specified string using the goto statement
Golang program to calculate the factorial of a given number using goto statement
Golang program to calculate the power of a given number using goto statement
Golang program to reverse the given number using goto statement
Golang program to check the given number is palindrome or not using goto statement
Golang program to check the given number is an Armstrong number or not using goto statement
Golang program to print Fibonacci series using goto statement
Golang program to check the given number is a Prime Number or not using goto statement
Golang program to check the given number is the perfect number or not using goto statement
Golang program to print table of a given number using for loop
Golang program to print the tables up to given number using for loop
Golang program to calculate the factorial of given number using for loop
Golang program to calculate the power of a given number using the for loop
Golang program to calculate the reverse of the given number using the for loop
Golang program to find the given number is palindrome or not using for loop
Golang program to find the given number is Armstrong or not using for loop
Golang program to print Fibonacci series using for loop
Golang program to check the given number is Prime or not using the for loop
Golang program to check the given number is a perfect number or not using the for loop
Golang program to demonstrate infinite loop without any variable using for loop
Golang program to demonstrate for loop as while loop to print number from 1 to 10
Golang program to demonstrate the for loop using the map
Golang program to demonstrate the for loop using the channel
Golang program to demonstrate the break statement in the for loop
Golang program to demonstrate the continue statement in the for loop
Golang program to demonstrate the for loop as a for each loop
Golang program to demonstrate Sizeof() operator
Golang program to demonstrate the example of an Array
Golang program to demonstrate the shorthand declaration of an Array
Golang program to create an array without specifying its size
Golang program to get the size of the array
Golang program to print the array elements without using the loop
Golang program to create an array with the existing array
Golang program to compare two arrays using equal to (==) operator
Golang program to calculate the sum of all array elements
Golang program to find the largest elements from the array
Golang program to find the second largest elements from the array
Golang program to print even numbers of the array
Golang program to merge two arrays into third array
Golang program to reverse an integer array
Golang program to print the prime numbers from an integer array
Golang program to search an item in the array using linear search
Golang program to search an item in the array using binary search
Golang program to search an item in the array using interpolation search
Golang program to sort an integer array in ascending order using bubble sort
Golang program to sort an integer array in descending order using bubble sort
Golang program to sort an integer array in ascending order using insertion sort
Golang program to sort an integer array in descending order using insertion sort
Golang program to sort an integer array in ascending order using selection sort
Golang program to sort an integer array in descending order using selection sort
Golang program to add two integer arrays
Golang program to swap adjacent elements of a one-dimensional array
Golang program to find the occurrence of an item in the array
Golang program to find the first repeated element in the array
Golang program to delete a given item from the array
Golang program to insert an item in the array
Golang program to read and print matrix using the two-dimensional matrix
Golang program to calculate the sum of matrix elements
Golang program to calculate the sum of rows elements of the matrix
Golang program to calculate the sum of columns elements of matrix elements
Golang program to print the Transpose of a matrix
Golang program to print the left diagonal of the matrix
Golang program to print the right diagonal of the matrix
Golang program to print the sum of left diagonal elements of the matrix
Golang program to print the sum of right diagonal elements of the matrix
Golang program to add two matrices
Golang program to multiply two matrices
Golang program to demonstrate the multidimensional array
Golang program to check a string contains a specified substring
Golang program to convert specified string in uppercase
Golang program to convert specified string in lowercase
Golang program to get the index of a specified character in the string
Golang program to get the length of the specified string
Golang program to split the string using a specified delimiter
Golang program to demonstrate the strings.Repeat() function
Golang program to demonstrate the strings.Replace() function
Golang program to demonstrate the strings.Join() function
Golang program to check the specified substring is the prefix of the given string
Golang program to check the specified substring is the suffix of the given string
Golang program to count the total occurrences of a specified character in the specified string
Golang program to demonstrate the implementation of structure
Golang program to initialize the object of structure in a single line
Golang program to print the object of structure
Golang program to get the size of structure using Sizeof() operator
Golang program to demonstrate the array of the structure
Golang program to demonstrate the structure within a structure
Golang program to demonstrate the use of the 'type' keyword
Golang program to create a user-defined function
Golang program to create a user-defined function to add two integer numbers
Golang program to demonstrate the call by value mechanism in a user-defined function
Golang program to demonstrate the call by reference mechanism in a user-defined function
Golang program to pass an array in a user-defined function
Golang program to return an array from a user-defined function
Golang program to pass a structure to the user-defined function
Golang program to return a structure from the user-defined function
Golang program to return multiple values from a user-defined function
Golang program to demonstrate the function closure
Golang program to implement a user-defined function as a method
Golang program to pass the pointer variables in a user-defined function
Golang program to demonstrate the recursion
Golang program to calculate the factorial using recursion
Golang program to print the Fibonacci series using recursion
Golang program to calculate the power of a given number using recursion
Golang program to count digits of given number using recursion
Golang program to calculate the sum of all digits of a given number using recursion
Golang program to demonstrate the pointer
Golang program to demonstrate the pointer to pointer
Golang program to demonstrate the float pointer
Golang program to demonstrate pointer to an array
Golang program to demonstrate pointer to a structure
Golang program to demonstrate the comparison of pointers
Golang program to find the IEEE 754 representation using math.Float64bits() function of given number
Golang program to demonstrate the 'defer' keyword
Golang program to demonstrate the 'defer' keyword to add two numbers
Golang program to convert a numerical string into an integer number
Golang program to convert the string into float number using ParseFloat() function
Golang program to convert a float number into an integer number
Golang program to convert 64-bit float number into 32-bit float number
Golang program to convert 64-bit integer number into a 32-bit integer number
Golang program to convert a 32-bit integer number into a 64-bit integer number
Golang program to convert a 32-bit integer number into byte number
Golang program to convert a 64-bit integer number into byte number
Golang program to convert a 32-bit float number into byte number
Golang program to convert a 64-bit float number into byte number
Golang program to create a slice from an integer array
Golang program to find the length of a slice
Golang program to find the capacity of a slice
Golang program to demonstrate the different ways to create slices
Golang program to create a new slice from the existing slice
Golang program to create a slice using the make() function
Golang program to iterate a slice using 'range' in 'for' loop
Golang program to iterate a slice using a range in 'for' loop without index
Golang program to create and modify created slice
Golang program to sort a slice of integer in ascending order
Golang program to sort a slice of strings in ascending order
Golang program to check a specified slice of integers is sorted or not
Golang program to check a specified slice of strings is sorted or not
Golang program to sort a slice of 64-bit floating-point numbers in ascending order
Golang program to check a specified slice of 64-bit floating-point numbers is sorted or not
Golang program to search an item in ascending order sorted slice
Golang program to search an item in descending order sorted slice
Golang program to search a floating-point number in a sorted slice using SearchFloat64s() function
Golang program to search an integer item in a sorted slice using SearchInts() function
Golang program to search a string in a sorted slice using SearchStrings() function
Golang program to get characters from a string using the index
Golang program to print ASCII value of characters of the string
Golang program to trim space from both ends of string using TrimSpace() function
Golang program to trim specified characters from a string using Trim() function
Golang program to trim specified characters from the left side of string using TrimLeft() function
Golang program to trim specified characters from the right side of string using TrimRight() function
Golang program to demonstrate the strings.Compare() function
Golang program to demonstrate the strings.ContainsAny() function
Golang program to check a specified string contains a Unicode code point
Golang program to match two same strings in different cases
Golang program to get the index of a specified character in the specified string
Golang program to get the index of last occurrence of specified substring in specified string
Golang program to get the index of last occurrence of specified character in specified string
Golang program to replace all specified substrings by given substring
Golang program to convert the specified string into title case
Golang program to get current date and time
Golang program to get the date, month, year in different variables using Date() function
Golang program to print date and time in different formats using format constants
Golang program to print individual elements of date and time using the inbuilt function
Golang program to demonstrate the AddDate() function
Golang program to compare a specified date comes after another date or not
Golang program to compare a specified date comes before another date or not
Golang program to pause program execution for the specified duration
Golang program to find the difference between two times
Golang program to demonstrate the ParseDuration() function
Golang program to add given number of days to the specified date
Golang program to add given number of hours to the specified time
Golang program to check two dates are equal or not
Golang program to get the Weekday of the specified date
Golang program to convert a date-time object into a string
Golang program to compare two dates
Golang program to print tomorrow's date
Golang program to print yesterday's date
Golang program to demonstrate the hours() function
Golang program to demonstrate the Minutes() function
Golang program to demonstrate the Nanoseconds() function
Golang program to demonstrate the Seconds() function
Golang program to print date and time according to the specified location
Golang program to print all months using predefined constants
Go program to demonstrate a simple Goroutine
Go program to call a Goroutine with another normal function concurrently
Go program to create an anonymous Goroutine
Go program to demonstrate the multiple Goroutines
Golang program to get the type of specified variable
Golang program to demonstrate the reflect.NumField() function
Golang program to demonstrate the use of fallthrough keyword
Golang program to demonstrate the errors.New() function
Golang program to create a simple map
Golang program to delete an item from a map
Golang program to count the items of a map
Golang program to create a copy of the map
Golang program to iterate map elements using the range
Golang program to iterate different types of data structures using the range
Golang program to demonstrate the variadic function
Golang program to create a function with the variable number of arguments to calculate the sum of all arguments
Golang program to pass a slice of integers in a variadic function
Golang program to demonstrate the panic() function
Golang program to terminate the program with a specified exit code
Golang program to recover program after panic condition
Golang program to create a simple channel
Golang program to create the buffered channel
Golang program to pass buffered channel into a user-defined function
Golang program to receive items from a channel using the loop
Golang program to create the unidirectional channel
Golang program to print the type of channel
Golang program to convert bidirectional channel into the unidirectional channel
Golang program to print the capacity of channels
Golang program to print the length of channels
Golang program to check the channel is empty or not
Golang program to demonstrate the channel with select statement
Golang program to demonstrate the channel with switch block
Golang program to create an array of channels
Golang program to create a text file
Golang program to write and read data from a text file
Golang program to create an empty file
Golang program to get the size of an existing file in bytes
Golang program to print the permissions of the existing file
Golang program to print the last modified time of an existing file
Golang program to check the specified file is a directory or not
Golang program to rename a specified file with a new name
Golang program to delete a specified file
Golang program to open a file in read-only mode
Golang program to open a file in append mode
Golang program to check a specified file is exists or not
Golang program to set file permission
Golang program to change the ownership of the file in the Linux operating system
Golang program to truncate the data of the file
Golang program to create a copy of the existing file
Golang program to commit or sync data into memory disk
Golang program to write data bytes into a file
Golang program to read bytes from the file
Golang program to demonstrate the Seek() function to random access from the file
Golang program to write data into a file in a single line
Golang program to read data from the file in a single line
Golang program to get the size of the file using Seek() function
Golang program to print the current user id
Golang program to print the group id of the current process
Golang program to write data into the file using buffer writer
Golang program to get the buffered size using buffer writer
Golang program to get the available buffer size of buffer writer
Golang program to reset the buffer writer
Golang program to get the default buffer writer size
Golang program to change the buffer writer size
Golang program to create a simple buffer reader
Golang program to read one byte from the file using buffer reader ReadByte() function
Golang program to read data from the file using buffer reader Read() function
Golang program to read data from file till specified character using pre-defined function
Golang program to read data line by line from file using scanner
Golang program to read data from file word by word using the scanner
Golang program to create an empty zip file
Golang program to create a zip file containing a text file
Golang program to create a temp directory in the '/tmp' directory
Golang program to create a temp directory at the specified path
Golang program to create a temp file in the specified temp directory
Golang program to write a structure of binary data into the file
Golang program to read a structure from the file
Golang program to create a specified directory with specified permission
Golang program to create multiple directories with specified permission
Golang program to delete an empty directory
Golang program to list the content of the specified directory
Golang program to read the content of a specified directory and check directories and files
Golang program to demonstrate the command line arguments
Golang program to find the count of command-line arguments
Golang program to parse a command line flag of string type
Golang program to parse a command line flag of integer type
Golang program to parse multiple command-line flags
Golang program to parse command flags with command line arguments
Golang program to check a specified string is started with a given character using regular expression
Golang program to check a specified string pattern within a specified string using regular expression
Golang program to demonstrate the regular expression function FindString()
Golang program to demonstrate the regular expression function FindStringIndex()
Golang program to demonstrate the regular expression function FindStringSubmatch()
Golang program to demonstrate the regular expression function FindStringSubmatchIndex()
Golang program to demonstrate the regular expression function FindAllString()
Golang program to demonstrate the regular expression function FindAllStringSubmatchIndex()
Golang program to demonstrate the regular expression function ReplaceAllString()
Golang program to find a specified string pattern within a byte array using regular expression
Golang program to encode Boolean, integer, and float data using json.Marshal() function
Golang program to encode a string array using json.Marshal() function
Golang program to encode a map using json.Marshal() function
Golang program to encode a structure using json.Marshal() function
Golang program to decode a JSON string using Unmarshal() function
Golang program to print the Boolean value using format specifier in fmt.Printf() function
Golang program to print the type of specified variable using format specifier in printf() function
Golang program to print the binary value of a specified number using format specifier in printf() function
Golang program to print the octal value of a specified number using format specifier in Printf() function
Golang program to print the hexadecimal value of a specified number using format specifier in printf() function
Golang program to print the floating-point value in scientific notation
Golang program to print the string in double-quotes using format specifier
Golang program to print the variable address using '%p' format specifier
Golang program to demonstrate the fmt.Scan() function
Golang program to print '%' on the console screen using fmt.printf() function
Golang program to demonstrate the fmt.Sprintf() function
Golang program to demonstrate the io.WriteString() function
Golang program to demonstrate the fmt.Sscanf() function
Golang program to get the hostname of the computer
Golang program to demonstrate the os.Exit() function
Golang program to get path separator using os.PathSeparator constant
Golang program to get the null device
Golang program to print environment detail
Golang program to print the value of specified environment variable
Golang program to print the value of environment variable using os.LookupEnv()
Golang program to set the value of environment variable
Golang program to unset the value of environment variable
Golang program to demonstrate the os.Expand() function
Golang program to demonstrate the os.ExpandEnv() function
Golang program to get the user's home directory
Golang program to get the information about the current user
Golang program to get the current working directory using os.Getwd() function
Golang program to change the current working directory using os.Chdir() function
Golang program to convert a specified numeric string into integer using strconv.Atoi() function
Golang program to convert a specified integer number to a numeric string using strconv.Itoa() function
Golang program to convert a specified string into Boolean value
Golang program to convert a Boolean value to string
Golang program to convert a signed integer value to a hexadecimal string
Golang program to convert an unsigned integer value to a hexadecimal string
Golang program to convert a 64-bit float value to a hexadecimal string and scientific notation string
Golang program to demonstrate the log.Print() function
Golang program to demonstrate the log.Printf() function
Golang program to demonstrate the log.Fatal() function
Golang program to demonstrate the log.Fatalf() function
Golang program to demonstrate the log.Panic() function
Golang program to demonstrate the log.Panicf() function
Golang program to write log into specified file using log.SetOutput() function
Golang program to demonstrate the log.SetPrefix() function
Golang program to set date and time flags using log.SetFlags() for log messages
Golang program to add the full path of program file in log message as a prefix using log.SetFlags() function
Golang program to add program filename in log message as a prefix using log.SetFlags() function
Golang program to set the standard flags for timestamp as a prefix in the log message
Golang program to implement the ticker for every second
Golang program to implement the multiple tickers
Golang program to print the received value from the ticker
Golang program to implement a global ticker
Golang program to perform some other activities with the ticker
Golang program to stop a ticker explicitly
Golang program to implement the timer
Golang program to implement the timer with go function
Golang program to stop the timer explicitly
Python program to find uncommon words from two string
Python program to print URL from a string
Golang program to demonstrate the rand.Intn() function
Golang program to demonstrate the rand.Seed() function
Golang program to generate the slice of random numbers
Golang program to shuffle words of a string
Golang program to print the number of leading zeros in an 8-bit binary number
Golang program to print the number of leading zeros in a 32-bit binary number
Golang program to print the number of leading zeros in a 64-bit binary number
Golang program to print the minimum number of bits required to represent a number
Golang program to print the minimum number of bits required to represent an 8, 16, 32, 64 bits number
Golang program to print the counts of 1's in a binary number
Golang program to print the counts of 0's in a binary number
Golang program to get the reverse of the specified binary number
Golang program to rotate specified bits of the binary number in the left/right direction
Golang program to print the trailing zeros in the binary number
Golang program to generate the random number of integer types
Golang program to generate the random number of integer types between two numbers
Golang program to generate the random number of float types
Golang program to generate the random number based on current time as a source value
Golang program to add value to a 32-bit integer in an uninterruptible manner
Golang program to add value to a 64-bit integer in an uninterruptible manner
Golang program to add value to a 32-bit unsigned integer in an uninterruptible manner
Golang program to add value to a 64-bit unsigned integer in an uninterruptible manner
Golang program to add value to a uintprt variable in an uninterruptible manner
Golang program to demonstrate the atomic.LoadInt32() function
Golang program to demonstrate the atomic.LoadInt64() function
Golang program to demonstrate the SIGINT signal
Golang program to handle different types of signals
Golang program to check specified shell command exists or not
Golang program to execute a specified shell command without options
Golang program to execute a specified shell command with specified option
Golang program to execute a specified shell command with multiple options
Golang program to execute the specified shell script
Golang program to execute a specified executable/binary file
Golang Basics | Find output programs | Set 1
Golang Basics | Find output programs | Set 2
Golang Basics | Find output programs | Set 3
Golang Basics | Find output programs | Set 4
Golang Basics | Find output programs | Set 5
Golang If/Else | Find Output Programs | Set 1
Golang If/Else | Find Output Programs | Set 2
Golang Switch | Find Output Programs | Set 1
Golang Switch | Find Output Programs | Set 2
Golang goto, break, continue | Find Output Programs | Set 1
Golang goto, break, continue | Find Output Programs | Set 2
Golang const, Type Casting | Find Output Programs | Set 1
Golang const, Type Casting | Find Output Programs | Set 2
Golang for Loop | Find Output Programs | Set 1
Golang for Loop | Find Output Programs | Set 2
Golang for Loop | Find Output Programs | Set 3
Golang Functions | Find Output Programs | Set 1
Golang Functions | Find Output Programs | Set 2
Golang Recursion | Find Output Programs | Set 1
Golang Recursion | Find Output Programs | Set 2
Golang Strings | Find Output Programs | Set 1
Golang Strings | Find Output Programs | Set 2
Golang Closures | Find Output Programs | Set 1
Golang Closures | Find Output Programs | Set 2
Golang Arrays | Find Output Programs | Set 1
Golang Arrays | Find Output Programs | Set 2
Golang Arrays | Find Output Programs | Set 3
Golang Structures | Find Output Programs | Set 1
Golang Structures | Find Output Programs | Set 2
Golang Pointers | Find Output Programs | Set 1
Golang Pointers | Find Output Programs | Set 2
Golang Conversions | Find Output Programs | Set 1
Golang Conversions | Find Output Programs | Set 2
Golang Date & Time | Find Output Programs | Set 1
Golang Date & Time | Find Output Programs | Set 2
Golang Goroutine, Map, and Reflection | Find Output Programs | Set 1
Golang Goroutine, Map, and Reflection | Find Output Programs | Set 2
Golang Goroutine, Map, and Reflection | Find Output Programs | Set 3
Golang Goroutine, Map, and Reflection | Find Output Programs | Set 4
Scala
Scala program to print 'Hello World'
Scala program to create the mutable variable
Scala program to create an immutable variable
Scala program to create different types of variables
Scala program to print the value of variables using printf() function
Scala program to print the value of the Boolean variable using printf() function
Scala program to print the hexadecimal value of a number
Scala program to print the octal value of a number
Scala program to read and print the value of the string
Scala program to read the value of integer variable
Scala program to read the value of float variable
Scala program to read the value of character variable
Scala program to find the largest number between two numbers using ternary operator
Scala program to find the largest number among three numbers using ternary operator
Scala program to check whether a given number is EVEN or ODD using ternary operator
Scala program to print the ASCII value of the corresponding character
Scala program to print the type of the variable
Scala program to demonstrate the match statement
Scala program to return match case value from a method
Scala program to read a weekday number and print weekday name using match case
Scala program to check the given character is vowel and consonant
Scala program to implement an arithmetic calculator using a match case
Scala program to calculate the area of the circle
Scala program to calculate the perimeter of the circle
Scala program to calculate the area of the rectangle
Scala program to multiply two numbers using the plus (+) operator
Scala program to calculate the Highest Common Factor (HCF)
Scala program to demonstrate the bitwise left-shift (<<) operator
Scala program to demonstrate the bitwise right-shift (>>) operator
Scala program to demonstrate the Bitwise AND (&) Operator
Scala program to demonstrate the Bitwise OR (|) Operator
Scala program to demonstrate the Bitwise XOR (^) Operator
Scala program to demonstrate the 1's complement (~) Operator
Scala program to find the square root of a number
Scala program to calculate the power of a number
Scala program to find the largest number using scala.math.max() function
Scala program to find the smallest number using scala.math.min() function
Scala program to perform ceiling operation on given number using scala.math.ceil() function
Scala program to perform floor operation on given number using scala.math.floor() function
Scala program to get the natural logarithm of a Double number using scala.math.log() function
Scala program to get the base 10 logarithm of a Double number using scala.math.log10() function
Scala program to get the Euler's number e raised to the power of a Double number using scala.math.exp() function
Scala program to get the absolute value of a given number using scala.math.abs() function
Scala program to calculate the cube root of a given number using scala.math.cbrt() function
Scala program to calculate the IEEE remainder of given numbers using scala.math.IEEEremainder() function
Scala program to convert the angle measured radian to a degree using scala.math.toDegrees() function
Scala program to convert the angle measured in the degree to radian using scala.math.toRadians() function
Scala program to print numbers from 1 to 10 using while, do-while, and for loop
Scala program to implement infinite loop using while and do-while loop
Scala program to demonstrate the nested while and do-while loop
Scala program to demonstrate the break statement in while and do-while loop
Scala program to execute do-while loop at least 1 time on false condition
Scala program to demonstrate the until keyword in for loop
Scala program to filter the loop counter using if condition in for loop
Scala program to demonstrate the yield keyword in the for loop
Scala program to implement the foreach loop
Scala program to iterate the list collection using the for loop
Scala program to implement a one-dimensional array using Array() function
Scala program to create an integer array using the new keyword
Scala program to access array elements using foreach loop
Scala program to get the size of an array
Scala program to concatenate two integer arrays
Scala program to create an array of strings
Scala program to calculate the sum of array elements
Scala program to find the largest element from the array
Scala program to find the second largest element from the array
Scala program to find the EVEN numbers from the array
Scala program to merge two integer arrays into a third array
Scala program to reverse an integer array
Scala program to find the prime numbers from the array
Scala program to search an item into the array using linear search
Scala program to search an item into the array using binary search
Scala program to search an item into the array using interpolation search
Scala program to sort an array in ascending order using selection sort
Scala program to sort an array in descending order using selection sort
Scala program to sort an array in ascending order using quicksort with recursion
Scala program to sort an array using merge sort
Scala program to Cyclically Permutes the Elements of an Array
Scala program to delete an item from the array
Scala program to insert an item into an array
Scala program to create a two-dimensional array by using an array of array
Scala program to read and print MATRIX using a two-dimensional array
Scala program to calculate the sum of matrix elements
Scala program to calculate the sum of rows of matrix elements
Scala program to calculate the sum of columns of matrix elements
Scala program to print the transpose of MATRIX
Scala program to print the left diagonal of MATRIX
Scala program to print the right diagonal of MATRIX
Scala program to print the sum of left diagonal elements of MATRIX
Scala program to print the sum of right diagonal elements of MATRIX
Scala program to add two matrices
Scala program to multiply two matrices
Scala program to demonstrate the 3D array
Scala program to create the clone of an array
Scala program to demonstrate the copyToArray() method
Scala program to print the index of the first occurrence of item using indexOf() method
Scala program to print the index of the last occurrence of item using lastIndexOf() method
Scala program to print the common elements of two arrays
Scala program to compare strings using equal to (==) operator
Scala program to compare strings using equals() method
Scala program to compare strings using compareTo() method
Scala program to concatenate strings using the plus (+) operator
Scala program to concatenate strings using the concat() method
Scala program to extract the substring from a string
Scala program to find the length of the string
Scala program to get characters from the string
Scala program to check the string ends with specified substring
Scala program to check the string starts with a specified substring
Scala program to get bytes array from string using getBytes() method
Scala program to copy the content of string into a character array
Scala program to convert the string into a character array
Scala program to convert an integer number into a string
Scala program to convert a floating-point number into a string
Scala program to get the hash code of the string
Scala program to get the index of the first occurrence of the specified substring
Scala program to get the index of the last occurrence of the specified substring
Scala program to replace the character with another character in the string
Scala program to demonstrate the replaceAll() method
Scala program to demonstrate the replaceFirst() method
Scala program to split the string based on the given separator
Scala program to demonstrate the subSequence() method
Scala program to convert the string into lowercase
Scala program to convert the string into uppercase
Scala program to trim a string
Scala program to concatenate string using 's' method of string interpolation
Scala program to concatenate formatted string using 'f' method of string interpolation
Scala program to print raw string using the raw method of string interpolation
Scala program to create a string using StringBuilder class
Scala program to append a character to an immutable string using the '+=' operator
Scala program to append a string to an immutable string using the '++=' operator
Scala program to append a number to an immutable string using append() method
Scala program to clear the content of StringBuilder string
Scala program to delete a substring from StringBuilder string
Scala program to insert a substring into StringBuilder string
Scala program to replace a substring into StringBuilder string
Scala program to print the distinct elements of the array
Scala program to print the size of the array
Scala program to get the first N number of elements from the array
Scala program to get the last N number of elements from the array
Scala program to get the length of StringBuilder string
Scala program to get characters from StringBuilder string
Scala program to check whether a string is empty or not
Scala program to check nullable string
Scala program to create a string using StringBuffer class
Scala program to demonstrate the append() method with StringBuffer class
Scala program to delete a substring from a string created using StringBuffer
Scala program to insert a substring into string created using StringBuffer
Scala program to add two integer arrays
Scala program to subtract an array from another array
Scala program to swap adjacent elements in the array
Scala program to find the total occurrences of a given item in the array
Scala program to find the first repeated item in the array
Scala program to sort an array in ascending order using bubble sort
Scala program to sort an array in descending order using bubble sort
Scala program to sort an array in ascending order using insertion sort
Scala program to sort an array in descending order using insertion sort
Scala program to create a simple function
Scala program to create a function with arguments
Scala program to return a value from a function using the 'return' statement
Scala program to return a value from the function without using the 'return' statement
Scala program to create a function with default arguments
Scala program to call a function with named parameters
Scala program to create a function with the default value for non-trailing arguments
Scala program to pass an array into user-defined function
Scala program to create a currying function to add two numbers
Scala program to create an anonymous function with => operator
Scala program to create an anonymous function using '_' wildcard
Scala program to create nested functions
Scala program to demonstrate the partially applied function
Scala program to demonstrate the partially applied function using currying approach
Scala program to call a function using curly braces
Scala program to print the current time
Scala program to print the current date
Scala program to print the current date and time using getTime() method
Scala program to print the current time in milliseconds
Scala program to format the current time using SimpleDateFormat class
Scala program to convert a string into a date
Scala program to convert a string into date-time
Scala program to print the current date and time using Date class
Scala program to compare two dates
Scala program to print tomorrow's date
Scala program to print yesterday's date
Scala program to add days into the current date
Scala program to subtract days from the current date
Scala program to demonstrate the after() method of Date class
Scala program to demonstrate the before() method of Date class
Scala program to compare two dates using compareTo() method
Scala program to set datetime using setTime() method
Scala program to find the difference between the two dates
Scala program to create a sequence of integers
Scala program to check a sequence is empty or not
Scala program to demonstrate the endsWith() method for the sequence of integers
Scala program to check a given number is exist in a sequence or not
Scala program to reverse the elements of a sequence
Scala program to print the index of the first occurrence of the given number
Scala program to print the index of the last occurrence of the given number
Scala program to copy the elements of a sequence into the array
Scala program to print the first element of a sequence without using the index
Scala program to print the elements of a sequence except first element using tail property
Scala program to perform the union operation between two sets using bitwise OR (|) operator
Scala program to create a sorted set
Scala program to create a hash set
Scala program to create a BitSet
Scala program to add and delete items to/from BitSet
Scala program to create a ListSet
Scala program to create a simple trait
Scala program to extend a trait in a class without implementing the abstract method
Scala program to create a non-abstract method inside the trait
Scala program to implement multiple traits in a class
Scala program to implement trait Mixins
Scala program to create an empty ListSet and add new items into ListSet
Scala program to handle Divide By Zero exception
Scala program to handle multiple exceptions
Scala program to print exact exception message
Scala program to demonstrate the finally block
Scala program to demonstrate the finally block without catch block
Scala program to demonstrate the throw keyword
Scala program to demonstrate the throws keyword
Scala program to create a custom exception
Scala program to demonstrate the NumberFormatException
Scala program to demonstrate the NullPointerException
Scala program to implement simple inheritance
Scala program to implement multilevel inheritance
Scala program to implement hierarchical inheritance
Scala program to implement hybrid inheritance
Scala program to demonstrate the protected access specifier
Scala program to implement method overriding
Scala program to override the field of a class
Scala program to store key/value pairs using Map collection
Scala program to print iterate map using the for loop
Scala program to add elements to the Map collection
Scala program to delete elements from the Map collection
Scala program to check a Map collection is empty
Scala program to store key/value pairs using HashMap collection
Scala program to print iterate HashMap collection using the for loop
Scala program to add elements to the HashMap collection
Scala program to delete elements from the HashMap collection
Scala program to check a HashMap collection is empty or not
Scala program to demonstrate the Vector collection class
Scala program to check a vector is empty or not
Scala program to add an item into Vector collection
Scala program to merge two vectors using the ++ operator
Scala program to reverse the elements of the vector
Scala program to create a queue using Queue collection class
Scala program to get the first item from the front-end in the queue
Scala program to print the vector elements using the foreach loop
Scala program to sort the elements of the vector using the sorted() method
Scala program to print the smallest element of the vector using min() method
Scala program to print the largest element of the vector using max() method
Scala program to compare two vectors using equals() method
Scala program to check a vector contains an item or not
Scala program to add an item in the queue using enqueue() method
Scala program to delete an item from the queue using dequeue() method
Scala program to check a queue is empty or not
Scala program to remove all elements from the queue
Scala program to compare two queues using equals() method
Scala program to add items into the queue using the +=() method
Scala program to append a queue in another queue using the '++=()' method
Scala program to add items into the queue using the '+:()' method
Scala program to check a queue contains a specified item
Scala program to find the smallest element from the queue
Scala program to find the largest element from the queue
Scala program to calculate the sum of all queue elements
Scala program to print the last item of the queue
Scala program to get the first N item from the queue using take() method
Scala program to demonstrate the map() method of Queue class
Scala program to demonstrate the List collection
Scala program to merge the elements of two List collections
Scala program to access items of List collection using the index
Scala program to sort the items of List collection
Scala program to reverse the items of List collection
Scala program to create a two-dimensional list using List collection
Scala program to print the head item of List collection
Scala program to print the items of List collection except for head item
Scala program to check a List collection is empty or not
Scala program to demonstrate the List.fill() method
Scala program to demonstrate the 'private' access modifier
Scala program to demonstrate the 'public' access modifier
Scala program to create a private class
Scala program to create a private singleton object
Scala program to create a private case class
Scala program to print the state of the thread
Scala program to check a thread is alive or not
Scala program to set and get the priority of the thread
Scala program to implement multi-tasking using thread
Scala program to demonstrate the Set collection
Scala program to get the first element of Set using the head property
Scala program to get all elements of the set except first element using tail property
Scala program to check given set is empty or not
Scala program to get the size of the set using the size property
Scala program to merge two sets using the ++ operator
Scala program to check the given element exists in a Set collection or not
Scala program to add and remove elements from the set collection
Scala program to iterate set elements using the for loop
Scala program to perform intersection operation between two sets using intersect() method
Scala program to perform intersection operation between two sets using & operator
Scala program to perform union operation between two sets using union() method
Scala program to demonstrate the 'this' keyword
Scala program to implement cascaded method call
Scala program to create a method returning an object
Scala program to pass an object as an argument
Scala program to demonstrate the final data member
Scala program to demonstrate the final method
Scala program to demonstrate the final class
Scala program to demonstrate the abstract class
Scala program to create an abstract class with data members
Scala program to create an abstract class with the constructor
Scala program to create an abstract class with the non-abstract method
Scala program to create an abstract class with the final method
Scala program to create a file
Scala program to read data from a text file
Scala program to read data from a file line by line
Scala program to create a thread by extending Thread class
Scala program to create a thread by implementing Runnable interface
Scala program to create multiple threads
Scala program to sleep a thread
Scala program to demonstrate the join() method of Thread class
Scala program to set and get the name of the thread
Scala program to call constructor using 'this' keyword
Scala program to implement method overloading based on the different number of arguments
Scala program to implement method overloading based on different types of arguments
Scala program to implement method overloading based on a different order of arguments
Swift
Swift program to print 'Hello World'
Swift program to create different types of variables
Swift program to demonstrate the escape sequences
Swift program to demonstrate the '\()' to embed the value of the variable within the string
Swift program to create a constant
Swift program to create a constant with binary value and print it in decimal number
Swift program to create a constant with hexadecimal value and print it in decimal number
Swift program to create an alias of basic types
Swift program to print the line number of source code using the #line directive
Swift program to create variables with specifying data type
Swift program to demonstrate the arithmetic operators
Swift program to demonstrate the assignment operators
Swift program to assign multiple variables in a single statement
Swift program to demonstrate the unary minus '-' and unary plus '+' operators
Swift program to demonstrate the comparison operators
Swift program to demonstrate the logical AND (&&) operator
Swift program to demonstrate the logical OR (||) operator
Swift program to demonstrate the logical NOT (!) operator
Swift program to print the size of variables
Swift program to demonstrate the closed range operator
Swift program to demonstrate the Half-Open range operator
Swift program to demonstrate the one-sided range operator
Swift program to read an integer number from the user
Swift program to read a float number from the user
Swift program to demonstrate the Int() function with Invalid value
Swift program to print the character corresponding ASCII value
Swift program to demonstrate the if statement
Swift program to demonstrate the if else statement
Swift program to demonstrate the ladder if statement
Swift program to demonstrate the nested if statement
Swift program to demonstrate the ternary operator
Swift program to demonstrate the switch statement
Swift program to demonstrate the fallthrough statement in the switch statement
Swift program to create case with multiple values in the switch block
Swift program to perform the bitwise left-shift operation
Swift program to perform the bitwise right-shift operation
Swift program to perform the bitwise AND operation
Swift program to perform the bitwise OR operation
Swift program to perform the bitwise XOR operation
Swift program to perform the bitwise NOT operation
Swift program to swap two numbers using the bitwise XOR operator
Swift program to print the minimum and maximum value of data type Int8
Swift program to print the minimum and maximum value of data type UInt8
Swift program to print the minimum and maximum value of data type Int
Swift program to demonstrate the 'for in' loop with range
Swift program to access the value of an array using 'for in' loop
Swift program to demonstrate the 'for in' loop with 'where' clause
Swift program to demonstrate the 'for in' loop with stride() function
Swift program to demonstrate the nested 'for in' loop
Swift program to demonstrate the while loop
Swift program to demonstrate the nested while loop
Swift program to demonstrate the infinite while loop
Swift program to demonstrate the repeat loop
Swift program to execute the loop once on false condition
Swift program to demonstrate the break statement
Swift program to demonstrate the continue statement
Swift program to read a string from the user
Swift program to convert an optional string into the normal string
Swift program to create a multi-line string literal
Swift program to check a string is empty or not
Swift program to concatenate two strings
Swift program to implement string interpolation
Swift program to get the length of a string
Swift program to compare two strings using equal to (==) operator
Swift program to iterate string character by character
Swift program to print the ASCII value of characters
Swift program to check a string contains a specified prefix
Swift program to check a string contains a specified suffix
Swift program to append a string using the addition assignment operator (+=)
Swift program to insert a character into a string
Swift program to remove a character from a string
Swift program to create a string with repeated values
Swift program to reverse a string
Swift program to join a string using the append() function
Swift program to convert the string into lowercase
Swift program to convert the string into uppercase
Swift program to create an array
Swift program to add elements into the array
Swift program to insert an element at a specific position in the array
Swift program to modify array elements
Swift program to remove an item from an array based on an index
Swift program to remove the first item from an array
Swift program to remove the last item from an array
Swift program to remove all items from an array
Swift program to print the length of the array
Swift program to sort an integer array in ascending order
Swift program to reverse an integer array
Swift program to sort an integer array in descending order
Swift program to shuffle array elements
Swift program to check an array contains a specified item
Swift program to check an array is empty or not
Swift program to swap array elements using swapAt() function
Swift program to access array elements using forEach() function
Swift program to create an array with mixed data elements
Swift program to check all array elements satisfy a condition
Swift program to demonstrate the use of the enumerated() function
Swift program to create a two-dimensional array
Swift program to create a jagged array
Swift program to create a two-dimensional array using the append() function
Swift program to create a three-dimensional array
Swift program to create a function with no argument and no return value
Swift program to create a function with argument but no return value
Swift program to create a function with no argument but a return value
Swift program to create a function with argument and return value
Swift program to create a nested function
Swift program to return multiple values from the function
Swift program to find the largest number between two numbers using max() function
Swift program to find the smallest number between two numbers using min() function
Swift program to find the power of a number using the pow() function
Swift program to find the square root of a number using the sqrt() function
Swift program to calculate the ceiling of a double number
Swift program to calculate the flooring of a double number
Swift program to truncate a double number
Swift program to find the absolute value of a number
Swift program to get the sin value of the given angle in radian
Swift program to get the cosine value of the given angle in radian
Swift program to get the tangent value of the given angle in radian
Swift program to get the inverse sin value in radian
Swift program to get the inverse cosine value in radian
Swift program to get the inverse tangent value in radian
Swift program to find the square root of a number using the pow() function
Swift program to find the cube root of a number using the pow() function
Swift program to find the natural logarithm of a given number
Swift program to find the decadic logarithm(base 10) of a given number
Swift program to find the Euler's number raised to a given exponent
Swift program to convert a string into a number using Int() function
Swift program to create a nested function with the return value
Swift program to pass an array into a user-defined function
Swift program to return an array from a user-defined function
Swift program to create a function with default arguments
Swift program to implement a verdict function
Swift program to create a function with an in-out parameter
Swift program to demonstrate the recursion
Swift program to calculate the factorial of a given number using recursion
Swift program to calculate the power of a given number using recursion
Swift program to count the digits of a given number using recursion
Swift program to calculate the sum of all digits using recursion
Swift program to create a simple set collection
Swift program to create a simple set collection with duplicate elements
Swift program to add elements into a Set collection
Swift program to remove an element from a Set collection
Swift program to remove the first element from a Set collection
Swift program to remove all elements from a Set collection
Swift program to find the length of Set collection
Swift program to perform union operation between two Set collections
Swift program to perform intersection operation between two Set collections
Swift program to perform subtraction operation between two Set collections
Swift program to calculate the symmetric difference between two Set collections
Swift program to check a set contains a specific subset
Swift program to compare two sets using the equal to (==) operator
Swift program to check a set collection is empty or not
Swift program to sort the elements of Set collection
Swift program to check a set collection contains a specific element or not
Swift program to check a set is the superset of another set collection
Swift program to check a set contains a specific strict subset
Swift program to check a set is the strict superset of another set collection
Swift program to check two set collections contains common values or not
Swift program to create a simple structure
Swift program to initialize structure using init() function
Swift program to demonstrate the 'self' keyword with structure
Swift program to create methods within a structure
Swift program to create a new structure object with existing object
Swift program to create a structure within structure
Swift program to create an array of the structure
Swift program to create an array within the structure
Swift program to pass a structure to a function
Swift program to create a function returning structure
Swift program to implement function overloading based on the different number of arguments
Swift program to implement function overloading based on different types of arguments
Swift program to implement function overloading based on the different order of arguments
Swift program to implement function overloading based on argument label
Swift program to create a simple class
Swift program to create a class with the init() method
Swift program to demonstrate the 'self' keyword within the class
Swift program to create a class with the user-defined methods
Swift program to create an array of objects
Swift program to pass an object as a parameter
Swift program to return an object from a method
Swift program to demonstrate the enumeration
Swift program to create an enumeration with the specific type and access its raw value
Swift program to print all cases of enumeration
Swift program to use enumeration constants using the switch statement
Swift program to compare enumeration constants based on raw values
Swift program to create typealias for built-in types
Swift program to create the alias of a structure
Swift program to generate random numbers
Swift program to shuffle the elements of an array
Swift program to get a random element from an array
Swift program to create a simple closure function
Swift program to create a closure function with parameters
Swift program to create a closure function and return a value
Swift program to pass a closure as a function parameter
Swift program to pass a closure as a function parameter with other parameters
Swift program to pass an automatic closure as a function parameter
Swift program to create a custom subscript
Swift program to create a subscript with set/get property
Swift program to create a subscript with the read-only property
Swift program to create a custom subscript with multiple options
Swift program to implement subscript overloading
Swift program to overload init() method
Swift program to implement single inheritance
Swift program to implement multilevel inheritance
Swift program to implement hierarchical inheritance
Swift program to implement hybrid inheritance
Swift program to implement method overriding
Swift program to call base class overridden method in derived class using super keyword
Swift program to call base class overridden method from derived class object
Swift program to call a superclass init() method from subclass
Swift program to implement property overriding
Rust
Rust program to print Hello World
Rust program to create different types of variables
Rust program to create different types of variables without specifying data types
Rust program to demonstrate the escape sequences
Rust program to create mutable variables
Rust program to create constants
Rust program to demonstrate the isize and usize datatypes
Rust program to create a variable with binary value and print it in decimal number
Rust program to create a variable with hexadecimal value and print it in the decimal number
Rust program to create an alias of built-in data type
Rust program to create string literals
Rust program to print the length of string literal
Rust program to read an integer number from the user
Rust program to read a float number from the user
Rust program to demonstrate the arithmetic operators
Rust program to demonstrate the assignment operators
Rust program to demonstrate the relational operators
Rust program to demonstrate the logical AND operator
Rust program to demonstrate the logical OR (||) operator
Rust program to demonstrate the logical NOT (!) operator
Rust program to demonstrate the conditional operator
Rust program to demonstrate the bitwise left-shift (<<) operator
Rust program to demonstrate the bitwise right-shift (>>) operator
Rust program to demonstrate the bitwise AND (&) operator
Rust program to demonstrate the bitwise OR (|) operator
Rust program to demonstrate the bitwise XOR (^) operator
Rust program to swap two numbers using bitwise XOR (^) operator
Rust program to set specific bit using bitwise operator
Rust program to clear specific bit using bitwise operator
Rust program to convert a decimal number to a binary number
Rust program to get the minimum number of bits to store a number
Rust program to check specific bit is HIGH (1) or LOW (0)
Rust program to print the hexadecimal number of the given decimal number
Rust program to print the binary number of a given decimal number
Rust program to print the octal number of a given decimal number
Rust program to swap two bytes of a number
Rust program to reverse bits of a binary number
Rust program to count the total number of HIGH (1) bits a given binary number
Rust program to swap nibbles of a number
Rust program to count the total number of trailing zeros
Rust program to check a given number EVEN or ODD using bitwise operator
Rust program to check a number contain the alternative pattern of bits
Rust program to find the next number power of 2
Rust program to find the position of MSB bit of an integer number
Rust program to round off an integer number to the next lower power 2
Rust program to find the total number of leading zeros in a binary number
Rust program to read a number and print bits between given positions
Rust program to swap two bits of a 32-bit integer number
Rust program to check a given number is the power of 2 using bitwise operator
Rust program to count the number of bits to be flipped to convert a number to another number
Rust program to print the bit positions that need to be flipped to convert a number to another number
Rust program to find the 1's complement of the given number
Rust program to find the 2's complement of the given number
Rust program to print the type of variables
Rust program to calculate the area of the circle
Rust program to calculate the perimeter of the circle
Rust program to calculate the area of the rectangle
Rust program to calculate the power of a given number
Rust program to find the square root of the given number
Rust program to demonstrate the use of abs() function
Rust program to multiply two numbers using '+' operator
Rust program to calculate the HCF (Highest Common Factor)
Rust program to subtract a number without using the '-' operator
Rust program to find the remainder without using the modulus (%) operator
Rust program to check whether the given character is alphanumeric or not
Rust program to check whether a character variable contains a digit or not
Rust program to check whether a given character is a whitespace character or not
Rust program to check whether a given character is a punctuation mark or not
Rust program to check whether a given character is a printable character or not
Rust program to convert a given number of days into days, weeks, and years
Rust program to find the roots of a quadratic equation
Rust program to find the GCD (Greatest Common Divisor)
Rust program to find the LCM (Lowest Common Multiple)
Rust program to calculate the area of a triangle given three sides
Rust program to calculate the area of a triangle for a given base and height
Rust program to calculate the area of Trapezium
Rust program to calculate the area of the rhombus
Rust program to calculate the area of Parallelogram
Rust program to calculate the area of Cube
Rust program to calculate the volume of Cube
Rust program to find the Surface Area and Volume of the Cylinder
Rust program to calculate the surface area, volume, and space diagonal of cuboids
Rust program to calculate the surface area, the volume of the Cone
Rust program to calculate the Surface Area and Volume of Sphere
Rust program to read coordinate points and determine its quadrant
Rust program to calculate the value of nCr
Rust program to calculate the value of nPr
Rust program to extract the last two digits from a given year
Rust program to read the height of a person and the print person is taller, dwarf, or average height person
Rust program to demonstrate the if statement
Rust program to demonstrate the if-else statement
Rust program to demonstrate the ladder (multiple) if-else statements
Rust program to demonstrate the nested if-else statements
Rust program to demonstrate the match statement
Rust program to demonstrate the match with the block of statements
Rust program to demonstrate the match statement without returning the value
Rust program to demonstrate the match statement with multiple values
Rust program to demonstrate the match statement with range
Rust program to demonstrate the match statement with enum
Rust program to print numbers from 1 to 10 using while, for loop, and loop
Rust program to implement infinite loop using while loop
Rust program to implement infinite loop using loop statement
Rust program to demonstrate the nested while loop
Rust program to demonstrate the nested for loop
Rust program to demonstrate the nested loop statement
Rust program to demonstrate the break statement with while and for loops
Rust program to demonstrate the break statement with a nested loop
Rust program to demonstrate the continue statement with while and for loops
Rust program to create a simple function
Rust program to create a user-defined function to add two integer numbers
Rust program to demonstrate the call by value parameter passing
Rust program to demonstrate the call by reference parameter passing
Rust program to pass an array in a function
Rust program to demonstrate the if let statement
Rust program to demonstrate the else if let statements
Rust program to demonstrate the if let with else if statement
Rust program to check the Even or Odd number using the if let statement
Rust program to create own Power function without using multiplication (*) and division (/) operators
Rust program to calculate the division without using division (/) operator
Rust program to convert a float number into an integer number
Rust program to convert an integer number into a float number
Rust program to convert an integer into character
Rust program to convert an unsigned integer into a signed integer
Rust program to convert a string into an integer
Rust program to convert a string into float
Rust program to convert an integer into a string
Rust program to calculate the power of float number using powi() function
Rust program to calculate the power of float number using powf() function
Rust program to calculate the cube root of a number
Rust program to calculate the square root of a number using the powf() function
Rust program to return an array from the function
Rust program to pass a structure to the function
Rust program to return a structure from the function
Rust program to return multiple values from the function
Rust program to demonstrate the recursion
Rust program to calculate the factorial using recursion
Rust program to print the Fibonacci series using recursion
Rust program to calculate the power of a given number using recursion
Rust program to count the digits of a given number using recursion
Rust program to calculate the sum of the digits of a given number using recursion
Rust program to reverse a number using recursion
Rust program to check a given number is prime or not using recursion
Rust program to calculate the LCM using recursion
Rust program to calculate the GCD using recursion
Rust program to calculate the HCF using recursion
Rust program to calculate the product of two numbers using recursion
Rust program to convert an integer number to binary using recursion
Rust program to convert binary to Gray code using recursion
Rust program to find the intersection of two HashSets
Rust program to find the Union of two HashSets
Rust program to compare HashSets using equal to (==) operator
Rust program to get the capacity of HashSet
Rust program to create a HashSet with specified capacity
Rust program to demonstrate the take() method of HashSet
Rust program to initialize a simple HashMap
Rust program to insert items into a HashMap
Rust program to print only keys of a HashMap
Rust program to print only values of a HashMap
Rust program to print Keys/values of a HashMap using iter() method
Rust program to modify the values of HashMap using the values_mut() method
Rust program to modify the values of HashMap using the iter_mut() method
Rust program to find the length of HashMap
Rust program to check the given HashMap is empty or not
Rust program to get value using Specified key in HashMap
Rust program to remove an item from HashMap using remove () method
Rust program to check a HashMap contains a specified key or not
Rust program to print the capacity of HashMap
Rust program to create a slice from the string
Rust program to create a slice from an integer array
Rust program to create a mutable slice from an integer array
Rust program to create a slice from a string without specifying the start index
Rust program to create a slice from a string without specifying the last index
Rust program to create a tuple
Rust program to access members of tuple one by one
Rust program to pass a tuple as a parameter
Rust program to implement destructive assignment with tuple
Rust program to create a simple array
Rust program to create an array without specifying the type
Rust program to find the length of an array
Rust program to initialize array elements with a default value
Rust program to access array elements using the 'for' loop
Rust program to access array elements using iter() function
Rust program to pass an array into the function using call by value mechanism
Rust program to pass an array into the function using call by reference mechanism
Rust program to create an array with constant size
Rust program to compare two arrays using the equal to (==) operator
Rust program to create an array using the existing array
Rust program to calculate the sum of array elements
Rust program to find the largest element from the array
Rust program to find the second largest element from the array
Rust program to find the EVEN numbers from the array
Rust program to merge two arrays into third array
Rust program to reverse an array
Rust program to print prime numbers from the array
Rust program to search an item into the array using linear search
Rust program to search an item into the array using binary search
Rust program to search an item into the array using interpolation search
Rust program to sort an array in ascending order using bubble sort
Rust program to sort an array in descending order using bubble sort
Rust program to sort an array in ascending order using selection sort
Rust program to sort an array in descending order using selection sort
Rust program to add two integer arrays
Rust program to swap adjacent elements of the array
Rust program to find out the first repeated element in the array
Rust program to delete the given item from the array
Rust program to create a simple vector
Rust program to find the length of the vector
Rust program to push or insert an item into vector
Rust program to perform the POP operation
Rust program to access vector elements using the index
Rust program to access vector elements using get() function
Rust program to create a vector using the new() method
Rust program to iterate the items of the vector using the 'for' loop
Rust program to create a simple HashSet
Rust program to create HashSet from the vector
Rust program to iterate HashSet items using the 'for' loop
Rust program to find the length of HashSet
Rust program to remove an item from HashSet
Rust program to check an item contains in HashSet or not
Rust program to iterate HashSet items using the iter() method
Rust program to delete all items from HashSet
Rust program to find the difference between two HashSets
Rust program to find the Symmetric difference between two HashSets
Rust program to create a simple structure
Rust program to create a structure with default values
Rust program to create a structure and assign the values to the members
Rust program to return a structure from the function
Rust program to define a method in a struct
Rust program to create a Static method in the structure
Rust program to create a simple enum
Rust program to get the integer value of enum constants
Rust program to demonstrate the Match Statement with Enum
Rust program to create an enum with the data type
Rust program to create a simple module
Rust program to import a module using the 'use' keyword
Rust program to create the nested module
Rust program to import a module from a different file
Rust program to access a static variable in a module
Rust program to create an empty file
Rust program to write text into the file
Rust program to read text from a file
Rust program to append data into an existing file
Rust program to remove an existing file
Rust program to check a specified file exists or not
Rust program to read a file character by character
Rust program to count the total number of lines of a text file
Rust program to read a file line by line
Rust program to replace a word in a file
Rust program to remove newline characters from the file
Rust program to remove a specified word from the file
Rust program to create a directory
Rust program to create a directory using create_dir_all() function
Rust program to check a specified directory exists or not
Rust program to create a simple thread
Rust program to create a thread pool
Rust program to pause a thread for two seconds
Rust program to demonstrate the join() function in threads
Rust program to access the main thread variable inside the worker thread
Rust program to send a message between threads
Rust program to pass a channel to the function
Rust program to send multiple messages between threads
Rust program to demonstrate the Sender::clone() function
Rust program to set the name of a thread
Rust program to get the UTC current date and time
Rust program to get the current date and time based on local time zone
Rust program to get the current timestamp
Rust program to convert the timestamp into readable date time
Rust program to print date-time in a formatted manner using format() function
Rust program to create a date object using ymd() function
Rust program to create a date-time object using ymd() and and_hms() function
Rust program to get the date of the specified day of the specified year
Rust program to demonstrate the and_hms_milli(), and_hms_micro(), and and_hms_nano() functions
Rust program to print the current year using year() method
Rust program to print the current month using month() method
Rust program to print the current day using day() method
Rust program to print the current hour, minute, second individually
Rust program to print today's weekday using the weekday () method
Rust program to compare weekdays with a current weekday
Rust program to get the current weekday number from Monday
Rust program to print the day of the year
Rust program to demonstrate the Utc::today() and Local::today() functions
Rust program to demonstrate the Utc::now().date() and Utc::now().time() functions
Rust program to convert local date-time in UTC date-time
Rust program to print the current date-time according to CHINA time-zone
Rust program to print the current date-time according to RIO (Brazil) time-zone
Rust program to print the time in 12-hour format
Rust program to demonstrate the num_days_from_ce() function
Rust program to print the UTC date-time in RFC 2822
Rust program to print the UTC date-time in RFC 3339
Rust program to parse the date-time from RFC 2822 string
Rust program to parse the date-time from RFC 3339 string
Rust program to parse only time from a string
Rust program to parse only date from a string
Rust program to parse the date and time from a string
Rust program to generate integer random numbers
Rust program to generate floating-point random numbers
Rust program to generate an integer random number between a specific range
Rust program to generate a floating-point random number between a specific range
Rust program to generate a random tuple
Rust program to generate random values of a custom types
Rust program to generate a random password
Rust program to generate a random password using a given set of characters
Rust program to use an iterator to read values from an array
Rust program to use an iterator to traverse the vector elements
Rust program to create a simple closure
Rust program to create a closure function with a parameter
Rust program to create a closure function to check given number is EVEN or ODD
Rust program to create a closure function to return the addition of given numbers
Rust program to create a generic function
Rust program to find the square of a given number using a generic function
Rust program to calculate the addition of two numbers using generic function
Rust program to calculate the subtract a number from another number using generic function
Rust program to create a generic structure
Rust program to declare and implement a trait
Rust program to demonstrate the command line arguments
Rust program to print the count of command-line argument using library function
Rust program to print the EVEN numbers using Command Line Arguments
Rust program to print a message using write() function
Python program to sort list of tuples alphabetically
Python program to find maximum value in record list as tuple attribute
Rust program to demonstrate the 'from' trait
Rust program to create a vector that can store only integers
Rust program to read a string from the user
Ruby
Ruby program to read a floating-point number from the user
Ruby program to calculate the area of Parallelogram
Ruby program to calculate the area of Cube
Ruby program to calculate the volume of Cube
Ruby program to calculate the volume and area of the Cylinder
Ruby program to calculate the volume, diagonal, and area of Cuboids
Ruby program to calculate the volume and area of Cone
Ruby program to calculate the volume and area of Sphere
Ruby program to read coordinate points and determine its quadrant
Ruby program to extract the last two digits from the given year
Ruby program to read the height of a person and the print person is taller, dwarf, or average height person
Ruby program to find the power of a number without using library function
Ruby program to divide a number from another number without using the division '/' operator
Ruby program to check the given number is EVEN or ODD using ternary operator
Ruby program to find the largest number between two numbers using ternary operator
Ruby program to find the largest number among three numbers using ternary operator
Ruby program to check the given number is POSITIVE or NEGATIVE using the ternary operator
Ruby program to check a person is eligible for voting or not using the ternary operator
Ruby program to find the division of students based on percentage using ternary operator
Ruby program to demonstrate the bitwise left-shift (<<) operator
Ruby program to demonstrate the bitwise AND (&) operator
Ruby program to demonstrate the bitwise XOR (^) operator
Ruby program to swap two numbers using the Bitwise XOR (^) operator
Ruby program to set the specific bit using the bitwise operator
Ruby program to clear the specific bit using the bitwise operator
Ruby program to find the 1's complement of the given number
Ruby program to demonstrate the Boolean NOT (!) operator
Ruby program to demonstrate the exponential operator (**)
Ruby program to demonstrate the arithmetic operators
Ruby program to demonstrate the logical operators
Ruby program to read an integer number from the user
Ruby program to find the area of the circle
Ruby program to calculate the perimeter of the circle
Ruby program to multiply two numbers using the plus (+) operator
Ruby program to subtract the numbers without using the minus (-) operator
Ruby program to find the remainder without using the modulus (%) operator
Ruby program to calculate the Highest Common Factor
Ruby program to calculate the Greatest Common Divisor
Ruby program to calculate the Lowest Common Multiple
Ruby program to calculate the area of Trapezium
Ruby program to calculate the area of the rhombus
Ruby program to calculate the square root of the given number
Ruby program to calculate the cube root of the given number
Ruby program to calculate the base 2 logarithm of the given value
Ruby program to calculate the base 10 logarithm of the given value
Ruby program to calculate the logarithm of a given number based on a given base
Ruby program to calculate the logarithm gamma of the given number
Ruby program to find the fraction and exponent of a number
Ruby program to calculate the value from the given fraction and exponent
Ruby program to find the hypotenuse of a right-angled triangle with sides l and b
Ruby program to find the value of e^value using exp() function
Ruby program to demonstrate the Math.erf() function
Ruby program to find the sine of given radian value
Ruby program to find the cosine of given radian value
Ruby program to find the tangent of given radian value
Ruby program to find the hyperbolic sine of given radian value
Ruby program to find the hyperbolic cosine of given radian value
Ruby program to find the hyperbolic tangent of given radian value
Ruby program to find the arccosine of the given value
Ruby program to find the arctangent of the given value
Ruby program to find the hyperbolic arcsine of the given value
Ruby program to find the hyperbolic arccosine of the given value
Ruby program to find the hyperbolic arctangent of the given value
Ruby program to convert the string into an integer
Ruby program to convert the string into a floating-point number
Ruby program to convert a number into a complex number
Ruby program to initialize and print a complex number
Ruby program to convert an integer number into a string
Ruby program to convert a number into a rational number
Ruby program to find the absolute value of the given number
Ruby program to check the given number is an integer or not
Ruby program to print the absolute value of Complex numbers
Ruby program to get the imaginary part of the given complex number
Ruby program to create Complex numbers from given imaginary parts
Ruby program to demonstrate the floor() function
Ruby program to demonstrate the ceil() function
Ruby program to print character of given ASCII value
Ruby program to print ASCII value of given character
Ruby program to demonstrate the downto() function
Ruby program to demonstrate the upto() function
Ruby program to check the given number is an EVEN number using library function
Ruby program to find the GCD using library function
Ruby program to find the LCM using library function
Ruby program to perform integer division of two numbers using div() function
Ruby program to perform float division of two numbers using the fdiv() function
Ruby program to check a number is zero or not using the zero?() function
Ruby program to demonstrate the inspect() function
Ruby program to get the numerator from a rational number
Ruby program to demonstrate the <=> operator
Ruby program to demonstrate the phase() function
Ruby program to check a given number is finite or not
Ruby program to get the real part from a Complex number
Ruby program to get the division and remainder using library function
Ruby program to check the given number is an odd number using library function
Ruby program to get the predecessor of an integer number using library function
Ruby program to get the successor of an integer number using library function
Ruby program to get the denominator from a rational number
Ruby program to demonstrate the coerce() function
Ruby program to demonstrate the arg() function
Ruby program to demonstrate the abs2() function
Ruby program to get the magnitude of the given number
Ruby program to get the remainder of float numbers using library function
Ruby program to compare numbers and strings using library function
Ruby program to get total bits required for the given number using library function
Ruby program to get the GCD and LCM using gcdlcm() library function
Ruby program to demonstrate the next() function
Ruby program to demonstrate the range (..) operator
Ruby program to demonstrate the if statement
Ruby program to demonstrate the if-else statement
Ruby program to demonstrate the ladder if statement
Ruby program to demonstrate the nested if statement
Ruby program to demonstrate the case statement
Ruby program to demonstrate the case statement with range
Ruby program to demonstrate the case statement with multiple values in the when block
Ruby program to demonstrate the case statement with string
Ruby program to check the input string contains numbers or letters using case statement
Ruby program to print numbers from 1 to 5 using for loop, while, and do...while loop
Ruby program to implement an infinite loop using the while loop
Ruby program to implement an infinite loop using the 'do' loop
Ruby program to demonstrate the nested 'while' loop
Ruby program to demonstrate the nested 'for' loop
Ruby program to demonstrate the nested 'do' loop
Ruby program to print numbers from 1 to 5 using for 'until' loop
Ruby program to create an infinite loop using 'until' loop
Ruby program to demonstrate the nested 'until' loop
Ruby program to demonstrate the 'break' statement with 'while', 'until', and 'for' loops
Ruby program to demonstrate the 'break' statement with a nested loop
Ruby program to demonstrate the 'next' statement in the loop
Ruby program to demonstrate the 'redo' statement in the loop
Ruby program to create a simple class
Ruby program to create an object of the class
Ruby program to create a data member inside the class
Ruby program to create a class with data members and initialize using initialize() method
Ruby program to create the multiple objects of the class
Ruby program to access a global variable from a method of the class
Python program to perform comparison operation on tuples
Ruby program to create a user-defined function without argument and without a return value
Ruby program to create a user-defined function with arguments but without a return value
Ruby program to create a user-defined function without argument but return a value
Ruby program to create a user-defined function with arguments and a return value
Ruby program to pass an array to the user-defined function
Ruby program to return an array from the user-defined function
Ruby program to pass a string to the user-defined function
Ruby program to return a string from the user-defined function
Ruby program to return multiple values from the user-defined function
Ruby program to create a simple recursive function
Ruby program to calculate the factorial of given number using recursion
Ruby program to print the Fibonacci series using recursion
Ruby program to calculate the power of a given number using recursion
Python program to find the maximum element in tuple list
Ruby program to count the digits of a given number using recursion
Ruby program to find the sum of the digits of a given number using recursion
Ruby program to find the reverse of a given number using recursion
Ruby program to find the given number is PRIME or not using recursion
Ruby program to find the LCM of two given numbers using recursion
Ruby program to find the GCD of two given numbers using recursion
Ruby program to find the HCF of two given numbers using recursion
Ruby program to calculate the product of two given numbers using recursion
Ruby program to convert the decimal number to binary using recursion
Ruby program to convert the Binary number to Gray code using recursion
Ruby program to create block using 'do...end' statement
Ruby program to create a block using curly braces {}
Ruby program to demonstrate the argument passing to block
Ruby program to return the values from the block
Ruby program to demonstrate the yield statement
Ruby program to demonstrate the yield statement with argument
Ruby program to demonstrate the BEGIN and END blocks
Ruby program to create multiple BEGIN and END blocks
Ruby program to demonstrate a simple module
Ruby program to create a module with variables
Ruby program to include a module inside the class
Ruby program to create a nested module
Ruby program to create a module with constant
Ruby program to create a class inside the module
Ruby program to illustrate the creation of strings
Ruby program to illustrate the difference between single quote string and double-quote string
Ruby program to create a String object
Ruby program to find the length of a string
Ruby program to get characters from a string using the index
Ruby program to get a substring from the string
Ruby program to demonstrate the example to write double-quotes in a string
Ruby program to demonstrate the escape sequence characters
Ruby program to demonstrate the string concatenation
Ruby program to make string immutable
Ruby program to compare two strings using the Equal To (==) operator
Ruby program to compare two strings using the eql?() method
Ruby program to compare two strings by ignoring case
Ruby program to check the given string is empty or not
Ruby program to demonstrate the string interpolation
Ruby program to check a string contains a specified substring or not
Ruby program to get the index of the substring in a string
Ruby program to pad a string with 0's on left side
Ruby program to pad a string with 0's on the right side
Ruby program to convert a string into uppercase
Ruby program to convert a string into lowercase
Ruby program to trim a string from both sides
Ruby program to trim a string from the left side
Ruby program to trim a string from the right side
Ruby program to check a string starts with a specified substring
Ruby program to check a string end with a specified substring
Ruby program to delete suffix substring from the given string
Ruby program to delete prefix substring from the given string
Ruby program to convert the string into an array of characters
Ruby program to convert the string into an array of characters based on the specified character
Ruby program to convert the array of characters into the string
Ruby program to convert an integer array into a string
Ruby program to convert a numeric string into integer using to_i() function
Ruby program to concatenate the strings using the << operator
Ruby program to iterate characters using the each_char() function
Ruby program to convert the string into an array of characters using chars() function
Ruby program to create a multi-line string using '%Q'
Ruby program to replace text inside the string using gsub() method
Ruby program to remove a specified character inside the string using gsub() method
Ruby program to replace number within a string using gsub() method with regular expression
Ruby program to convert the string into title case using gsub() method
Python program to perform the addition of nested tuples
Ruby program to remove the last specified character from the string
Ruby program to count a specified character inside the string
Ruby program to create an array using literal constructor '[]'
Ruby program to create an array using Array class
Ruby program to create an array using the new() class method
Ruby program to get the length of an array using the length() method
Ruby program to get the size of an array using the size() method
Ruby program to append an element into an array
Ruby program to convert an array into a string and join elements with a specified character
Ruby program to add multiple elements to the end of the array using push() method
Ruby program to push an array into another array
Ruby program to access array elements using at() method
Ruby program to get the subarray from an array using a specified range of indices
Ruby program to remove the last item from the array
Ruby program to remove the last given number of items from the array
Ruby program to remove the first item from the array
Ruby program to remove the first given number of items from the array
Ruby program to get the first item from the array
Ruby program to get the last item from the array
Ruby program to get the first given number of items from the array
Ruby program to get the last given number of items from the array
Ruby program to get the first N items from the array using the take() method
Ruby program to demonstrate the assoc() method
Ruby program to concatenate two arrays
Ruby program to find the uncommon elements from two arrays
Ruby program to find the common elements from two arrays
Ruby program to find the distinct elements from two arrays
Ruby program to get the flattened 1D array
Ruby program to insert an element into the array at the specified index
Ruby program to insert multiple elements into the array from the specified index
Ruby program to find the index of the first occurrence of the specified item in the array
Ruby program to reverse the elements of the array using inbuilt function
Ruby program to sort the elements of the array in ascending order using the inbuilt function
Ruby program to sort the elements of the array in descending order using inbuilt functions
Ruby program to compare two arrays using the eql?() method
Ruby program to get array elements after N elements
Ruby program to add an element in the array at the beginning
Ruby program to remove given element from the array
Ruby program to filter array elements using the select() method
Ruby program to check given item is included in the array or not
Ruby program to iterate over each element from the array
Ruby program to demonstrate the Array.map() method
Ruby program to demonstrate the Array.collect() method
Ruby program to remove duplicate elements from the array
Ruby program to demonstrate the Array.concat() method
Ruby program to remove elements from the array using delete_if() method
Ruby program to demonstrate the Array.dig() method
Ruby program to remove all elements from the array
Ruby program to remove all 'nil' elements from the array
Ruby program to check an array is empty or not
Ruby program to fetch elements from an array based on an index
Ruby program to fill an array with a specific element
Ruby program to find the largest element from the array
Ruby program to find the second largest element from the array
Ruby program to find the EVEN numbers from the array
Ruby program to calculate the sum of array elements
Ruby program to reverse an array without using library function
Ruby program to find the prime numbers from the array
Ruby program to search an item into the array using linear search
Ruby program to search an item into the array using binary search
Ruby program to search an item into the array using interpolation search
Ruby program to sort an array in ascending order using selection sort
Ruby program to sort an array in descending order using selection sort
Ruby program to sort an array in ascending order using quick sort
Ruby program to sort an array in ascending order using bubble sort
Ruby program to sort an array in descending order using bubble sort
Ruby program to sort an array in ascending order using insertion sort
Ruby program to sort an array in descending order using insertion sort
Ruby program to cyclically permutes the elements of the array
Ruby program to delete an item from the array without using the library function
Ruby program to insert an item into the array without using library function
Ruby program to merge two integer arrays without using library function
Ruby program to read and print two-dimensional array
Ruby program to calculate the sum of matrix elements
Ruby program to add two matrices
Ruby program to calculate the sum of rows of matrix elements
Ruby program to calculate the sum of columns of matrix elements
Ruby program to print the transpose matrix
Ruby program to print the left diagonal matrix
Ruby program to print the right diagonal matrix
Ruby program to calculate the sum of left diagonal the matrix
Ruby program to calculate the sum of right diagonal the matrix
Ruby program to implement single inheritance
Ruby program to override the superclass method into sub-class
Ruby program to call the overridden superclass method from the subclass
Ruby program to call a superclass constructor from sub-class using the super() method
Ruby program to initialize instance variables using the constructor
Ruby program to implement the getter method
Ruby program to implement getter and setter methods
Ruby program to implement getter method using 'attr_reader' accessor
Ruby program to implement setter method using 'attr_writer' accessor
Ruby program to implement getter/setter method using 'attr_accessor' accessor
Ruby program to implement multiple getter/setter methods using accessors
Ruby program to get current date-time using inspect() method
Ruby program to get the individual components of the current date-time
Ruby program to get the current weekday
Ruby program to get the current time zone
Ruby program to get the current day of the year out of 365
Ruby program to get the current weekday in 3 characters using strftime() method
Ruby program to get the current weekday name using strftime() method
Ruby program to get the current month name in 3 characters using strftime() method
Ruby program to get the current month name using strftime() method
Ruby program to get the current date-time using strftime() method
Ruby program to get the current day number of the month using strftime() method
Ruby program to get the current hour of the day in the 24-hour format using strftime() method
Ruby program to get the current hour of the day in 12-hour format using strftime() method
Ruby program to get the current day of the year using the strftime() method
Ruby program to get the current month of the year using the strftime() method
Ruby program to get the current minute of the hour using strftime() method
Ruby program to get the Meridian indicator using strftime() method
Ruby program to get the current second of minute using strftime() method
Ruby program to get the current week-number of the year using strftime() method
Shortest Un-ordered Subarray
Ruby program to create a set of integer elements
Ruby program to create add an element into set using add() method
Ruby program to get the items from a set using 'for' loop
Ruby program to convert a set into an array
Ruby program to perform union operation between sets using '|' operator
Ruby program to perform set difference between sets using '-' operator
Ruby program to perform intersection between sets using '&' operator
Ruby program to check a set is a superset of another set
Ruby program to check a set is a subset of another set
Ruby program to create a SortedSet of integer elements
Ruby program to get the current week-number of the year, starting with the first Monday as the first day of the first week
Ruby program to get the current day of the week (Sunday is 0) using strftime() method
Ruby program to get the current date alone(no time) using strftime() method
Ruby program to get the current time alone (no date) using strftime() method
Ruby program to get the current year in two digits representation using strftime() method
Ruby program to get the current year in four digits representation using strftime() method
Ruby program to demonstrate the time arithmetic
Ruby program to create an empty file
Ruby program to write text into the file
Ruby program to read entire text from the existing file
Ruby program to read lines from the existing file
Ruby program to read the specified number of characters from the existing file
Ruby Basics | Find Output Programs | Set 1
Ruby Basics | Find Output Programs | Set 2
Ruby program to open a file in read-only mode
Ruby program to open a file in write-only mode
Ruby program to open a file in the read-write mode without truncating the file
Ruby program to open a file in read-write mode with truncating file
Ruby program to open a file in append mode
Ruby conditional statements – Find output programs (set 1)
Ruby conditional statements – Find output programs (set 2)
Ruby conditional statements – Find output programs (set 3)
Ruby program to open a file in append mode, open if the file does not exist
Ruby program to rename a specified file by another name
Ruby program to check a specified file is exist or not
Ruby program to check a file has readable permission or not
Ruby program to check a file has writable permission or not
Ruby case statement – Find output programs (set 1)
Ruby case statement – Find output programs (set 2)
Ruby program to create a simple thread
Ruby program to create multiple threads
Ruby program to sleep thread execution for a specific time
Ruby program to join multiple threads using each() method
Ruby program to create a hash collection
Ruby program to get keys from a hash collection
Ruby program to compare two hash collections using '==' operator
Ruby program to get value from the hash collection based on specified key
Ruby program to add items into the hash collection
Ruby program to remove all items from the hash collection
Ruby program to delete the item from the hash collection based on a specific key
Ruby program to check a hash collection is empty or not
Ruby program to check a value is exist in the hash collection or not
Ruby program to get key based on value from the hash collection
Ruby program to print the inverted hash collection
Ruby program to print the length of the hash collection
Ruby program to merge two hash collections
Ruby program to get the size of the hash collection
Ruby program to check a given key is exist in the hash collection or not
Ruby program to replace the items of hash collection from another hash collection
Ruby program to get the hash elements as a sorted array from the hash collection
Ruby program to store items into the hash collection
Ruby program to convert the hash collection into the array
Ruby program to convert the hash collection into the string
Ruby program to search an item in the hash collection
Ruby program to get hash collection values as an array
Ruby program to demonstrate the delete_if() method
Ruby program to iterate elements of a hash collection using each() method
Ruby program to iterate hash collection and print only values
Ruby program to create a directory
Ruby program to check a directory is exist or not
Ruby program to print the current working directory
Ruby program to remove a specified directory
Ruby program to get the list the name of files in a specified directory
Ruby program to get the current working directory using Dir::getwd() method
Ruby program to delete an empty directory using Dir::unlink(), Dir::delete() methods
Ruby program to get the list of filenames matching the specified wild card pattern
Ruby program to get the filename one by one using Dir::foreach() method
Ruby program to print the home directory of the current user
Ruby program to change the current directory using Dir::chdir() method
Ruby program to demonstrate the Hash.inspect() function
Java program to implement default or no-argument constructor
Comments and Discussions!
Load comments ↻
Please enable JavaScript to view the
comments powered by Disqus.
Advertisement
Advertisement