What are java packages?
Answer / Manoj Kumar Gupta
"In Java, a package is a namespace that contains related classes and interfaces. It helps to avoid naming conflicts between identifiers in different applications or libraries. To create a custom package, you can organize your source code files into subdirectories with the same name as the package. The package declaration at the top of the source file specifies the package name."
| Is This Answer Correct ? | 0 Yes | 0 No |
Can we change the scope of the overridden method in the subclass?
What does yield method of the thread class do?
Is array primitive data type in java?
What happens when a main method is declared as private?
22 Answers DELL, Infosys, L&T, Sun Microsystems,
class A { private int i; } class B extends A { private int i; } if I create an object of B class what will be the memory of that object.
difference between arraylist and linkedlist otherthan performance
Explain methods specific to list interface?
Can we override the static method?
How the threads are synchronized?
Why heap memory is called heap?
How do you add an element to an arraylist in java?
Why is it called buffering?