Intro to Java Flashcards

1
Q

What is a platform?

A

It’s the combination of hardware and software that makes up a computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe what a program is.

A

Programs represent sequences of instructions for performing a specific task.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are some of the key requirements of a programming language?

A

-Possibility of rapid software development.
-Good performance of developed programs.
-The possibility of creating complex software
systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Java?

A

Java is a general-purpose, modern programming language initially developed by Sun Microsystems, and currently owned by Oracle Corporation. The key feature of the language is platform independence; this means that the same Java program can be run on multiple platforms without any changes! This principle is also known as “write once, run anywhere” (WORA).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Java’s most important feature?

A

Platform independence.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are other important features?

A

-Simple and clear syntax
-Java has a garbage collector that automatically cleans
memory from unused objects during runtime.
-Java supports multiple programming paradigms.
Java is primarily an imperative language based on the
object-oriented concept; almost every part of a
program is an object. Therefore, a program itself can
be considered a set of interacting objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly