+ 10
Quiz factory - DECLINED
Write only challenges that were not accepted by SL and the reason. thank you
11 Réponses
+ 10
JAVA
//Too many similar questions already exist
Wich statements are true about Arrays?
Length of the Array is provide by a method
Array is static in size X
Arrays are faster than ArrayList X
Array can contains primitive data types X
+ 9
JAVA
//Too many similar questions already exist
What's the output of this code?
public class Program{
public static void main(String[] args){
double y = 2.000;
double x = 3.000;
String s = "";
s+=x+y;
++y;
System.out.printf("%s", s);
}
}
answer: 5.0
+ 8
JAVA
//Too many similar questions already exist
What's the output of this code?
public class Program{
public static void main(String[] args){
double y = 2.000;
double x = 3.000;
double s = x+y;
y++;
System.out.printf("%s", s);
}
}
answer: 5,000000
+ 6
I do not know why good questions are easily get declined. That is why I do not try to create quizzes in Quiz Factory.
+ 5
C++
//Too many similar questions already exist
What is the output of this code?
int res=0;
for(int flag=0;flag<5;flag++){
if((flag>2)&&(res>2))
res+=7;
}
cout<<res;
Answer: 0
+ 4
JAVA
//Too many similar questions already exist
What is the output of this code?
public class Number {
public static main(String [] args) {
float num1 = 100;
float num2 = 0;
System.out.print(num1/num2);
}
}
answer: infinity
+ 4
JAVA
//Too many similar questions already exist
public class Names{
public static void main(String[] args){
String[] names = {"Malkon", "Larissa"};
modify(names[0]);
System.out.printf("%s %n", names[0]);
}
public static void modify(String names){
names+="Faria";
}
}
answer: Malkon
+ 3
JAVA
//Too many similar questions already exist
What is the output of this code?
public class FormatNumber {
public static void main(String[] args) {
double num1 = 0.0;
double num2 = 0.0;
System.out.print(num1/num2);
}
}
answer: nan
+ 3
JAVA
//Too many similar questions already exist
What is the output of this code?
public class Calculate{
public static void main(String[] args){
double num1 = 0.0;
double num2 = 0.0;
double resul = num1 / num2;
System.out.print(Double.isNaN(resul));
}
}
answer: true
+ 3
JAVA
//Too many similar questions already exist
Wich statements are false about ArrayList?
ArrayList is always single dimensional
ArrayList is dynamic in size
To add elements into the ArrayList we use assingnment operator X
ArrayList can contain primitive data types X
0
What is the output of this code?
<!DOCTYPE html>
<html>
<body>
<bdo dir=rtl>Go.js</bdo>
</body>
</html>
answer is sj.og
could someone explain the meaning of the answer in a way that I can understand better?
<!--Thanks for your submission, but it seems the answer can’t be applied to a Type In quiz. Please modify and submit again.-->