Just noticed when I was creating model I'm able to create a private constructor... Probably java or eclipse bug just need to confirm. I know it's kinda impossible, but try yourself.
Create an any model ie.
//case1
public class Main {
private Main(){}
public Main(Double...doubles ){}
}
Normally you couldn't create an object Main m = new Main(); but when u create an model like that :
//case2
public class Main {
private Main(){}
public Main(Double [] doubles ){}
}
You are unable to create and object Main m = new Main();.
Is it how its suppose to be? Will be grateful for any explanation.
Java :build 1.8.0_131-b11
Eclipse : Version: Neon.3 Release (4.6.3)