C – Scope of a Variable

Scope refers to the visibility of variables. In other words, a scope is a section of a program, and the scope of variables refers to the section of the program where the variables are visible. Variable is declared and used within that region. Also, variables declared within the block cannot be accessed outside that block. Depending … Read more

C – Data Types

In C programming, data types specify the varying sizes and values in the variables that can be stored. It allocates the memory to store on OS depending on its type. A data type or simply type is an attribute of data that tells the compiler or interpreter how the programmer intends to use the data. Most programming … Read more

C – Operator precedence and Associativity

What are Precedence and Associativity? Precedence and Associativity are the rules that are used to determine the operators with the highest priority in evaluating an equation that contains different operations. For example: x = 10 + 5 * 2; In this example, x is assigned as 20, not 30 that’s because operator * has higher precedence than +, … Read more

C – Constants

Constants From the name constant, we can say that these are fix values that are used in a program and its values remain the same during the entire execution of the program. These fixed values in C are also called Literals. These constants may be any of the data-types present in C such as integer … Read more

C- Type Casting: Implicit, Explicit

Type Conversion or Type Casting is one the important concept in C programming, it converts one data type to another. It can also be called data conversion. The compiler automatically changes the data type. In C programming, typecasting operation is of two types: Implicit type casting Explicit type casting Implicit type casting: Implicit type casting … Read more

Example of Method Overriding and Overloading in Java

In this tutorial, we will write a program for method overriding and method overloading. Before that, you should have knowledge on the following topic in Java. Java Method Overriding Java Method Overloading Example of method overriding in Java: Output method overriding: I am A Dog Breed: German Shepard Explanation:In the above example, we can see … Read more

C# – Introduction

C# is a modern, general-purpose, object-oriented programming language developed by Microsoft and approved by the European Computer Manufacturers Association (ECMA) and International Standards Organization (ISO). C# was developed by Anders Hejlsberg and his team during the development of the .Net Framework.It is designed for Common Language Infrastructure (CLI), which consists of the executable code and … Read more

C# Variables (initialization, declaration, syntax and example)

Variables are like a storage unit that stores the values of various data-types present in a C# programming language. The types are different in C# and accordingly, the memory sizes are allocated to those types to store data values. Consider an example where you have declared a variable of type int that means that the … Read more

C# Data Types and Literals

As we know the variables holds the data and the type of data that it holds refers to the data-types. Theses types are: integer, float, double, boolean, etc. and each of this data-types has a specific size such as integer has the memory size of 4 byte and so on. Now, C# has categorized its … Read more

Java Virtual Machine (JVM), JDK, JRE

In this article, we learn all about JVM and its architecture and also we will compare JDK, JRE, and JVM with important points required. What is JVM? JVM stands for Java Virtual Machine, which is an abstract machine that provides a run-time environment to run Java programs. It converts Java byte-code into machine language, so not … Read more