Login and Register
×
Go to Dashboard
Logged In Successfully!
×
×
Check your Email for the OTP
Login
Registration
Email
Password
Name
Email
Phone
Country Code
Afghanistan
Albania
Algeria
American Samoa
Andorra
Angola
Anguilla
Antarctica
Antigua and Barbuda
Argentina
Armenia
Aruba
Australia
Austria
Azerbaijan
Bahamas
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bermuda
Bhutan
Bolivia
Bosnia and Herzegovina
Botswana
Bouvet Island
Brazil
British Indian Ocean Territory
Brunei Darussalam
Bulgaria
Burkina Faso
Burundi
Cambodia
Cameroon
Canada
Cape Verde
Cayman Islands
Central African Republic
Chad
Chile
China
Christmas Island
Cocos (Keeling) Islands
Colombia
Comoros
Congo
Congo, the Democratic Republic of the
Cook Islands
Costa Rica
Cote D'Ivoire
Croatia
Cuba
Cyprus
Czech Republic
Denmark
Djibouti
Dominica
Dominican Republic
Ecuador
Egypt
El Salvador
Equatorial Guinea
Eritrea
Estonia
Ethiopia
Falkland Islands (Malvinas)
Faroe Islands
Fiji
Finland
France
French Guiana
French Polynesia
French Southern Territories
Gabon
Gambia
Georgia
Germany
Ghana
Gibraltar
Greece
Greenland
Grenada
Guadeloupe
Guam
Guatemala
Guinea
Guinea-Bissau
Guyana
Haiti
Heard Island and Mcdonald Islands
Holy See (Vatican City State)
Honduras
Hong Kong
Hungary
Iceland
India
Indonesia
Iran, Islamic Republic of
Iraq
Ireland
Israel
Italy
Jamaica
Japan
Jordan
Kazakhstan
Kenya
Kiribati
Korea, Democratic People's Republic of
Korea, Republic of
Kuwait
Kyrgyzstan
Lao People's Democratic Republic
Latvia
Lebanon
Lesotho
Liberia
Libyan Arab Jamahiriya
Liechtenstein
Lithuania
Luxembourg
Macao
Macedonia, the Former Yugoslav Republic of
Madagascar
Malawi
Malaysia
Maldives
Mali
Malta
Marshall Islands
Martinique
Mauritania
Mauritius
Mayotte
Mexico
Micronesia, Federated States of
Moldova, Republic of
Monaco
Mongolia
Montserrat
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
Netherlands
Netherlands Antilles
New Caledonia
New Zealand
Nicaragua
Niger
Nigeria
Niue
Norfolk Island
Northern Mariana Islands
Norway
Oman
Pakistan
Palau
Palestinian Territory, Occupied
Panama
Papua New Guinea
Paraguay
Peru
Philippines
Pitcairn
Poland
Portugal
Puerto Rico
Qatar
Reunion
Romania
Russian Federation
Rwanda
Saint Helena
Saint Kitts and Nevis
Saint Lucia
Saint Pierre and Miquelon
Saint Vincent and the Grenadines
Samoa
San Marino
Sao Tome and Principe
Saudi Arabia
Senegal
Serbia and Montenegro
Seychelles
Sierra Leone
Singapore
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
South Georgia and the South Sandwich Islands
Spain
Sri Lanka
Sudan
Suriname
Svalbard and Jan Mayen
Swaziland
Sweden
Switzerland
Syrian Arab Republic
Taiwan, Province of China
Tajikistan
Tanzania, United Republic of
Thailand
Timor-Leste
Togo
Tokelau
Tonga
Trinidad and Tobago
Tunisia
Turkey
Turkmenistan
Turks and Caicos Islands
Tuvalu
Uganda
Ukraine
United Arab Emirates
United Kingdom
United States
United States Minor Outlying Islands
Uruguay
Uzbekistan
Vanuatu
Venezuela
Viet Nam
Virgin Islands, British
Virgin Islands, U.s.
Wallis and Futuna
Western Sahara
Yemen
Zambia
Zimbabwe
Password
Topics
Java Programming Language
Java Language Fundamental - Quiz 28
Java Language Basics - Quiz 12
Java Interviews MCQs - Quiz 18
History of Java - Quiz
Java Data Types and Variables - MCQ - Quiz 51
Literals in Java - MCQ - Quiz
Declaration and Access Control in Java - Quiz 25
Operator in Java - Quiz 12
Java Control Flow - Quiz 19
Java Constructor and Methods - Quiz 32
Array in Java - Quiz 15
String in Java - Quiz 19
Overriding and Overloading in Java - Quiz 12
Inheritance in Java MCQ - Quiz 30
Java Interfaces And Abstract Classes MCQ - Quiz 20
Java thread MCQ - Quiz 22
Java Exception MCQ - Quiz 25
Literals in Java - MCQ - Quiz
Results:
🟢 Correct Answers:
🔴 Wrong Answers:
1
2
3
4
5
6
7
8
9
10
An integer literal is of type long if and only if it has the suffix - __________ in Java Programming.
A
F
B
L
C
O
D
D
Integer literal containing value "F" comes under __________ system.
A
Binary Number
B
Hexa Decimal Number
C
None of these
D
Octal Numer
Hexadecimal Numbers are having base _________.
A
2
B
10
C
16 bits
D
8
Which type of literal is assigned to the variable "result"?
boolean result = true;
A
string
B
boolean
C
bool
D
char
Number System whose digits consists of the numbers 0 through 9 is called as ______________.
A
Octal Number System
B
Hexa Decimal Number System
C
Decimal Number System
D
Binary Number System
In java programming, You can create binary literal in ________.
A
Java SE 6 and later
B
Java SE 7 and later
C
Java SE 5 and later
D
Java SE 1 and later
What is Literal in Java Programming?
A
special type of class
B
None of these
C
source code representation of a fixed value
D
special type of data type
_________ literal is used to Create a Values of the integral types byte, short, int, and long.
A
Long
B
Double
C
Byte
D
Integer
It is possible to assign a literal to a variable of a primitive type.
A
True Statement
B
False Statement
Which type of literal is written in pair of single quote?
A
Integer
B
Boolean
C
Float
D
Character
Quiz Analytics
×
Questions :
| Correct_answer :
| Wrong answer :
| Percentage:
%
Q: An integer literal is of type long if and only if it has the suffix - __________ in Java Programming.
A.
F
B.
L
C.
O
D.
D
Correct Option: BExplanation: L
Q: Integer literal containing value "F" comes under __________ system.
A.
Binary Number
B.
Hexa Decimal Number
C.
None of these
D.
Octal Numer
Correct Option: BExplanation: Hexa Decimal Number
Q: Hexadecimal Numbers are having base _________.
A.
2
B.
10
C.
16 bits
D.
8
Correct Option: CExplanation: 16
Q: Which type of literal is assigned to the variable "result"?
boolean result = true;
A.
string
B.
boolean
C.
bool
D.
char
Correct Option: BExplanation: boolean
Q: Number System whose digits consists of the numbers 0 through 9 is called as ______________.
A.
Octal Number System
B.
Hexa Decimal Number System
C.
Decimal Number System
D.
Binary Number System
Correct Option: CExplanation: Decimal Number System
Q: In java programming, You can create binary literal in ________.
A.
Java SE 6 and later
B.
Java SE 7 and later
C.
Java SE 5 and later
D.
Java SE 1 and later
Correct Option: BExplanation: Java SE 7 and later
Q: What is Literal in Java Programming?
A.
special type of class
B.
None of these
C.
source code representation of a fixed value
D.
special type of data type
Correct Option: CExplanation: source code representation of a fixed value
Q: _________ literal is used to Create a Values of the integral types byte, short, int, and long.
A.
Long
B.
Double
C.
Byte
D.
Integer
Correct Option: DExplanation: Values of the integral types byte, short, int, and long can be created from int literals
Q: It is possible to assign a literal to a variable of a primitive type.
A.
True Statement
B.
False Statement
Correct Option: AExplanation: True Statement
Q: Which type of literal is written in pair of single quote?
A.
Integer
B.
Boolean
C.
Float
D.
Character
Correct Option: DExplanation: Character
View Analytics
Another Quiz
‹ Prev
Next ›
Submit
⛶ Fullscreen
✕ Close Fullscreen
Top