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β};
What type is (x+y)?
double x = 39.21;
float y = 2.1;
double x = 39.21;
float y = 2.1;
Anonymous Quiz
7%
int
25%
float
49%
double
19%
not compile
π€2π1
Code snippet
import java.util.ArrayList;
import java.util.List;
public class JavaSETest {
public static void main(String[] args) {
List<Integer> elements = new ArrayList<>();
elements.add(10);
int firstElmnt = elements.get(1);
System.out.println(firstElmnt);
} }
What is the result of the code snippet above?
Anonymous Quiz
26%
null
31%
10
20%
0
22%
An IndexOutOfBoundsException is thrown at runtime
Bytecode is in a file with which extension?
Anonymous Quiz
25%
.bytecode
20%
.bytes
20%
.class
8%
.exe
17%
.javac
11%
.java
π₯2
OOPS IN JAVA .pdf
3.9 MB
Oops in Java β
QUICK Capsule β
QUICK Capsule β
Java Tokens.pdf
2.9 MB
Java ( Tokens ) β
Java Complete Notes π.pdf
3.9 MB
Java Complete Notes β
Java Methods.pdf
1.3 MB
Java (Methods) β
Java Notes .pdf
4.9 MB
Java Core Notes β
Javascript Handwritten Notes .pdf
5 MB
Javascript Handwritten β
Notes
Notes
Java Cheatsheet.pdf
922.4 KB
Java Cheatsheet β
Basic Java Interview Questions.pdf
2.4 MB
Basic Java Interview Questions π₯
β€2π1