- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Akhil Sharma has Published 671 Articles
Akhil Sharma
3K+ Views
In this tutorial, we will learn how to convert character type to integer type variable using Golang programming language. In the Go programming language, there is no char data type. It uses bytes and rune and strings to represent character values. Example-1: Golang Program Code to Convert Char to Int ... Read More
Akhil Sharma
3K+ Views
In this tutorial, we will learn how to convert an array to a set using the Golang programming language. A Set is a collection of items. You can iterate on these items / add new / remove items and clear the set and get the size and check if the ... Read More
Akhil Sharma
347 Views
In this article, we are going to learn about Encapsulation in class using Golang Program Encapsulation in go Language vs Other Object-Oriented Languages − The variables or data of a class in object-oriented languages are private to that class and can only be accessed through any member functions of the ... Read More
Akhil Sharma
6K+ Views
In this article, we are going to learn to show inheritance in class using go programming. Inheritance In Golang − One of the key ideas in object-oriented programming is inheritance, which refers to passing on the properties of the superclass to the base class. As classes are not supported by ... Read More
Akhil Sharma
2K+ Views
In this tutorial, we will write a golang program to convert a set of strings to array of strings. In go a set is an abstract data type that can store specific values without repeating any of them and without any particular sequence. Convert Set Of String To Array Of ... Read More
Akhil Sharma
579 Views
In this tutorial, we will write a golang program to convert a list to set. A linked list is a structure that is created dynamically it has two elements one to store the value and other to store the address of the next structure. A set is an abstract data ... Read More
Akhil Sharma
949 Views
In this tutorial, we will write a golang program to convert a list to map. A linked list is a structure that is created dynamically it has two elements one to store the value and other to store the address of the next structure. A map store element in key:value ... Read More
Akhil Sharma
443 Views
In this tutorial, we will write a go language program to find the sum of diagonal elements of a matrix. Compute the Sum of Diagonals of a Matrix In this example, we will find the sum of left diagonal elements of a 3 x 3 matrix using external function. Algorithm ... Read More
Akhil Sharma
170 Views
In this tutorial, we will write a golang program to check whether two matrices are equal or not. A matrix is a collection of numbers arranged in rows and columns, a two-dimensional array. Check Whether Two Matrices are Equal or Not using If Statment In this example we will compare ... Read More
Akhil Sharma
2K+ Views
In this tutorial, we will see to write a go language program to check if two arrays are equal or not. Check If Two Arrays are Equal or Not Using Equality Operator The following code illustrates how we can check if two arrays are equal or not using the equality ... Read More