B. State True or False for the following
I. In Java, A program starts with the main () method of a class?
II. The System.out.println() method is used to receive data from keyboard in a console
program
III. A comment in Java language multi-line comment starts with /* and ends with */.
IV. The Java Program is enclosed in a class definition
V. The Java source code can be created in a Notepad editor.
Answers
Answered by
0
Answer:
1. true
2.false
3.true
4.true
5.true.
Answered by
0
State True or False
Explanation:
- True ,the main() is the starting point for JVM to start the execution of a Java program. Without the main() method, JVM will not execute the program.
- False , Java System.out.println() is used in printing an argument that are passed . The statement can be subdivided into three parts which can be understood separately.
- True , Multi-line comments start with /* and ends with */ . Any text between them ( /* and */) will be ignored by Java.
- True ,2 parts in executing a Java program are: Java Compiler and Java and interpreter.
- True ,We can develop Notepad in java with the help of AWT/Swing with event handling.
Similar questions