1 Flashcards

1
Q

We have two different types of constructors.

A

Note

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

A variable_________with a variable name with a object type.

A

Declaration

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

The new keyword is used to create the object.

A

Instantiatiom

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

The new keyword is followed by a call to a constructor.

A

Initiazation

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

The following line would ask the compiler to load all the classes available in directory java_installation/java/io-

A

Import java.io.*;

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

What is the basic data types?!

A

Primitive data type
Byte
Short
Int
Long
Float
Duoble
Boolean
Char

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

A____is a source code representation of a fixed value.?

A

Literal

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

In java are specified like they are in most other language by enclosing a sequence of character between a pair of double quotes.?

A

String literals

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

A______provides us with named storage that our programs can manipulate.?

A

Variable

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

There are three kinds of variables in java

A

Local variables
Instance variables
Class/Static variables

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

Java provides a rich set of operators to manipulate variables.!?

A

Arithmetic operators
Relational operators
Bitwise operators
Logical operators
Assignment operators
Misc operators

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

As a language that has the object oriented feature,java supports the following fundamental concepts.!?

A

Polymorphism
Inheritance
Abstraction
Classes
Objects
Instance
Method
Message passing

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