Explore Connect Documentation
Snippets
1
2
3
4
5
6
7
8
class Point {
  private double x = 0; // initialization during field definition
  private double y;
  {
    y = 2;  // initialization block 
  }
}
Press desired key combination and then press ENTER.