Q: What is the use of Access modifier "pubic" in Java language?
Solution: no solution
Q: Choose a Single Line Comment in Java Language below?
Solution: no solution
Q: Choose a multiline comment in Java language below?
Solution: no solution
Q: String args[] in main method are used for? public static void main(String args[]) { // }
Solution: C:/>java Hello AFRICA GOLDMINE Hello - Class name AFICA - First argument GOLDMINE - Second argument
Q: What is the default return type of a method in Java language?
Solution: You have to explicitly mention a return type.
Q: Name of a Class, Variable, Method or an Interface in Java language is called?
Solution: no solution
Q: A valid identifier in Java language may contain which characters?
Solution: no solution
Q: A valid Identifier or name in Java language can start with which character?
Solution: Up to JDK 8, only a single underscore symbol can be used as an identifier of a class, method or a variable. JDK 9 does not allow.
Q: What are the valid White Spaces available in Java language?
Solution: no solution
Q: Choose a correct version of Java Documentation Comment?
Solution: Documentation comment allows writing notes about the program. javadoc commmand on the source java file generates a HTML Java documentation with the embedded comments.
You Have Score    | /10 |