bhargavi


{ City } vizag
< Country > india
* Profession * student
User No # 63165
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 2
Users Marked my Answers as Wrong # 2
Questions / { bhargavi }
Questions Answers Category Views Company eMail




Answers / { bhargavi }

Question { TCS, 9977 }

can we write program without class


Answer

no.becoz java is pure object oriented language.so all the
member functions and datamembers must be write inside the
class.here we can also say that class is an example for
encapsulation.encapsulation is binding data and member
functions in a single unit.

Is This Answer Correct ?    2 Yes 2 No