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
App Development
Amazon Virtual Assistant
YouTube Earning
WordPress Development
Tutorials
Feedback
Programming Notes
Verification
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. A lambda expression facilitates __________
Functional programming
Structured programming
Backward reasoning
Logical programming
View Answer
2. What is the full form of JVM ?
Java Verified Machine
None of them
Java Virtual Machine
ava Very Large Machine
View Answer
3. Who is known as father of Java Programming Language?
Blaise Pascal
Rasmus Lerdof
Charles Babbage
James Gosling
View Answer
4. Which of the following functions on any Zoneld ensures that a fixed offset ID will be formed as a ZoneOffset?
now()
getVal()
of()
normalized()
View Answer
5. In Java code, the line that begins with /* and ends with */ is known as?
Both A & B
Single line comment
Multiline comment
None of the above
View Answer
6. Which of the following annotations is used as custom annotation at runtime?
@Retention
@Documented
interface
reference
View Answer
7. The _____ class is declared without a name within a code block such as the body of a method.
None of these
Local inner class
Final Class
Anonymous class
View Answer
8. Time-zone based date and time information of a ZonedDateTime object can be accessed using _______ method.
instant()
getValue()
normalized()
of()
View Answer
9. Which of the following area in the memory stores object references, method parameters, and its local variables?
heap
Accumulator
Register
stack
View Answer
10. Which of the following statement is true regarding a constructor in a class.
A constructer can be overloaded
A constructor has an associated destructor
A constructor returns void
All of them
View Answer