Java Programming Flashcards

1
Q

A Simple, object-oriented, network savvy, robust, secure, portable, multithreaded,, dynamic language.

A

Java

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

Who created the java programming language?

A

James Gosling- 1995

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

Simplifying the task of java programming

A

Simple

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

What are the 8 characteristics of java programming?

A

Simple, object oriented, network savvy, interpreted, robust, architecture neutral, multithreaded, dynamic language

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

Designed to support applications on network.

A

Architecture neutral

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

Early checking for possible problems, later dynamic checking, and eliminating situations that are error prone.

A

robust

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

Design to adapt to an evolving environment

A

dynamic language

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

Advantages of Java programming

A

faster development, increased quality, increased software reuse, easy maintenance

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

Class

A

blueprint, has new data types

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

What are the Java classes?

A

Data members, methods (instance), accessor

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

Technique that focus designs on the data and on the interfaces of it.
-facilitates the clean definition of interface.

A

object-oriented

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

Java compiler generates byte code instead of native machine code

A

interpreted

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

Necessary information that the JVM needs to run

A

Byte code class file

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

Eliminates the possibility of over writing memory and corrupting data.

A

pointing model

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

Way of building applications with multiple threads.

A

multithreading

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

Compiler vs. VM

A

compiler- source code-compiler-binary file
vm- source code-java compiler, byte code, JVM

17
Q

4 features of Java programming

A

COMMENTS, IDENTIFIER, DATA TYPES, OPERATORS

18
Q

3 types of comments

A

DOUBLE SLASHES, C-STYLE, DOC COMMENTS

19
Q

What are the data types?

A

INTEGER, FLOATING POINT, BOOLEAN, CHARACTER, STRING , ARRAY

20
Q

What are the operators?

A

BINARY, RELATIONAL, BITWISE, TERNARY, ASSIGNMENT, STRING CONCATENATION, INCREMENENT AND DECREMENT

21
Q

Placed in source file to describe what is happening in the code to someone who might be reading the file.

A

COMMENTS

22
Q

To enclose one or more lines to be treated as text.

A

C-STYLE COMMENTS

23
Q

text strings that represents as variables, methods, classes or labels.

A

IDENTIFIER

24
Q

to enclose lines of text for the javadoc to find
- to generate API documentation

A

DOC COMMENTS

25
Q

identifiers can not be:

A

STARTING WITH A DIGIT AND SAME AS A RESERVE WORD

26
Q

tell the compiler to treat everything from the slashes to the end of the line as text.

A

DOUBLE SLASHES

27
Q

What are the relational operators?

A

<, >, =, !=

28
Q

What are the bitwise or logical operators?

A

&&, ||, !

29
Q

What are the binary operators?

A

+, -, /, *,%