Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SECTION - A (151=15MARKS) Answer All Questions. Each question carries ONE Mark. 1. Choose the correct answer: i) String in Java is a a. statements

image text in transcribed
SECTION - A (151=15MARKS) Answer All Questions. Each question carries ONE Mark. 1. Choose the correct answer: i) String in Java is a a. statements b. class c. variable d. character array ii) Which of these data structure is used by operating system to manage the Recursion in Java? a. Array b. Stack c. Queue d. Tree iii) Which of these will happen if recursive method does not have a base case? a. An infinite loop occurs b. System stops the program after some time c. The program will not work d. None of the mentioned iv) In Java, the keyword is a special value that means "no object". a. null b. new c. void d. static v) In the UML class diagrams, The plus sign (+) identifies attributes and methods. a. private b. public c. protected d. default vi) Which exception is thrown when negative size of an array statement executes? a. NumberFormatException b. NullPointerException c. NegativeArraySizeException d. ZeroDivisionException vii) Which of these standard collection classes implements a dynamic array? a. AbstractList b. Linkedl.ist c. AbstractSet d. ArrayList

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Using Entity Relationship Diagrams

Authors: Sikha Saha Bagui, Richard Walsh Earp

3rd Edition

103201718X, 978-1032017181

More Books

Students also viewed these Databases questions

Question

A collection of data is referred to as a dataset. True or False

Answered: 1 week ago