Code snippets, technical articles, tips on computing and programming...
public class Foo { private int x; public Foo() { this(1);//calling constructor -->> public Foo(int x) } public Foo(int x) { this.x = x; } }
Your Comment and Question will help to make this blog better...
No comments :
Post a Comment
Your Comment and Question will help to make this blog better...