+91-85006-22255
What will be the output of the following program?
class BajajBike{ void BajajBike() // LINE M { System.out.println("This is Bajaj Bike."); } public static void main(String[] args) { new BajajBike(); } }
Topic: Create Objects Using Constructors In Java
Read this topic Take test on this topic
Open In App