Answer Posted / bhargavi rani
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 |
Post New Answer View All Answers
What is static class
What is difference between length and length() method in java ?
When parseint method can be used?
What is finally and finalize in java?
Is ruby built on java?
What is java reflection api?
What is java beans?
Why string is not a wrapper class?
Which is better ascii or unicode?
How is treeset implemented in java?
Can abstract class have private constructor?
Explain about static imports in java?
What are scalar data types?
What is classpath?
What is io stream in java?