Answer Posted / venkat
declare variables as Private and methods which accesses
variables as public.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is r in java?
Explain methods specific to list interface?
Define a package.
What is treeset in java?
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
What are methods and how are they defined?
What the difference is between execute, execute Query, execute Update?
Can the interface be final?
What are the differences between this and super keyword?
What is the difference between abstract classes and interfaces?
Why 1 is not a prime number?
What are three types of loops in java?
What happens if I remove static from main method?
What is the difference between a local variable and an instance variable?
How does predicate work in java?