stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Post-Test: Java Programming Concepts Flashcards | StudBud
Explore
/
Post-Test: Java Programming Concepts
Post-Test: Java Programming Concepts
10 terms
·
StudBud Administration
·
77 plays
EXPLORING JAVA: AN INTRODUCTION TO OBJECT-ORIENTED CONCEPT
Flashcards
10 cards
F
Practice quiz
P
Host live
L
Questions
10
Answers
1
Which concept in Java hides the internal object details and only exposes essential information?
Polymorphism
Inheritance
Encapsulation
Abstraction
2
Which of the following is NOT an application of Java?
Web-based applications (Web servers)
Game development (console-based)
Hardware programming (embedded systems only)
Mobile applications (Android)
3
Which data type in Java is used to represent a whole number?
String
int
boolean
double
4
Which of the following is a characteristic of Java programming?
Java is a compiled-only language.
Java is platform-dependent.
Java is an interpreted language.
Java is not object-oriented.
5
What does polymorphism allow in Java?
The ability to extend a class
The ability to assign different objects to the same reference variable
The ability to hide data
Create a multiple methods with the same name but different signatures
6
In the Java Development Environment (JDE), which of the following tools is commonly used to write and edit Java code?
IDE (Integrated Development Environment)
JRE (Java Runtime Environment)
JVM (Java Virtual Machine)
JDK (Java Development Kit)
7
Which of the following is an example of Java inheritance?
A class Student has methods for study() and attendClasses().
A class Car implements an interface Vehicle.
A class Dog extends a class Animal.
A class BankAccount contains an instance of class Customer.
8
What is the primary purpose of the Java Virtual Machine (JVM)?
To store Java source code files
To create Java applications
To execute Java bytecode on any device or operating system
To compile Java code
9
Who originally developed the Java programming language?
Microsoft
Oracle Corporation
IBM
Sun Microsystems
10
What is the purpose of the
final
keyword in Java?
To define a constant or prevent method or class modification
To declare a variable as a method
To declare an array
To initialize variables