JAVA PROGRAMMING
4.93K subscribers
233 photos
186 files
91 links
Hello! I am @imabhi3030 and welcome to the Coding channel! Here we can learn all things related to coding and improve our skills. I am always present to help you. If you need any kind of assistance, just let me know! 😊
Download Telegram
Find the output of the following code.
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
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);
Anonymous Quiz
22%
Compile error
12%
Throw exception
4%
I
62%
24 I
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}
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
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
πŸ‘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
Only for 18+ women's Infosys 3 months free program

Click here to register - click here
Forwarded from πα΄€α΄…α΄€Ι΄ 𝐏ᴀʀΙͺɴᴅᴇ
πŸ‘1
Java in one notes.pdf
7.9 MB
Java in one notes.pdf
❀2
What type is (x+y)?
double x = 39.21;
float y = 2.1;
Anonymous Quiz
7%
int
25%
float
49%
double
19%
not compile
πŸ€”2πŸ‘1
Which of the below is reserved keyword in Java?
Anonymous Quiz
27%
array
30%
goto
26%
null
17%
true
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