Ovido
Language
  • English
  • Spanish
  • French
  • Portuguese
  • German
  • Italian
  • Dutch
  • Swedish
Text
  • Uppercase

User

  • Log in
  • Create account
  • Upgrade to Premium
Ovido
  • Home
  • Log in
  • Create account

Java

It is one of many programming languages that we use to instruct the computer.

Java

A mediator between you and your computer.

Java

Java works by giving a command written in English that is being converted into
an intermediate version called

Bytecode

A special software that translates it to a machine friendly language.

Java Interpreter

A list of instructions that tells a computer what to do.

Computer Program

JAVA CODE – special characters

{ } - Curly Braces

“ ” – Double quotes

[ ] – square brackets

; - semicolon

( ) – curved brackets

The command used to print some text on the screen.

System.out.print

It is a case sensitive language

Java

You need to put ___ after the print command

( ) - Open-Closed Curved Brackets

If you are printing text it is important to enclosed it with ____

" " - Double Quotes

It is needed after every command.

; - Semicolon

In programming a storage container is called

Variable

To put value in our variable we put ___.

= - Equal Sign

What are the different types of variables

String

int

char

float

boolean

Computer use this to take decision, also known as If-Else Statement

Conditional Statement

It do tasks when condition is TRUE

if block

do task when condition is FALSE.

else block

Use to accommodate many tasks in a repeatable manner in easy and quick manner.

Looping

TYPES OF LOOPS:
don’t know how many times the loops need to run

while loop

TYPES OF LOOP:
run the loop at least once, irrespective of the condition

do while loop

TYPES OF LOOPS:
repeat the task several times, know the number of times it should be repeated

for loop

Special storage, which stores multiple values of the same type.

Arrays

You can access arrays by using ____ starting with 0.

Index

To create an array you need to:

Type the values it will store

Type the name of an array

Type the maximum number of values it will store (range)

It tells the machine that we are using a variable

declaration

It takes a declared variable and associate values to it.

Initialization

ACCESSING VALUE IN ARRAYS:
straight forward = int numberArray [] = new int [10];

Int num = numberArray [4];

Accesing Single Member

ACCESING VALUES IN ARRAYS:
good two know, you can’t access multiple

arrays, but you can use a loop and get each individually

Accessing multiple members

Give input to the computer, which will then
stored in a variable and then the variable will be checked.

Scanner command

What are the 3 basic building blocks

the print statement

the main method

the class

A container which contains all the members that are used to write all
the program.

class

____ is where we are writing all the instructions
that is needed to perform.

main method

___ is a blueprint

Class

A class name should start with a ____.

Capital case letter

An _____ name should start with a small case and every first letter of next word must be in a capital case

Object

commands that creates an object

Scanner sc = new Scanner(System.in);

get the input which is passed to the program.

sc

a black screen window that pops up

Console window

blinking, indicate that the program is running, we need to pass the
input.

cursor(_)

allows you to create new classes
that are based on existing classes.

inheritance

represents the IS-A relationship
which is also known as a parent child

relationship.

Inheritance

Java Inheritance:
where we will inherit the

attributes and methods. Also called the

parent class.

Super class

Java Inheritance:
the class which will inherit

the attributes and methods from a super

class. Also called the child class.

Sub class

It is used after class name to indicate that the
certain class will inherit from another class

Extend keyword

Types of Inheritance:
When a class inherits another class, it is known

as a single inheritance.

Single

Types of Inheritance:
When there is a chain of inheritance, it

is known as multilevel inheritance.

Multilevel

Types of Inheritance:
When two or more classes inherits a single

class, it is known as hierarchical inheritance.

Hierarchical

Types of Inheritance:
When a class inherits the properties of multiple

classes, it is known as multiple inheritance. (Not supported

in java)

Multiple

Types of Inheritance:
A combination of Hierarchical and Multiple

inheritance. (Not supported in java)

Hybrid

used to import classes from other packages.
However, when you are dealing with

inheritance,

Import keyword

If a class have an entity reference

Aggregation

are the variables within a class.

Class attributes

is the instance of the class

Object

are special methods that is
used to initialize objects.

Java constructor

Type of Constructor:
it doesn't have any parameter.

Default Constructor

A constructor
which has a specific number of

parameters.

Parametized Constructor

Binding (or wrapping) code and data
together into a single unit.

Encapsulation

returns the variable value

get method

sets the value.

set method

Benefits of Encapsulation

Data hiding

Code Maintainability

Reusability

Modularity

represents a "has-a" relationship

Aggregation

is a stronger form of aggregation

Composition

“It represents a “part of” – relationship.

Composition

Another term for class attributes are ___

fields

Quiz
viruses
photosynthesis
Matspjälkning boken
Lesson 4: Database Analysis and Design
todo
General Principles
Lesson 3: Database Development Process
Português
history
Joana
ESTRUCTURA DE LA PLACENTA
Kickboxing
Traumatologia
accidentes de transito
3. Familia y compañía
VIOLACION
Parcial 2
FRACTURE
éducation physique - copie
Etapa 1
PSI
unidades 9-10
esame di paciologia dei processi cognitivi ed emotivi
Mapeh (Music) 2nd test
Grundpropleme der Sozialen Arbeit
2. Metas profesionales
skeletal system part 1
Lesson 2: Database Environment
verbos regulares del alemán
colores
Paises y capitales - copia
Paises y capitales
Lesson 1: Introduction to Information Management
Rhetoric cards
direito economico
HK åk 8 prov
glosor
The Teacher and School Curriculum
Verbos
Histologia
Sprecheafufgaben swei
Amnios y cordón umbilical
History test ww2 grade 10
português sermão teste
BIOLOGÍA
MEMBRANAS FETALES Y PLACENTA
svt - copie
svt
vocabulary: social issues
diritto costituzionale