Can we restart a dead thread in java?
Java object oriented programming concepts is/are
Which type of variables cannot be accessed directly in static member functions?
Which of the following data types does not support overloaded methods for +, -, *, and /?
What does URL stand for?
public class abekus
{
public static void main(String[] args) {
float a = 10.0000f;
String temp = Double.toString(a);
System.out.println(temp);
}
}
Predict the output of the following Java code.
public class Abekus {
public static void main(String args[])
{
System.out.println("Hello, World !");
}
}
What will be the output of the following Java code?
class Output
{
public static void main(String args[])
{
double x = 3.14;
int y = (int) Math.ceil(x);
System.out.print(y);
}
}
Statement 1- An Error is a subclass of Throwable
Statement 2- An Error is a subclass of Exception
Statement 3- An Error is a subclass of IOException
class GFG {
public static void main (String[] args) {
byte x = (byte)64;
int i;
byte y;
i = ~x<<3;
y = (byte) (x >>2);
System.out.print(~i + " " +y);
}
}