- (A) 5
- (B) 6
- (C) 7
- (D) 8
Exam preparation MCQs with answers
Practice Pakistan's most useful MCQs for competitive exams
Prepare for NTS, PPSC, FPSC and subject-wise tests with fresh multiple choice questions, clear options and quick answer reveal.
Latest MCQs
- (A) JVM
- (B) virtual machine
- (C) applet engine
- (D) None of above
- (A) 127
- (B) -127
- (C) 129
- (D) -129
- (A) 32 and 64
- (B) 64 and 64
- (C) 32 and 32
- (D) 64 and 32
- (A) Two type are compatible and size of destination type is equal of source type.
- (B) Two type are compatible and size of destination type is larger than source type.
- (C) Two type are compatible and size of destination type is shorter than source type.
- (D) All of the above
- (A) Multiple inheritance
- (B) Multilevel inheritance
- (C) Hierarchical inheritance
- (D) None of above
- (A) Method
- (B) Keyword
- (C) Keyword and Method
- (D) None of above
- (A) arrayName[] p = new arrayName[5];
- (B) arrayName p[][] = new arrayName[2][];
- (C) arrayName[] p [];
- (D) arrayName p[5];
- (A) Prints true
- (B) Prints false
- (C) Will not compile as boolean is not initialized
- (D) Will not compile as boolean can never be static
- (A) token
- (B) string
- (C) literal
- (D) operator

