String IloveJava;
System.out.println ("I love Java");
IloveJava = input.nextLine;
String mark;
Double mark;
Int mark;
String name = "Jane";
Jane = name;
"Jane" = name;
String[] markList = new String[10];
Int[] markList = new int[10];
Int[10] = markList;
This loop outputs the numbers 1 to 10
This loop outputs the numbers 1 to 11
This loop outputs the numbers 2 to 10
For ( i = 0; i
For ( i = 0; i
For ( i = 1; i
Shape1.findArea();
Shape1.Shape.findArea;
Shape.findArea();
Length = input.nextInt();
Length = Scannerinput;
Input.nextInt.length;
Import static java.Math.*;
Import java.lang.Math.*;
Import static java.lang.Math.*;
The method sqrt in the Math class is called and so the square of x is output.
The method sqrt in the Math class is called and so the square root of x is output.
The method sqrt in the Math class is called and so the double of x is output.
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.