Javaの記事だがわかりやすい
https://wa3.i-3-i.info/word17674.html
— posted by midilin @ 07:53PM
| Comment (0)
ID:1681469632
ID:1681380780
— posted by midilin @ 07:13PM
| Comment (0)
ID:1681379671
public class TestObject { // The no argument constructor public TestObject() { // more code here } }
public class TestObject2 { private static final Integer DEFAULT_SIZE = 10; Integer size; //Constructor with no arguments public TestObject2() { this(DEFAULT_SIZE); // Using this(...) calls the one argument constructor } // Constructor with one argument public TestObject2(Integer ObjectSize) { size = ObjectSize; } }
— posted by midilin @ 06:54PM
| Comment (0)
ID:1681379094
— posted by midilin @ 06:44PM
| Comment (0)
ID:1681378751
— posted by midilin @ 06:39PM
| Comment (0)
ID:1681377983
— posted by midilin @ 06:26PM
| Comment (0)
ID:1679990259
— posted by midilin @ 04:57PM
| Comment (0)
ID:1679988794
— posted by midilin @ 04:33PM
| Comment (0)
ID:1679478910
— posted by midilin @ 06:55PM
| Comment (0)
ID:1678757352
— posted by midilin @ 10:29AM
| Comment (0)
最近のコメント