+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 + 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. Which of the following statement is true regarding a constructor in a class.
A constructer can be overloaded
A constructor returns void
A constructor has an associated destructor
All of them
View Answer
3. Which of the following methods cannot have a body in Java?
static
final
native
local
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 __________
Logical programming
Backward reasoning
Functional programming
Structured programming
View Answer
6. Which of the following informs the JavaDoc tool that custom annotations must be visible in the JavaDoc for classes that are using custom animations?
@inherited
@Target
@Reference
@Documented
View Answer
7. 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
8. Who is known as father of Java Programming Language?
Charles Babbage
Blaise Pascal
James Gosling
Rasmus Lerdof
View Answer
9. Which of the following annotations is used as custom annotation at runtime?
@Retention
@Documented
interface
reference
View Answer
10. What is the full form of JVM ?
None of them
Java Verified Machine
ava Very Large Machine
Java Virtual Machine
View Answer