CMSC131 Midterm #1 Java Terminology

0.0(0)
studied byStudied by 3 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

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.

12 Terms

1
New cards

Java Compiler

Converts source code into machine code file, and runs everything at once 

<p>Converts source code into machine code file, and runs everything at once&nbsp;</p>
2
New cards

Java Interpreter

Converts machine code when program is run, goes LINE by LINE to understand what each line does. Debuggers are based on interpreters 

<p>Converts machine code when program is run, goes LINE by LINE to understand what each line does. Debuggers are based on interpreters&nbsp;</p>
3
New cards

Interpreter vs Compiler

knowt flashcard image
4
New cards

Java Virtual Machine

loads up all bytecode from .class files and runs program

<p>loads up all bytecode from .class files and runs program</p>
5
New cards

Scanner Syntax

import java.util.Scanner;

6
New cards

High level languages

java, python

7
New cards

low level languages

assembly, c

8
New cards

primitive data

data type that canot be manipulated (int, double, float, long, short, byte, boolean, char)

primitiveType name = data;

9
New cards

object data

String, Scanner (notice all uppercase)

ObjectType name = new ObjectType();

10
New cards

Pass by values

a mechanism to pass everything in java

11
New cards

static methods

with static methods, objects are NOT created

syntax: className.methodName(); or className.variableName();

12
New cards

non-static

with non-static methods, objects ARE created

syntax: object.methodName();