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
Which containers use a flowlayout as their default layout in java programming?
What are the 7 types of characters?
Explain the concept of proper inheritance?
What is an example of declaration?
we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.
java Technical questions asked by JPMC
What is the static keyword?
Explain what is encapsulation?
What is the technique adopted to create an immutable class?
Can you instantiate the math class?
What is a null check?
Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me
What are exceptions
Which is faster set or list in java?
Why is logger singleton?