OOP in Java 2021 MCQs Solution BCA TU
Home/Uncategorized / OOP in Java 2021 MCQs Solution BCA TU
OOP in Java 2021 MCQs Solution BCA TU

OOP in Java 2021 MCQs Solution BCA TU

image 7
OOP in Java 2021 MCQs Solution BCA TU

i. Which of the following is not feature of Java?

a. Simple

b. socure

c. Pointer

d. Robust

ii. Which function is used to get angle character from the scanner?

a. next()

b. next().charAt(0)

c. next().charAt(0)

d. next.line()

iii. Which of the following is not jumping statement in java?

a. goto

b. break

c. return

d. continue

iv. What is process by which we can control which part of program can access the member of class?

a. Polymorphism

b. Abstraction

c. Encapsulation

d. Inheritance

v. What is return type of constructor in java?

a. int

b. String

c. void

d. none

vi. Which of the following keyword used to refer base class constructor to subclass constructor in java?

a. this

b. final

c. super

d. static

vii. Which of the following keyword is not part of exception handling?

a. thrown

b. catch

c. try

d. finally

viii. Which of the following is not method of Wrapper class?

a. valueOf()

b. indexOf()

c. parseDouble()

d. equals()

ix. Which of the following is not adapter class used in event handling?

a. ActionAdapter

b. KeyAdpter

c. MouseAdpter

d. WindwoAdpter

x. Which of the following method used to execute select query in JDBC API?

a. excuteQuery()

b. excuteUpdate()

c. executeNonQuery()

d. excuteReader()

OOP in Java 2021 MCQs Solution BCA TU

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!!