Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 37 A subclass can directly access: O only public and private members of the superclass O only protected and private members of the superclass

image text in transcribed
QUESTION 37 A subclass can directly access: O only public and private members of the superclass O only protected and private members of the superclass O all members of the superclass O only public and protected members of the superclass QUESTION 38 This annotation tells the Java compiler that a method is meant to override a method in the superclass O eoverride O 80verload O eInherited ?@Protected QUESTION 39 What is the value of str after the following code has been executed? String str: String sourceStr "Hey diddle, diddle, the cat and the fiddle"; str m sourceser.substring (12,17) O diddle O , didd O diddl O Iddle QUESTION 40 What will be the tokens for the following code? String atr "123-456-7890 String[1 tokens atr.split("-"): O 123, 456, and 7890 O 123, 456, 7890, and . O None of these

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_2

Step: 3

blur-text-image_3

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 Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

More Books

Students also viewed these Databases questions

Question

14-18 Compare the two major types of planning and control tools.

Answered: 1 week ago