Passing arguments to a function When a function defined with parameters, then we should not call that function without passing the corresponding arguments to the corresponding parameters of that function.   Class Odemo A { Int   i, j; Void   function1 ( int i) { i=i+1; j=j+1; System. Out. Prinln (i);  // i=7 System. Out. Prinln…


Data Types In Java   Java supports 8 primitive data types under four categories. 1. Integers         byte ———— 8 bits     or      1 byte Short———— 16 bits or    2 bytes Int ————– 32 bits or 4 bytes Long ———— 64 bits or 8 bytes 2. Real numbers    float ————- 32 bits or 4 bytes Double ———–…


Object The memory in the Ram which is reserved for the non-static elements of the .class file is known as an object. The concept of reserving memory in the RAM dynamically (i.e at the run time) for the contents of a hard disk is known as an instance. Note that in the case of an…


Features of Java   Simple, small and familiar Java is a simple small language. The syntax of java is just like C++ language. So it is very easy to learn. But programming in java is easier than C++ because 1.It does not use header files 2.It eliminates the use of pointers 3.It eliminates operator overloading…


Java Virtual Machine is software that converts the required part of the byte code into its equivalent executable code. Java Virtual Machine loads executable code into Random Access Memory. This code will get executed by the local operating system then deletes the executable code from the Random Access Memory. The JVM is a machine within…


Elements of C:   C character set In order to develop its language the following characters are used, they are Alphabets-It consists of uppercase letters A…Z and lower case letters a…z. Digits- 0,1,2…9 Special characters- ,  Comma , & Ampersand , . Dot , ^Caret ,;   Semicolon , *  Asterisk, : Colon , >…