01 Introduction Flashcards

1
Q

It deals about creating objects that contain both data and functions.

A

Object-Oriented Programming (OOP)

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

It is a popular programming language (previously named as Oak), created in 1995 owned by Oracle.

A

Java

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

It accepts an array of arguments.

A

Main Function

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

It is used to print a line on the console.

A

System.out.println

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

It prints the enclosed literal string without the new line character.

A

System.out.print

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

It is a strongly-typed programming language, which means that you cannot put or assign or store different types of data together.

A

Java

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

Larger than int

A

Long

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

Numbers with floating points.

A

float

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

Larger numbers with floating points.

A

double

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

Data should be stored in some ______.

A

identifier or variable

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

Variable names should be composed of:

A

Alphanumeric characters, The dollar sign, Underscore

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

Variables cannot begin with any _____.

A

Numbers

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

In declaring Java variables, this format is followed,

A

<data_type> <variable_name>
</variable_name></data_type>

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

It should be declared first before you can make use of them.

A

variables

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

It is used to perform operations on variables and values.

A

Operators

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

Are data types, and are enclosed in single quotes.

A

Characters

17
Q

To separate string literals from values of identifiers, use the + operator, which is also known as a __________.

A

Concatenation operator.

18
Q

Predefined functions from a library
that is readily available.

A

scanf

19
Q

It is simply a way to put together a group of related classes and Java has quite a number of packages for your use.

A

Packages in Java

20
Q

It reads a string value

A

nextLine()