Java supports multidimensional arrays.
a)True
b)False
Ans:a.
An array of arrays can be created.
a)True
b)False
Ans: a.
What is a string?
Ans: A combination of characters is called as string.
Strings are instances of the class String.
a)True
b)False
Ans:a.
a string literal is used in the program, Java automatically creates instances of the string class.
a)True
b)False
Ans: a.
Which operator is to create and concatenate string?
Ans: Addition operator(+).
Which of the following declare an array of string objects?
a)String[ ] s; b)String [ ]s: c)String[ s]: d)String s[ ]: Ans :a, b and d
What is the value of a[3] as the result of the following array declaration?
a)1 b)2 c)3 d)4 Ans :d
Which of the following are primitive types?
a)byte b)String c)integer d)Float Ans :a
SOFTWARE COMPANIES
RESUME PREPRATION
INTERVIEW TIPS
C QUESTIONS
chapter 1
chapter 2
chapter 3
chapter 4
chapter 5
chapter 6
chapter 7
chapter 8
chapter 9
chapter 10
View All
DATA STRUCTURE
TECHNICAL QUESTIONS
JAVA
First chapter
Second chapter
Third chapter
Fourth chapter
Fifth chapter
Sixth chapter
Seventh chapter
Eight chapter
ninth chapter
Tenth chapter
eleventh chapter
Twevelth chapter
View All
FILE EXTENSION