Lavi M.

asked • 05/01/20

Any java expert who knows the corecct answers for these?

Q1:charAt() is used to obtain a character at specified index?

a)True

b)Fales

Q2:The java program is enclosed in a class definition ?

a)True

b)Fales

Q3:The for loop repeats a set of statements a certain number of times until a condition is matched?

a)True

b)Fales

Q4:The input to a method is called a ?

a)Parameter

b)args

c)Argument

d)Variable

Q5::Evaluate the following java expression , if x=3, y=5,and z=10

++z + y-y + z + x++

a)23

b)24

c)22

d)25

Q6:from the following statements which is a disadvantage of an java array ?

a)An array holds only one type of data

b)An array knows only its type that it contains.Array type is checked at the compile-time.

c)An array has its size that is known as array length.

d)An array can hold primitive types data.

Q7: place a space after each comma (,) in an argument list makes programs less readable ?

a)True

a)Fales

Q8:in java a string type is a class?

a)True

b)Fales

Q9:By convention, classes begin with a lower case letter?

a)True

b)Fales

Q10:: "\ is used to print a single-quote character in java?

a)True

b)Fales

1 Expert Answer

By:

Sena A. answered • 05/02/20

Tutor
5.0 (112)

Ivy League Computer Science Graduate, Patient Tutor

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.