i have these few qestions about java programming, please help, Thank you so much
ID: 3835380 • Letter: I
Question
i have these few qestions about java programming, please help, Thank you so much!
1) classes can be created from other classes by using..........?
a)encapsulation, b)polymorphism c)inheritance d)attributes e)machine code
2)a special method that is invoked to set up an object during instantiation is called a..............?
a)new method b)dot operator c)creator d)constructor e)destructor
3)which of the following object-oriented principles refers to the fact that an object should have its data guarded inappropriate access?
a)encapsulation b)inheritance c)polymorphism d)instance variables e)methods
Explanation / Answer
1Q)classes can be created from other classes by using c.inheritance
2Q)a special method that is invoked to set up an object during instantiation is called a d.constructor
3Q)which of the following object-oriented principles refers to the fact that an object should have its data guarded inappropriate access? a.encapsulation
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.