Safcode Institute by Sir Safder
+923132835245
safcodeinstitute@gmail.com
Online Quiz
10000+ Questions!
Students Works
Ideas & Topics!
Live Coding
HTML & CSS
Home
(current)
About
Courses
CIT
Web Designing
Graphic Designing
Web Development
Digital Marketing
WordPress Development
Amazon Virtual Assistant
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Softwares
Contact
Test Your Programming Skills with Safcode!
Here is all important interview / exams questions.
Student doing practice apptitude test on safcode platform.
Instruction: "Total Number of Questions: 20
Each question carry 10 mark , no negative marking"
Quiz Start
1. Identify the number of times the @Repeatable annotation type can be executed on the same source code element by default.
Multiple
Zero
One
Twice
View Answer
2. In Java 8, which of the following classes is used in place of TimeZone.getDefault() method?
Instant
Clock
System
Duration
View Answer
3. What is the full form of JVM ?
Java Virtual Machine
None of them
ava Very Large Machine
Java Verified Machine
View Answer
4. Which of the following area in the memory stores object references, method parameters, and its local variables?
Accumulator
stack
heap
Register
View Answer
5. A lambda expression facilitates __________
Structured programming
Functional programming
Logical programming
Backward reasoning
View Answer
6. Which of the following statement is true regarding a constructor in a class.
All of them
A constructor returns void
A constructer can be overloaded
A constructor has an associated destructor
View Answer
7. What are default methods also known as? a. Virtual extension methods b. Defender methods c. Extension methods
Only A
Only B
B and C
A and B
View Answer
8. Which of the following annotations is used as custom annotation at runtime?
reference
interface
@Retention
@Documented
View Answer
9. Which of the following are not Java keywords?
switch
double
then
class
View Answer
10. Which of the following keywords are used to explicitly raise an exception from a method?
try and finally
try-catch
none of these
throw and throws
View Answer