java programming IDE eclips
can anyone help me !
thank u
What will be the output of the following program. elass BikeTester public static void main(String (1) Bike bike = new Bike(): bike.company = "Hero Honda" bike.model = "Shine" bike.cc = 125, bike, vileage = 72.53 bike.diskBrakes = false; System.out.println(bike.company bike.model.gives lege of bike milenge "mpl."); ) class Bike Bike(String companyParan, String modelParan, int csParan) company companyaran model modelParam; CE Parang > String companys String models int ce double silence boolean diskBrakes Compilation error once the bike object is created using a corrector without parameters Compilation errorunce data ispred to member warbles mileage and does alter the distret Hero Honda's Shinees a mage of 72.impl. The Nullen occurs while secting the program What will be the output of the following program? class TestArithmeticutils public static void main(String[]) ( Arithmeticutils utils = new Arithmeticutils(); int x = utils.add(2, 3), // LINE M double y = utils.add(3.4, 6.6), // LINEN int rutils.add(x, y, 20); // LINE O System.out.println("1 = " 3); > > class Arithmeticutils int add(int i, int 3) // LINE A return 1. 3) > double add(double 1, double ) // LINE 3 return 1 + 3 3 double add(int i, double s, int k) return 1-3.kz 3 double add(nt I, double sint k, double 1) // LINE C return 1+ - k. 13 Compilation Error at LINE O. Compilation Error at LINEM Compilation Error at LINEC Consider the following UML diagramol a class. How many constructors in the class. > Student (default package) e idint e fName- String . IName. String Student(int) Student(int String, String) getid() int setid(int) void getfName() String setfName(String) void - getiName()-String setlName(String) void DisplayMessage()-String What will be the output of the following program? public class Rose [ public Rose(String name) { System.out.println("Passed Name is " + name) ) public static void main(String[] args) { Rose my Rose = new Rose(red"); myRose = new Rose("white"); 3 Passed Name is red Passed Name is white Passed Name is red Passed Name is white O Compilation Error or Runtime Error Output of following Java program? class Main public static void main(String args) { intx = 0; inty= 10: intz= y c } 3 o Compiler Error o Compiles and runs fine Compiles fine but throws ArithmeticException exception No