i would like to aske you what is wrong with this code? thanks for answers
package pl.codegym.task.task14.task1409;
/*
Mosty
*/
public class Solution {
public static void main(String[] args) {
println(new WaterBridge());
println(new SuspensionBridge());
}
public static int println(Bridge bridge){
int a;
return a = bridge.getCarsCount();
}
// Tutaj dodaj metodę println
}