Java Basic Data Types Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory. Based on the data type of a variable, the operating system allocates memory and decides what can be stored in the reserved memory. Therefore, by assigning different data types to variables, you can store integers, decimals, or characters in these variables. There are two data types available in Java: Primitive Data Types Reference/Object Data Types Primitive Data Types: There are eight primitive data types supported by Java. Primitive data types are predefined by the language and named by a key word. Let us now look into detail about the eight primitive data types. byte: Byte data type is a 8-bit signed two's complement integer. Minimum value is -128 (-2^7) Maximum value is 127 (inclusive)(2...
•Warns against attack on troops THE Joint Task Force (JTF), Operation Pulo Shield, has devised new method to further fight pipeline vandalism and crude oil theft in the Niger Delta region. Apart from raiding of illegal oil bunkering sites which has led to the discovery of 2,700 illegal refining sites between January and August this year in Rivers and Bayelsa states respectively, the task force has also embarked on sensitisation visit to the oil and gas communities in the region. The Commander, Sector Two Brigade, Brig-Gen. Tukur Burutai, during a visit to Bille Community in Degema Local Council of Rivers State at the weekend said the directive came from the Defence Headquarters and was aimed at sensitizing the community heads and youths on the dangers associated with continuous illegal refining and vandalism of pipelines. Burutai told the Bille community heads and youths that illegal oil bunkering increases environmental damage to the aquatic life...
Java - Overview Java programming language was originally developed by Sun Microsystems, which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems.s Java platform (Java 1.0 [J2SE]). As of December 08 the latest release of the Java Standard Edition is 6 (J2SE). With the advancement of Java and its wide spread popularity, multiple configurations were built to suite various types of platforms. Ex: J2EE for Enterprise Applications, J2ME for Mobile Applications. Sun Microsystems has renamed the new J2 versions as Java SE, Java EE and Java ME respectively. Java is guaranteed to be Write Once, Run Anywhere Java is: Object Oriented : In java everything is an Object. Java can be easily extended since it is based on the Object model. Platform independent: Unlike many other programming languages including C and C++ when Java is compiled, it is not compiled int...
Comments