Java Flashcards

(15 cards)

1
Q

What is javva? state its features.

A

Jave is a high level programming language and platform which is used widely to create various types of computer spplicstions.
Object oriented language
Security
build in graphics
light weight code

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

Java compiliator process

A

Java complier instead of translating to machine language, trnaslate into bytecode (ptimistized set of instructions) when the bytecode is to be run on the computer, jvm a java interpreter trnaslates the code into machine langause.

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

What are the two types of character set?

A

ascii, unicode

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

Tokens.
Key words-
indentifier-
literal-

A

Tokens are a set of characters grouped together as a symbols.
Key words are reserved words which are meaning ful to java compiler.
indetifies is a fundamental java block.
literal are data items which are fixed data vlues

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

operators

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

What are data types?-primitave data type
non primitive data type

A

Data type is a keyword which detervimes what type of data a particular variable holds. data is imp as it only allows legal data types to be important
Primitive- aka build in data type they are fundamentsa data type and are an integral part of the java programme. it is of 8 times
NOn- aka reference data it is of 3 types- class, arrays, interface

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

variable- string/char

A

variable is an identifier which denotes a location in comp memory to store a data value
string stores one more than character
char stores only one

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

variable name

A

must not be a keyword
can start with apabet
must be one word

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

flow control statements - types

A

statements which break the flow of execution by implementing a decision branch to to your program to execute a particular block of code

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

why does java uses uni?

A

Earlier ascci could only represent 226 characters. But java was for world wide use. So, java uses unicode as it reprement most worlds languages.

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

imp of data type

A

Data type ensures that only legal data types get imported

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

define wora

A

WORA stands for write once, repeat anywhere. Java program needs to write only once. It can be run over in other programs. Without making any changes in the program

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

rules of forminh indetifier

A

Must not be a keyword
must not start with a digit
can be of any lengths

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

tyo=pes of literals’=
int, boolren, floating,char, strinh

A

Int represents whole number
booleen represents false and true. Floating represents decimal point values.

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

Rapid application development

A

method of

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