What will be the output of the program
public class ObjComp
{
public static void main(String [] args )
{
int result = 0;
ObjComp oc = new ObjComp();
Object o = oc;
if (o == oc)
result = 1;
if (o != oc)
result = result + 10;
if (o.equals(oc) )
result = result + 100;
if (oc.equals(o) )
result = result + 1000;
System.out.println("result = " + result);
}
}
By converting 3 700 000 Watt into kilowatt, we get
The students ———————- to submit their reports by the end of this week
It ——————— since yesterday
The inmates of the juvenile home ———————– well by their caretakers
The robbers ————————- by the police
The teacher ——————— the student for lying
I ————————- for five hours
We must now deal with these problems
This house ———————- in 1970 by my grandfather
I ——————— to become a successful writer
She ————————- for a while
The injured ———————- to the hospital in an ambulance
In an examination, a candidate is required to answer 5 questions in all, from 2 section having 5 questions each. What are the total number of ways in which a candidate can select the questions, provided that at least two questions are to be attempted from each section