java mcq

MCQ on Java keywords

Q) Final keyword in java is used with class class fields class methods All of the above Answer: 4Don’t want somewhere in the program to change class fields, then make it final.don’t want to allow a class to be inherited, then make the class finalwant to allow another class to inherit method of a class […]

MCQ- Java thread

MCQ- Java multithreading multiple choice questions with answers and explanation. 50% of the MCQ on multithreading in java are asked in interviews. But, additional objective questions have been added to cover java thread concept. Q) In java multi-threading, a thread can be created by Extending Thread class Implementing Runnable interface Using both None Answer: 3In java […]

Scroll to top