Java Programming MCQ (Multiple Choice Questions) SET-3

Hey Guys welcome to CES Study247 ,Today I am provide you Java Programming MCQ (Multiple Choice Questions) SET-3 ,that is very useful for many exam.

Java Basic MCQs | Java Multiple Choose Question with answer

This page provide you Java programming Multiple Choice Question Answer that is very useful for Semester , DRDO, ISRO ,Banking , Railway, and another exam.

Java Programming

Java is a widely used object-oriented programming language and software platform that runs on billions of devices, including notebook computers, mobile devices, gaming consoles, medical devices and many others. The rules and syntax of Java are based on the C and C++ languages


Q.41 Which of the following variable declaration would not compiled in a java program ?

ANSWER= (D) int-I-var


Q.42 A constructor is related with

ANSWER= (A) Same name as the class it is declared within


Q.43 JVM is a

ANSWER= (A) Java virtual machine


Q.44 What is byte code in context of Java ?

ANSWER= (A) The type of code generated by Java compiler


Q.45 The Java run time system automatically calls this method while garbage collection

ANSWER= (B) finalize ()


Q.46 An overloaded method consist of

ANSWER= (A) with same method but different types of parameters


Q.47 A protected member can be accessed in

ANSWER= (A) subclass of same package


Q.48 All exception types are sub classes of the built in class in

ANSWER= (D) Throwable


Q.49 In Java , objects are passed as

ANSWER= (C) Memory address


Q.50 Which of following not a component of Java IDE

ANSWER= (D) Symantec visual cafe


Q.51 Which of following is incorrect name

ANSWER= (B) 2nd name


Q.52 Applet cann’t be viewed using

ANSWER= (D) Applet viewer tool which comes with JDK


Q.53 Java compiler Javac translate Java source code into

ANSWER= (B) Byte code


Q.54 In Java character const value is its integer value in the

ANSWER= (C) ASCII char code


Q.55 Which one of the used to document the program and improve its readability

ANSWER= (C) Comments


Q.56 In Java , a try block should immediately followed by one or more

ANSWER= (C) Catch blocks


Q.57 When one object acquires the properties of another objects is called

ANSWER= (D) Inheritance


Q.58 Multiple inheritance means

ANSWER= (A) One class inheriting more super class


Q.59 The wrapping of data and functions into a single units is called

ANSWER= (A) Encapsulation


Q.60 Which of the following has a method name flush ()

ANSWER= (B) Output stream

1. Official Telegram Click Here
2. Telegram For CSE MCQs Click Here
3. You TubeClick Here

Computer Science MCQ (Multiple Choice Questions)

1Basic Computer
2IT System (Diploma)
3C Programming
4C++ Programming
5Java Programming
6Data Structure
7Computer Organization
& Architecture

8Operating System
9Digital Electronics
10Data Base Management System
11System Maintenance
12Data Communication & Networking
13Internet & Web Technology
14Software Engineering
15Computer Graphics
17System Software
19Visual Basic
20Artificial Intelligence
21BCECE LE English
error: Content is protected !!