¡GoConqr estrena diseño! Cuéntanos qué te parece.

Apuntes

Ch. 1-4 Notes

johnrclark12 Java Programming C2 Inglés 1 página

Contenido del apunte (1)

Página 1

Source Files = .java extension

Class Files = .class extension

A class contains information that is required to create an object

A part of the computers memory is known as the heap.

DrawingKit dk = new DrawingKit("Rectangle");

Integers: Number that can be written without using a decimal point or fraction. (int,byte,short,long)

Floating-Point Numbers: Numbers that contain a decimal point (float & double)

Characters: Single letter of the alphabet, a digit, or a symbol (char)

True/False Values: (boolean) representing either true or false.

IDENTIFIERS:

Cannot contain spaces

Starts with a letter or a number

Underscores may be used

Case sensitive

No Java Keywords

JAVA KEYWORDS:

abstract

assert

boolean

break

byte

case

catch

char

class

const

continue

default

do

double

else

enum

extends

final

finally

float

for

goto

if

implements

import

instanceof

int

interface

long

native

new

package

private

protected

public

return

short

static

strictfp

super

switch

synchronized

this

throw

throws

transient

try

void

volatile

while

Conversions may take place in the following order (6-1):

byte

short

int

long

float

double

Scanner Class:

Scanner scanner = new Scanner(System.in);

P - Parenthesis (), Postfix (a++ a--)

U - Unary operators (++a, --a)

M - Multiplication & Division, Modulus (*, /, %)

A - Addition & Subtraction (+, -)

L - Less Than (, >=)

E - Equality (==, !=)

A - AND (&&)

P - OR (||)

S - Special Assignments (=, +=, -=, *=, /=, %=)

New Page

Información

Descripción
C2 Java Programming Apunte sobre Ch. 1-4 Notes, creado por johnrclark12 el 18/09/2014.
Creado por
johnrclark12
Visitas
10
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?