Java Basic Mcq Questions and Answers
33. |
Major objective of object oriented approach is to |
|
- A. Eliminate the flaws encountered in the procedural approach
- B. Treat data as a critical element in the program
- C. Tie data more closely to the functions that operate on it
- D. All of these
|
34. |
Java’s coordinate system has the origin (0,0) in the |
|
- A. Lower left corner
- B. Lower right corner
- C. Upper right corner
- D. Upper left corner
|
35. |
The bitwise AND operator is represented by a single ampersand (&) and is surrounded on both sides by |
|
- A. Integer expression
- B. Colons
- C. Semicolons
- D. Commas
|
36. |
The most common problem of writing a java program is |
|
- A. Missing of double quotes in strings
- B. Missing of brackers and methods
- C. Missing of double quotes in strings
- D. All of these
|