Which .NET class contains only floating-point functions?
What will be the output of the following Java program?
who is responsible to perform method resolution?
A legal declaration of Abstract
class GFG {
public static void main (String[] args) {
String str=new String(100);
System.out.print(Integer.parseInt(str,6));
}
}
What will be the output of the following Java code?
class Output
{
public static void main(String args[])
{
Double i = new Double(257.578123456789);
float x = i.floatValue();
System.out.print(x);
}
}
//Predict the output
import java.util.Scanner;
public class MyClass
{
public static void main(String args[])
{
StringBuffer str = new StringBuffer("creater");
str.appendCodePoint(67);
System.out.println(" " + str);
}
}
Predict the output of the following Java code:
class Abekus {
public static void main(String args[])
{
String str = "Java Programming";
String str1 = str.replace('g', '$');
System.out.println(str1.replace('a', '5'));
}
}
What will be the output of the following Java code?
class calculate
{
public static void main (String[] args)
{
int a=4;
System.out.print(a * 5); //1
System.out.print(" " + --a * 5); //2
System.out.print(" " + a-- * 5); //3
System.out.print(" " + a * 5); //4
}
}