Синтаксис Java для создания объектов
ClassName objectName = new ClassName();
Muhammad Farooq Afzal
ClassName objectName = new ClassName();
className object = new className();
// for Bicycle class
Bicycle sportsBicycle = new Bicycle();
Bicycle touringBicycle = new Bicycle();