+ 1
Please i need someone to explain encapsulation, interface and abstraction for me in java programming
No description
3 Respostas
+ 4
You could also search on Google and find good answers there.
0
encapsulation is if member variable in class is private and outside class you can use only class methods to access this variable, eg getX() setX()
interface describes members - variables and methods which must be in new class that will implements this interface. but interface define only name, parameters and type - not body of mehods.
abstract class is like interface but can defines concrete body of some methods.
0
If you are going to be focusing on Java, Consider joining: https://codegym.cc/groups/java-developer