Java Application (Module 2) Flashcards

1
Q

This can be used to identify the authors of the program

A

Comment “//“

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

This can be place anywhere in the line

A

Singe-line comment “//“

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

This comment are enclosed and the compilers ignores it that anything appears on the inside

A

Multiple-line comment “/example/“

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

This is name of things, such as variables, constants, and methods that appears in the program

A

Identifiers

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

This is always in a lowercase like a special symbols.

A

Reserved Words

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

This is the starting for JVM to start execution of a java program

A

main()

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

it is an access specifier that we should use before the main() method so that the JVM can identify the execution point of the program

A

public

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

This method are the method which invokes without creating the object, we don’t need any object to call the main() method

A

static

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

this is return type. it acknowledges the compiler that main() method does not return any value.

A

Void

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

This method accepts data from the user. it accepts group of string.

A

String args []

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

It is a set of values together with a set of operations on those values

A

Data type

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

to run the program this needs to execute

A

public static void main (String [] args);

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