Friday , December 13 2019

Monthly Archives: October 2015

JAVA #27 Object Type in Java

Object Type in Java An object is a class instance or an array. The reference values (often just references) are pointers to these objects, and a special null reference, which refers to no object. A class instance is explicitly created by a class instance creation expression . An array is …

Read More »

C #07 – Operators in C Language

Operators in C Language An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations. C language is rich in built-in operators and provides the following types of operators: Arithmetic Operators Relational Operators Logical Operators Assignment and Arithmetic Assignment Operators This tutorial will explain the …

Read More »

C #06 – Scanf() Function in C Language

scanf() Function scanf() function is used to read character, string, numeric data from keyboard. void main() { int i; clrscr(); printf("Enter The Number\n"); scanf("%d",&i); printf("The Input Value Is %d\n",i) getch(); }  

Read More »

JAVA #26 Interfaces in Java

Interface in Java As you’ve already learned, objects define their interaction with the outside world through the methods that they expose. Methods form the object’s interface with the outside world; the buttons on the front of your television set, for example, are the interface between you and the electrical wiring on the …

Read More »

C# – Encapsulation

Encapsulation: Encapsulation in a nutshell is “hiding the data“. It restricts direct access to data of an object. Encapsulation can be applied to data members or methods. It is done by putting the “private” keyword before the class property name or method name. Private – A member is private and accessible …

Read More »

C #05 – Escape Sequences in C Language

Escape sequences Escape sequences are used to represent certain special characters within string literals and character literals. Escape sequence Description Representation \’ single quote byte 0x27 in ASCII encoding \” double quote byte 0x22 in ASCII encoding \? question mark byte 0x3f in ASCII encoding \\ backslash byte 0x5c in …

Read More »

C #04 – Format Specifiers in C Language

Format Specifiers Format specifiers are the operators used in printf() function to print the data which is referred by an object or a variable. when a value is stored in a particular variable Format specifier Characters matched Argument type %c any single character char %d, %i integer integer type %u …

Read More »