Practice mode / Java Which of the following are not the methods of the Thread class? A Option A: yield() B Option B: sleep(long msec) C Option C: go() D Option D: stop() Correct answer C. go() Show answer Report a problem How we write and check questions
Question 01 / Java What feature of OOP has a super-class sub-class concept? A Option A: Hierarchical inheritance B Option B: Single inheritance C Option C: Multiple inheritances D Option D: Multilevel inheritance Correct answer A. Hierarchical inheritance Show answer Open question
Question 02 / Java Modulus operator (%) can be applied to which of these? A Option A: Integers B Option B: Floating - point numbers C Option C: Both A and B D Option D: None of These Correct answer C. Both A and B Show answer Open question
Question 03 / Java Which statement transfer execution to different parts of your code based on the value of an expression? A Option A: If B Option B: Switch C Option C: Nested-if D Option D: if-else-if Correct answer B. Switch Show answer Open question
Question 04 / Java Which of these is returned by Greater Than, Less Than and Equal To (i.e Relational) operator? A Option A: Fload B Option B: Integer C Option C: Boolean D Option D: Double Correct answer C. Boolean Show answer Open question
Discussion