We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1eb4e7 commit 082cae5Copy full SHA for 082cae5
src/oops2/Vehicle.java
@@ -25,6 +25,7 @@ void start() {
25
// }
26
27
// valid constructor
28
+// by default access modifier of a constructor is package-private (also called default access)
29
// Vehicle() {
30
// System.out.println("This is constructor");
31
0 commit comments