java mcq

MCQ on Java keywords

Q) Final keyword in java is used with 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 but don’t allow them to override it then make […]

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 Answer: 3In java multi-threaded program, a thread can be created using both […]

Scroll to top