CC103 REVIEWER

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

29 Terms

1
New cards

When was Java first implemented?

1995

2
New cards

What company made Java?

Sun Microsystems

3
New cards

What is the first name that java initially have?

Oak

4
New cards

What should you type in Command Prompt (cmd) to check if your system has Java already installed?

C:\Users\Your Name>java -version

5
New cards

TRUE OR FALSE: Identifiers Should begin with a letter (A to Z or a to z), currency character ($) or a hyphen (-)

FALSE: underscore (_) not hyphen (-)

6
New cards

naming convention has its first word lower case and all succeeding words have uppercase as their first letter? (ex: newMainWindow)

camelCase

7
New cards

ACCESS MODIFIERS

  • protected

  • private

  • public

  • default

8
New cards

NON-ACCESS MODIFIERS

  • abstract

  • final

  • strictfp

9
New cards

PRIMITIVE VARIABLES

  • byte

  • char

  • long

  • int

  • double

  • short

  • boolean

  • float

10
New cards

WORA

Write Once, Run Anywhere

11
New cards

released as free and open-source software under the terms of the GNU General Public License (GPL)

November 13, 2006

12
New cards

have states and behaviors

Object

13
New cards

can be defined as a template/ blueprint that describes the behaviors/states that object of its type support.

Class

14
New cards

owned by a class

Method

15
New cards

For all class names the first letter should be in

Upper Case

16
New cards

All method names should start with

Lower Case

17
New cards

TRUE OR FALSE Name of the program file should exactly match the class name

TRUE

18
New cards

a variable that points to an object of a given class, letting you access the value of an object. An object is a compound data structure that holds values that you can manipulate.

Reference Variable

19
New cards

Animal Dog = new Animal ();

Reference Variable

20
New cards

are objects that store multiple variables of the same type.

Array

21
New cards

a special "class" that represents a group of constants (unchangeable variables, like final variables).

enum

22
New cards

start with two forward slashes (//)

Single Line Comments

23
New cards

start with /* and ends with */

Multiline Comments

24
New cards

as a contract between objects on how to communicate with each other.

Interface

25
New cards

initializes an object when it is created. It has the same name as its class and is syntactically like a method.

Constructor

26
New cards

does not accept any parameters

No Argument Constructor

27
New cards

Parameters are added to a constructor in the same way that they are added to a method, just declare them inside the parentheses after the constructor's name

Parameterizes Constructor

28
New cards

a source code representation of a fixed value. They are represented directly in the code without any computation

Literal

29
New cards