++92 313 8389893
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 + SEO
Artificial Intelligence (AI)
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Enroll Now
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.
Twice
Zero
Multiple
One
View Answer
2. A lambda expression facilitates __________
Backward reasoning
Functional programming
Logical programming
Structured programming
View Answer
3. Who is known as father of Java Programming Language?
Charles Babbage
Rasmus Lerdof
Blaise Pascal
James Gosling
View Answer
4. In Java code, the line that begins with /* and ends with */ is known as?
Multiline comment
Single line comment
None of the above
Both A & B
View Answer
5. What is the full form of JVM ?
ava Very Large Machine
None of them
Java Verified Machine
Java Virtual Machine
View Answer
6. Which of the following functions on any Zoneld ensures that a fixed offset ID will be formed as a ZoneOffset?
normalized()
now()
getVal()
of()
View Answer
7. Which of the following methods cannot have a body in Java?
native
static
local
final
View Answer
8. Which of the following keywords are used to explicitly raise an exception from a method?
try and finally
throw and throws
try-catch
none of these
View Answer
9. Which of the following statement is true regarding local inner class.
None of these
Can implement anonymous interfaces
Associated with an instance of the enclosing class
Cannot access private members of the enclosing class
View Answer
10. Identify the shortest manner in which you can decorate a Java annotation
suflix @
suffix #
prefix @
prefix #
View Answer