Question: in java true or false? 1- variables declared without any access modifier are by default private variables. 2- Objects of abstract superclasses cab be instantiated.

in java
true or false?
1- variables declared without any access modifier are by default private variables.
2- Objects of abstract superclasses cab be instantiated.
3- Restricting access to class members via keyword private is called information hiding.
4- Constructors can take arguments, but cannot return values.
5-The method with the same name as the class and no return type is the constructor of that class.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!