Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Program

Rating
-
Sold
-
Pages
14
Grade
A
Uploaded on
14-06-2025
Written in
2024/2025

Exam of 14 pages for the course Java program at Java program (Language)

Institution
Course

Content preview

QUESTION BANK
CLASS: II CSE/IV SEMESTER
22CS14403 & JAVA PROGRAMMING
UNIT-I


1. is one of the inventors of Java.
a) Dennis Ritchie
b) James Gosling
c) Bjarne Straustrup
d) Balagurusamy

2. is one of the java features that enables java program to run anywhere anytime.
a) Object-Oriented
b) Multithreaded
c) Platform-Independent
d) Dynamic & Extensible

3.Java compiler translates source code into
a) Byte code (Virtual Machine Code)
b) Bit code
c) Machine Code
d) User code

4 .Java interpreter translates into machine code.
a) Bit code
b) Byte code(Virtual Machine Code)
c) Machine Code
d) User code

5.Java does not support .
a) Operator overloading
b) Global variable
c) Multiple inheritance
d) All of above

6.Java _.
a) Only compiles
b) Only interprets
c) Compiles and then interprets
d) Interprets & then compiles


7. If two methods have same name but different parameter list then it is called
a) Method overriding
b) Method overloading

, c) Operator overloading
d) None of these




8. constructor is created when object of particular class is created.
a ) Default
b) Parameterized
c) Copy
d) None of these

9. We cannot create a subclass of class.
a) Abstract
b) public
c) static
d) final
10.Which package is used for creating and implementing applets.
a) java.lang
b) java.util
c) java.applet
d) java.awt

11.JVM stands for
a) Java Virtual Method
b) Java Virtual Machine
c) Java Variable & Methods
d) Java Versatile Machine

12. What does OOP stand for?
a) Operators Oriented Programming
b) Output Operating Programming
c) Object-Oriented Programming
d) Object Operating Programming

13.What is the main advantage of Object-Oriented Programming?
a) Faster execution speed
b) Code reusability and modularity
c) Complexity of code increases
d) Requires more memory

14.Which of the following is not a principle of OOP?
a) Encapsulation
b) Polymorphism
c) Compilation
d) Inheritance

15.Encapsulation in OOP means:
a) Hiding data and providing controlled access
b) Accessing data directly

Written for

Course

Document information

Uploaded on
June 14, 2025
Number of pages
14
Written in
2024/2025
Type
Exam (elaborations)
Contains
Only questions

Subjects

$10.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
panishant

Get to know the seller

Seller avatar
panishant
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
10 months
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions