- 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 653 Articles

Akhil Sharma
529 Views
What is 2D array in Golang? In Go programming language, a 2D array is an array of arrays, where each element of the outer array is a simple array itself. The code to declare a 2d array of size 2 X 3 can be done by writing var array [2][3]. ... Read More

Akhil Sharma
3K+ Views
In Go Language, we have various data types to store data and the String data type is the one that is used to store a sequence of characters. The size of string variable is 1 or 8 bits. An array on the other hand is a data type that is ... Read More

Akhil Sharma
319 Views
What is the Object of a Class? Object stores Key-value pairs of data together. There are numerous methods for producing an object. Some of them will be covered in this post. In this article, we are going to use two different methods to print objects of a class in the ... Read More

Akhil Sharma
453 Views
In go programming language, there are two types of access modifiers i.e Exported and un-exported. Identifiers that are exported from the package in which they are specified are known as exported identifiers. They always begin with a capital letter. These are only valid in the package in which they are ... Read More

Akhil Sharma
1K+ Views
In Golang program, a string is a data type that contains literals and characters whereas an object is a data type created from classes by keeping similar types of properties together. In this article, we will look at two methods by which we can convert a string to an object ... Read More

Akhil Sharma
3K+ Views
What is a string and a substring? A substring in Go is a portion of a larger string. It is specified by providing a start index and a length, and it contains the characters of the original string starting at the start index and going up to the specified length. ... Read More

Akhil Sharma
84 Views
What is String Concatenation? In Go, string concatenation is the process of combining two or more strings into a single string. There are several ways to concatenate strings in Go. We shall discuss them in this article. Method 1: By Using User-Defined Function The function that we create will ... Read More

Akhil Sharma
754 Views
In the go programming language, there are several types of special escape sequence characters. Usage of each one of them implements a different type of functionality. We shall discuss each one of them one by one in the upcoming examples. Example 1 In this example, we will write a go ... Read More

Akhil Sharma
879 Views
In Golang there are various techniques of printing double-quotes in the string. In this article, we are going to learn those techniques with various example. Syntax func Quote(s string) string Quote() function is present in strconv() package and is used to add a given string literal in double quotes. ... Read More

Akhil Sharma
733 Views
What is string in golang? In Go, a string is a sequence of characters. It is an immutable data type, meaning that once a string is created, it cannot be modified. Strings are enclosed in double quotes ("") and can contain any combination of letters, numbers, and symbols. They are ... Read More