- (A) Declare the method with the keyword public.
- (B) Declare the method with the keyword private.
- (C) Do not declare the method with any accessibility modifiers.
- (D) Declare the method with the keyword public and privat
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) java dissasamebler
- (B) java header file
- (C) java interpreter
- (D) java compiler
- (A) paint() method
- (B) main() method
- (C) run() method
- (D) drawString() method
- (A) java
- (B) javac
- (C) javap
- (D) none of these
- (A) 8 bit
- (B) 16 bit
- (C) 32 bit
- (D) 64 bit
- (A) stop() method
- (B) start() method
- (C) init() method
- (D) destroy() method
- (A) 7 8
- (B) 8 7
- (C) 9 8
- (D) None
- (A) 6
- (B) 2
- (C) 5
- (D) 3
- (A) just in time
- (B) java in time
- (C) join in time
- (D) none of above
- (A) Type-1 driver
- (B) Type-2 driver
- (C) Type-3 driver
- (D) Type-4 driver

