What is module with example?
Answer / Navneet Kumar Yadav
For example, in Java 9 and later versions, a simple module might look like this: nnmodule myModule {n requires java.sql;n exports com.mypackage;n}nThis module named 'myModule' requires the 'java.sql' module and exports the package 'com.mypackage' to other modules.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is the logic inside any default constuctor?
Explain hashset and its features?
Name the types of mouse event listeners ?
What does nextint () do in java?
What is the use of isempty in java?
What are predicates in java 8?
How does system arraycopy work in java?
What are the types of collections in java?
Can you explain the usages of class.forname()?
Can interface be private in java?
How to split arraylist elements in java?
What is javac_g?