Computer Applications
Write the Java statement for creating an object named 'sifra' of the class 'Robot', which takes three double parameters.
Related Questions
Write the Java expression to find the product of square root of P and the square root of Q using the methods of Math class.
Write the output of the following String method:
String x = "talent"; String y = "matrix"; System.out.println(x.substring(3).concat(y.substring(3)));Convert the given loop into exit-controlled loop.
int a, b; for(a = 10, b = 1; a >= 1; a -= 2){ b += a; b++; } System.out.print(b);Consider and give the output of the following program:
class report{ int a, b; report(){ a = 10; b = 15; } report(int x, int y){ a = x; b = y; } void print(){ System.out.println(a * b); } static void main(){ report r = new report(); r.print(); report p = new report(4, 5); p.print(); } }