Ovido
Taal
  • Engels
  • Spaans
  • Frans
  • Portugees
  • Duits
  • Italiaans
  • Nederlands
  • Zweeds
Tekst
  • Hoofdletters

Gebruiker

  • Inloggen
  • Account aanmaken
  • Upgrade naar Premium
Ovido
  • Startpagina
  • Inloggen
  • Account aanmaken

IT112 M2L1,2,3

an attribute associated with a piece of data that tells a computer system how to interpret its value.

data type

two types of data type

primitive data type and non primitive data type

specifies the size and type of variable values, and it has no additional methods.

primitive data type

It includes byte, short, int, long, float, double, boolean and char.

primitive data type

are called reference types because they refer to objects.

non primitive data type

Examples of these are Strings, Arrays, Classes, Interface, etc.

non primitive data type

data types are called reference types because they refer to objects.

non primitive data type

are predefined (already defined) in Java.

primitive data type

types are created by the programmer and is not defined by Java (except for String).

non primitive data type

can be used to call methods to perform certain operations

non primitive data type

type starts with a lowercase letter

primitive data type

types starts with an uppercase letter.

non primitive data type

There are eight primitive datatypes supported by Java. Primitive datatypes are predefined by the language and named by a keyword.

byte short int long float double boolean char

Primitive number types are divided into two groups:

integer types and floating point types

stores whole numbers, positive or negative (such as 123 or -456), without decimals.

integer types

represents numbers with a fractional part, containing one or more decimals.

floating point types

The byte data type can store whole numbers from -128 to 127. This can be used instead of int or other integer types to save memory when you are certain that the value will be within -128 and 127:

byte

data type can store whole numbers from -32768 to 32767:

short

data type can store whole numbers from -2147483648 to 2147483647. In general, the int data type is the preferred data type when we create variables with a numeric value.

int

data type can store whole numbers from -9223372036854775808 to 9223372036854775807.

long

This is used when int is not large enough to store the value. Note that you should end the value with an "L":

long

data type can store fractional numbers from
3.4e−038 to 3.4e+038. Note that you should end the value with an "f":

float

data type can store fractional numbers from
1.7e−308 to 1.7e+308. Note that you should end the value with a "d":

double

data type is declared with the boolean keyword and can only take the values true or false:

boolean

data type is used to store a single character. The character must be surrounded by single quotes, like 'A' or 'c':

char

data type is used to store a sequence of characters (text).

string

must be surrounded by double quotes:

string

Any constant value which can be assigned to the variable is called as literal/constant.

java literals

are used to represent a decimal, binary, or hexadecimal value.

integer literals

are used to initialize variables of integer data types byte, short, int and long.

integer literals

is used to represent value for a float and double variable or constants.

floating point literals

is composed of a sequence of decimal digits followed by either a decimal fraction, a decimal exponent, or both.

floating point literals

have only two values, true or false

boolean literals

is represented as a single character surrounded by single quotes.

character literals

represent multiple characters and are enclosed by double quotes.

string literals

Apply the declaration and initialization of Java variables in solving real-world problems.

variables

is a name which is associated with a value that can be changed.

variables

are containers for storing data values. It is assigned with a data type. It is a name given to a memory location. And it is the basic unit of storage in a program.

variables

System.out.println()
Appends a newline at the end of the data output

true

System.out.print()
Does not append newline at the end of the data output

true

constitute the basic building block to any programming language.

java operators

Java divides the operators into the following groups:

arithmetic rational bitwise boolean assignment operator

operators are used in mathematical expressions in the same way that they are used in algebra.

arithmethic operators

operators also known as Comparison Operators are used to check for relations like equality, greater than, less than. They return Boolean result after the comparison.

rational operators

which can be applied to the integer types, long, int, short, char, and byte. works on bits and performs bit-by-bit operation.

bitwise operators

also known as Logical Operators are used to perform logical “AND”, “OR” and “NOT” operation, i.e. the function similar to AND gate and OR gate in digital electronics.

boolean operators

are used to assign values to a variable.

assignment operators

Quiz
Psychology Key Terms Midterm
Psychology Midterm
Lab Blood
litr
Writing Critique Paper
cellular biology quiz
AtomfysikAtomfysik
hh
atomai molekules
spanska åk9 1
Spanska v. 39
Science Ions Polyatomique
Java 2 chapter 10
Java 2 chapter 9
revision mind map KA1
Mapeh (Arts) (1st Exam)study!!!
AP
Mapeh (Music) (1st exam)study!!!
Espagne
Science
Araling Panlipunan
Science (1st exam)study!!!
Utvecklingspsykologi
Reading Texts CriticallyLesson 1 for 1st Semester (Grade 12)
1
physicskakak
additional
NEC 2023 Chapter and Article Titles - copy
subjects or arts
Grade 9 Mapeh Lesson
Engelska medical word
Nederlands H2
Week 5 Particulieren
CHAPTER 2: COGNITIVE NEUROSCIENCE
موسیقی جهانیساز های بادی
scie rev
OralCom
Islam åk 8 del 4 Sharia & Fester .
history lesson 4
STS
parcial 1 y 2
Nematology (Prelims)IDENTIFICATION
voc pg 36 37 38
identificstion of carbohydrates
BIO900 Plastider del 1
Kemi E-provKemiska beteckningen på grundämnen i periodiska systemet 1-20
​​Samhällsvetenskapliga begrepp till vecka 38
So
BIO900 Fotosyntes del 1
engelska läxa v.39
química
BIO900 Begrepp del 1
Frans tweede klas voca b
ap
arithmetic sequence solvings
3 Flips on alien on earth
Tal 1
oralcom
Parts of speech
CSS REVIEWER 0.1css reviewer
Compa
Kalagayan, suliranin at pagtugon sa isyung pangkapaligiran ng pilipinas
ENGLISHPERIODICAL TEST ENGLISH PRACTICE
Kontemporaryong Isyuito ay mga napapanahong isyu
vecka 39
Monetary - Midterm
filipino
english and speech
BIO900 Instuderingsfrågor del 1
EMS Olympiad (A=OE+L)
EMS Olympiad (general ledger)
Geschiedenis begrippen par. 1.1 & 1.2
proteins
lipids (fats)
statistics
contemporary
artd
Sociology Midterm 1
Psychology Midterm 1
Bioquimica continuacion
nucleic acids
tandvård anatomi
Lesson 4 - Dimensional Analysis
Lesson 3 - Separation Techniques
concepts of entrepreneurships
pe
Lesson 2 - Matter and Properties
LITERATURA
arte y literaturaLOS CONCEPTOS INICIALES EN TORNO A LA APRECIACIÓN DEL ARTE Y LA LITERATURA Y SU INTERACCIÓN CON SU CONTEXTO SOCIOCULTURAL ¿Qué es el arte? Se encuentran diferentes definiciones para el arte, algun...
Svamp
italiano zahlen
English (1st exam)study!!!
groep 3-4-5
Foundation of Dance
Chapitre 1B semaine 39 (del 1)
2
Lesson 1 - Introduction to Chemistry
philo
QUÍMICA
filkom aklat
filkom akdksjd
stage 1
Chapter 3 (পদার্থের গঠন)
mineral and their properties + types of rocks
es
GENCHEM
taekwondo
Waterbuck
ethics
MEDIA
39
Haws Kiping (Qwez)
History
Spelling Errors For Sindh University - copy
linguistic 1
priciples of design
static GK
jessel cola
Histologia Cap. Nucleo Celular
Poems
Você é mais Inteligente do que um boneco dos anos 2000? - O joguinho de questõesVocê vai responder as questões de Raciocínio Lógico para concorrer a 12 mil reais em barras de ouro que vale mais do que dinheiro.
HISTÓRIA DO BRASIL 2.0
HISTÓRIA DO BRASIL 1.0
Nature of Dimensions
HISTÓRIA GERAL
Indian States & Capitals
Chemical compounds - copy
Economic
nucleic acids
läxa v.39 - skriva själv.
läxa v.39
muskler
ben
4.1 je fais du français french
drinks
Clubes do Brasil
PaísesUm quiz sobre os países
21st reviewer module 2reviewer
spanish vocab
EARTH HISTORY
Endogenic and Exogenic
Así se diceSpanska glosor 24/9 Svenska - spanska
elements ov arts
ethics
IGNEOUS ROCKS
MINERALS FORMING ROCKS
Layers of Earth
Adolescence (ps1)
EARTH SUBSYSTEMS
QUIZ BEEmonday
Ethics
art appreciation
ORIGIN OF UNIVERSE & SOLAR SYSTEM
PATHFIT
Elements of Art
foo M1
AP
arpan1st quarter reviewer
CELAW QUIZ
MIDTERM (Investment management)
mobile app 2
micro L3
micro L2
micro L1
Vävnader
Oral Communication
TMA24 Barr och rhododendron
Ak 1 havo
Field of Medical Techonology
SCM
ions à apprendre (analyse)
MLSP
svt chap 1
FORLANG
arts and appreciation
PRINCIPLES OF COMMUNICATIONKindly answer the 10 questions for our short quiz. This quiz is open until 11:59 PM today.
gs AW P1
Filipinobasta
german vocab 27
Radiología conceptos
Smash RANDOM SELECT
Tanzimat Edebiyatı Yazar ve Eserleri
Radiología línea
Tanzimat Edebiyatı Yazar ve EserleeiTanzimat edebiyatı yazarlarının eserleri
Passe Compose Avec Avoir
Radiología
Kanji Kata Kerja
Different types of theoriesABM 001
Chapter 19 blood
mudculos
uts L4
GRAMÁTICA
Opakovací test - eko
Cakestype of cakes, ingredints and origin of cakes will be included.
7️⃣ vs ⛰️Es können auch mehrere Antworten richtig sein
semana 38
andningsystemet
spanskap
math unit one test
Textilslöjd
Skin Better
Chem1
Nga ra o te wiki
phrasal verbs
freshwater ecology
Stocks and Sauces
Basic Principle of Cooking
uts L3.5
uts L3
kap 5
uts L2
Vad är ljus? - Fysikaliska begreppklar
Rizal LifeHappy
SCIENCE REVIEWER PERIODICAL EXAMexamination practice
philosophical perspective of the self
pharmacy technician
NSTP (Article 3)
NSTP (Article 2)
Latin chap.6 vocab
uts L1
PANAHON NG REBOLUSYUNARYONG PILIPINO
Lesson 5 filkom
lesson 4
lesson 3
filkom lesson 2
KOTOBA PM LEMBAR 1(hal 2,3,5,6,7)
filkom lesson 1
Natuurkunde voorvoegsel
proteins
lipids
carbohydrates
Bio Intro To Biochem
PathFit1
articulaciones
PSICOLOGÍA
SOCIOLOGIA
huesos
Social Introductory Quiz
German work
Digestive Systems
ANTIBIOTICS CONT'D (IV Preperation Module 5) Wk3
ANTIBIOTICS (IV Preperation Module 5) Wk3
definition
Skriemeļu skaits
mmw
voc 3 (getting an abortion)
formules trigo
Kroppens grundstenar
Prov djur
samhäll
The European Union
Spanska v. 38
Natuurkunde Grootheden en Eenheden
huesos
Tyska s.27
PR SHIT
Estadistica
v.38 tyska
VocabularioOrd i köket (ej läxa)
v. 38
Así se diceSpanska glosor till 24/9 Spanska - svenska
Physics
CSS
english
skak
drinks
Respiratory Physiology - copy
Respiratory Physiology
CHAPTER 3: STATISTICS REFRESHER 1
UCSP
Contemporary arts(filipino poets) first quarternone
kupu
Introduction to Data structures and algorithms
Vitamins and Minerals Other Names
THERAPEUTIC MODALITIES
Basic Expressions
Vitamins and Minerals
determine stage /year of development
chem quiz 1
principles, human development and tasks
medication aid abb. - copy
Anatomia - copia
tine
Prova de Geografia
CONTEMP
filkom