0

why we use classes in Java?

31st Jul 2016, 1:00 PM
Surendar N
Surendar N - avatar
3 odpowiedzi
+ 4
class meant for encapsulation & abstraction in Java. That means your code is capsulated into a single unit called class. class helps programmer to permit the access of his/her code written in the class I.e abstraction.
31st Jul 2016, 7:18 PM
sud
sud - avatar
0
Read about Object Oriented Programming and it will help make more sense. Java, C#, and most OOP language use classes to represent objects.
31st Jul 2016, 6:03 PM
jax502
- 2
because of oop
31st Jul 2016, 4:13 PM
Hong Wei
Hong Wei - avatar