When talking about public,private, and protected in C++, two words must pop up in your head:accessibility and visibility. Unfortunately, the two academic words are just created to confuse learners as […]

Let’s compile a simple java program in current directory(javac Test.java): //Test.java class Test { String a=”hello”; public static void main(String[]args) { Test b=new Test(); b.a=”world”; System.out.println(b.a); App app=new App(); app.fun(); […]

Button is an inline element. It can not be centered using the “margin:auto;” that is for block element. Even if you set “display:inline-block” for it, the “margin:auto;” still has no […]