' -- ' operator used to decrement the result by________
Break halts the execution and forces the control out of the loop
Standard output variable ‘out’ is defined in which class?
Which of these method converts radians to degrees?
Which of these is specified by a File object?
____ also called monitor is used to prevent access to a shared resource by multiple threads.
Which of the following keywords is used to access the value of instance variable of that class inside that class itself
class GFG {
public static void main (String[] args) {
double d = 150.456
byte b=(byte)d;
short s=(short)d;
System.out.println(b+" "+s);
}
}
What will be the output of the following Java code?
class infinite
{
public static void main(String args[])
{
Double d = new Double(1 / 0.);
boolean x = d.isInfinite();
System.out.print(x);
}
}