When an array is passed to a method, what does the method receive?
Anonymous Quiz
59%
The reference of the array
17%
Copy of array
20%
Length of the array
4%
Copy of first element
π3
What is the size of float and double in Java?
Anonymous Quiz
79%
32 & 64
8%
32 & 32
8%
64 & 64
5%
64 & 32
Automatic type conversion is possible in which of the possible cases?
Anonymous Quiz
18%
Byte to int
62%
int to long
12%
Long to int
8%
Short to int
π₯°1
Find the output of the following code.
int Integer = 24;
char String = βIβ; System.out.print(Integer); System.out.print(String);
int Integer = 24;
char String = βIβ; System.out.print(Integer); System.out.print(String);
Anonymous Quiz
20%
Compile error
11%
Throw exception
3%
I
66%
24 I
β€1
Select the valid statement.
Anonymous Quiz
14%
char[] ch = new char(5)
67%
char[] ch = new char[5]
11%
char[] ch = new char()
8%
char[] ch = new char[ ]
What is the size of float and double in Java?
Anonymous Quiz
76%
32 & 64
13%
32 & 32
9%
64 & 64
2%
64 & 32
π1
Automatic type conversion is possible in which of the possible cases?
Anonymous Quiz
28%
Byte to int
49%
int to long
16%
Long to int
7%
Short to int
Find the output of the following code.
int Integer = 24;
char String = βIβ; System.out.print(Integer); System.out.print(String);
int Integer = 24;
char String = βIβ; System.out.print(Integer); System.out.print(String);
Anonymous Quiz
22%
Compile error
12%
Throw exception
4%
I
62%
24 I
Select the valid statement.
Anonymous Quiz
17%
char[] ch = new char(5)
63%
char[] ch = new char[5]
14%
char[] ch = new char()
7%
char[] ch = new char[ ]
When an array is passed to a method, what does the method receive?
Anonymous Quiz
61%
The reference of the array
19%
Copy of array
16%
Length of the array
4%
Copy of first element
Select the valid statement to declare and initialize an array.
Anonymous Quiz
21%
int[] A = {}
66%
int[] A = {1, 2, 3}
10%
int[] A = (1, 2, 3)
3%
int[][] A = {1, 2, 3}
Arrays in java are-
Anonymous Quiz
24%
Object references
24%
objects
46%
Primitive data type
6%
None
When is the object created with new keyword?
Anonymous Quiz
38%
At run time
36%
At compile time
21%
Depends on the code
6%
None
Identify the correct definition of a package.
Anonymous Quiz
13%
A package is a collection of editing tools
30%
A package is a collection of classes
51%
A package is a collection of classes and interfaces
6%
A package is a collection of interfaces
Do you love Crypto currency, Scam alert, online earning, crypto listing and more in one channel π join now π
https://t.me/crypto_mlmcommunity
https://whatsapp.com/channel/0029VaByk4VF1YlQDxhpxo0W
For Google drive & mega links π
https://t.me/use_fullinks
https://t.me/crypto_mlmcommunity
https://whatsapp.com/channel/0029VaByk4VF1YlQDxhpxo0W
For Google drive & mega links π
https://t.me/use_fullinks
π1
Forwarded from DEVELOPER CHEET SHEET (πα΄α΄
α΄Ι΄ πα΄ΚΙͺΙ΄α΄
α΄)
Join Coder's our Chat folder π here is everything you want share with friends π
If U want to be admin MSG @Myhurthearts
https://t.me/addlist/433LZdSKQSg3YWFl
If U want to be admin MSG @Myhurthearts
https://t.me/addlist/433LZdSKQSg3YWFl
Telegram
C0DERS_Z0NE
πα΄α΄
α΄Ι΄ πα΄ΚΙͺΙ΄α΄
α΄ invites you to add the folder βC0DERS_Z0NEβ, which includes 45 chats.
Forwarded from πα΄α΄
α΄Ι΄ πα΄ΚΙͺΙ΄α΄
α΄
Admin vacancy in our channel & group π
π°Join & learn & earn π°
π https://t.me/addlist/e7aVgjvILjoyMzNl
π https://t.me/addlist/e7aVgjvILjoyMzNl
π°Join & learn & earn π°
π https://t.me/addlist/e7aVgjvILjoyMzNl
If you want to be admin in any channel then msg @Myhurthearts
We can share revenue with you in our monetize channel approx $ 0.05 daily depends on revenue π
Responsibility of admin
1 ) share channel based content,post, anything
2) Also you can promote your channel free
3) and more benifits you can get like premium course, promotion..
π https://t.me/addlist/e7aVgjvILjoyMzNl
π1
Which of the below is valid way to instantiate an array in java?
Anonymous Quiz
56%
int myArray [] = {1, 3, 5};
14%
int myArray [] [] = {1,2,3,4};
18%
int [] myArray = (5, 4, 3);
13%
int [] myArray = {β1β, β2β, β3β};