2(iii)
Write the Java statement for creating an object named 'sifra' of the class 'Robot', which takes three double parameters.
Show SolutionHide Solution↓
Robot sifra = new Robot(2.5, 3.5, 4.5);
ICSE Class 10 Computer Applications PYQ · 2025 Paper · Section A
Write the Java statement for creating an object named 'sifra' of the class 'Robot', which takes three double parameters.
Robot sifra = new Robot(2.5, 3.5, 4.5);