We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad8dbc7 commit 667e9bdCopy full SHA for 667e9bd
_config.yml
@@ -75,7 +75,7 @@ picture:
75
76
# BUILD SETTINGS
77
markdown: kramdown
78
-highlighter: pygments
+highlighter: rouge
79
sass:
80
sass_dir: _sass
81
style: :compressed
_posts/2016-05-19-instantiation.md
@@ -0,0 +1,17 @@
1
+---
2
+layout: post
3
+title: Instantiation
4
+published: false
5
6
+
7
+class Init {
8
+ Init(int x) { System.out.println("1-arg const"); }
9
+ Init() { System.out.println("no-arg const"); }
10
+ static { System.out.println("1st static init"); }
11
+ { System.out.println("1st instance init"); }
12
+ { System.out.println("2nd instance init"); }
13
+ static { System.out.println("2nd static init"); }
14
+ public static void main(String [] args) {
15
+ new Init();
16
+ new Init(7);
17
+} }
0 commit comments