
Flashcard on Object Oriented Programming and Java
Flashcard
•
Other
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the primary focus of Object-Oriented Programming (OOP)?
Back
Data encapsulation and objects
2.
FLASHCARD QUESTION
Front
Which of the following is NOT a core principle of OOP? Encapsulation, Inheritance, Polymorphism, Compilation
Back
Compilation
3.
FLASHCARD QUESTION
Front
What is the purpose of the 'main' method in a Java program?
Back
To serve as the entry point for execution
4.
FLASHCARD QUESTION
Front
Which Java keyword is used to declare a constant?
Back
final
5.
FLASHCARD QUESTION
Front
What does the 'printf()' method in Java do?
Back
Prints formatted output
6.
FLASHCARD QUESTION
Front
Which of the following is a primitive data type in Java? String, Array, int, Object
Back
int
7.
FLASHCARD QUESTION
Front
What is the output of the following code: System.out.println(5 + 3);?
Back
8
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?