Discussion
Which of the given options best describes the truthfulness of the following statements?
i) When a Java program is compiled, it generates Byte code.
ii) SOAP and RESTFUL are java web services.
iii) PATH Environment variable identifies the location of Java compiler.
iv) The || logical operator returns true if both statements are true.
Answer: A
Statements i, ii and iii are true and iv is false. Compiling a Java program produces byte code, SOAP and RESTful are accepted in the key as Java web services, and the PATH environment variable gives the location of the Java compiler so that it can be run from any directory. The || operator is the logical OR, which returns true when at least one of the operands is true, and it is && that needs both to be true. So the fourth statement is false.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development