What is the difference between a public and a non-public
class?
Answer Posted / ravikiran(aptech mumbai)
public class is the one whose memebers can get an access to
all the classes in the same package and out of the package
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
From the two, which would be easier to write: synchronization code for ten threads or two threads?
How to perform quicksort in java?
What about anonymous inner classes in java?
Can we sort set in java?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
How to use Media tracker Class.
Why is stringbuffer faster than string?
What are operators and its types?
Is a method a procedure?
What is bean? Where it can be used?
How do you allocate memory to object?
what is the difference between yielding and sleeping? : Java thread
When can an object reference be cast to an interface reference in java programming?
What is the purpose of final keyword and when to use it?
Can you pass functions in java?