What is the output of the following pseudocode?
Integer pp,qq,rr
Set pp=8,qq=3,rr=14
qq=(pp+qq)+qq
qq=11^rr
qq=qq+rr
qq=(rr^6)&rr
qq=(rr^6)&rr
Print pp+qq+rr
Integer pp,qq,rr
Set pp=8,qq=3,rr=14
qq=(pp+qq)+qq
qq=11^rr
qq=qq+rr
qq=(rr^6)&rr
qq=(rr^6)&rr
Print pp+qq+rr
public class Program
{
public static void main(String[] args) {
class Inner{
public String name;//Line 4
public Inner(String s){
name=s;//Line 7
}
}
Object o=new Inner("Hello");//Line 10
Inner inner=(Inner)o;
System.out.println(inner.name);
}
}
What will be the output of the given code?
{
public static void main(String[] args) {
class Inner{
public String name;//Line 4
public Inner(String s){
name=s;//Line 7
}
}
Object o=new Inner("Hello");//Line 10
Inner inner=(Inner)o;
System.out.println(inner.name);
}
}
What will be the output of the given code?
Which component is responsible for to optimize bytecode to machine code?
Anonymous Quiz
56%
JVM
14%
JDK
8%
JRE
8%
JIT
11%
All of the above
2%
None of the above
Which one among the following is not true about java?
Anonymous Quiz
9%
Platform independent
8%
Object oriented language
8%
It is robust and secure
75%
None of the above
Which one among the following statement is not true about OOP?
Anonymous Quiz
12%
It is easier to maintain
17%
It provides better organization for code reuse and library Functionality
38%
Objects are software bundles of data and related procedures
33%
None of the above
Which is the method used in the below given code to display a text on the console?
Anonymous Quiz
14%
String[]
64%
println()
6%
void main()
15%
All of the above
What does void returns in the code?
Anonymous Quiz
75%
It does not return anything
9%
It returns integer
2%
It returns boolean
14%
All of the above
How do all Variables pass in java?
Anonymous Quiz
50%
By values
21%
By strings
13%
By array
16%
None of the above
String variable contains a collection of characters surrounded by ..........?
Anonymous Quiz
65%
" "
9%
( )
15%
{ }
11%
[ ]
In which case would you use a FULL OUTER JOIN?
Anonymous Quiz
22%
You want all matched data from both tables
17%
Both table have NULL values
5%
You want all unmatched data from one table
27%
You want all matched and unmatched data from only one table
9%
One of the tables has more data than the other
20%
You want all unmatched data from both table
public class MyExample
{
public static int a=10;
public int b=22;
public in C=33;
}
Identify the class variable(s) in the given code snippet.
{
public static int a=10;
public int b=22;
public in C=33;
}
Identify the class variable(s) in the given code snippet.
Which is a valid statement in java?
Anonymous Quiz
52%
int i [ ] = new int[1];
13%
int i = new int;
20%
int i = new int();
15%
int i [ ] = new int();