BPSC TRE – Java Programming & OOP Concepts | Test 1

Questions 46-50 of 50

0% completed (0/50 answered)
Your score 0/50 0 answered
Correct 0 Incorrect 0 Unanswered 50 Accuracy 0%

Question 46

MCQ · Single Correct 1 mark

Which statement about Java constructors is accurate?

Answers for question 46

Question 47

MCQ · Single Correct 1 mark

What is the function of the System.gc() method in Java?

Answers for question 47

Question 48

MCQ · Single Correct 1 mark

What is the key difference between String, StringBuilder, and StringBuffer in terms of performance and thread safety?

Answers for question 48

Question 49

MCQ · Single Correct 1 mark

Which wrapper class method in Java converts a String representation of a number into a primitive int value?

Answers for question 49

Question 50

MCQ · Single Correct 1 mark

In Java 8, what syntax operator is used to write concise $\Lambda Expressions$?

Answers for question 50
Scroll to Top