Syntax of function in java
Answers
Answered by
1
access specifier static or non-static return type method name (arguments) {
// body of the function
}
Example:
public static void main( String[] args) {
}
// body of the function
}
Example:
public static void main( String[] args) {
}
Similar questions
English,
8 months ago
Computer Science,
8 months ago
Chemistry,
1 year ago
Biology,
1 year ago
English,
1 year ago