Java Error: The constructor is undefined

前端 未结 9 1239
庸人自扰
庸人自扰 2020-11-29 13:31

In Java, Why am I getting this error:

Error: The constructor WeightIn() is undefined

Java Code:

public class WeightIn{
  pr         


        
9条回答
  •  萌比男神i
    2020-11-29 14:00

    Error: The constructor is undefined Possible Reasons:

    1. You might have given parameters which do not match to any constructor available

    2.You might have given parameters with wrong data type.

提交回复
热议问题