Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Which of the following statements is FALSE? a. Java is used for enterprise software and web sites b. Java is similar to C# c. Java

Which of the following statements is FALSE?

a.

Java is used for enterprise software and web sites

b.

Java is similar to C#

c.

Java only runs under Windows

d.

Java supports object-oriented programming

2 points

QUESTION 2

Choose the BEST answer

a.

Java comments begin with '#'

b.

Java comments begin with '//'

c.

Java comments begin with '/*' and end with '*/'

d.

Both b and c

2 points

QUESTION 3

Which of the following is NOT a Java primitive type?

a.

String

b.

double

c.

int

d.

long

2 points

QUESTION 4

The following are syntactically valid Java statements:

int myvar;

myvar = ((25 * 7) / 5)

True

False

2 points

QUESTION 5

The following Java expression evaluates to what (integer) number?

-(20 / 4 - 8 * 3)

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions