Which of the following is true about blocks in java

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter6: Looping
Section: Chapter Questions
Problem 1DE
icon
Related questions
Question

Which of the following is true about blocks in java

a) A static block in java is a block of code that enables static initialization of a class

b) A static block is a block of code that is executed once as soon as the class is loaded

c) A static block is referred to any block of code that uses static modifier

a. A only

b. B only

c. A and B

d. B and C

e. A, B, C

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT