Java Static_NonStatic

Java Static_NonStatic

Professional Development

10 Qs

quiz-placeholder

Similar activities

Sociology

Sociology

Professional Development

15 Qs

EXPRESIONES REGULARES EN JAVA

EXPRESIONES REGULARES EN JAVA

Professional Development

5 Qs

SCT QUIZ 1

SCT QUIZ 1

Professional Development

10 Qs

Weekly Contest #2 - TechXNinjas

Weekly Contest #2 - TechXNinjas

Professional Development

10 Qs

Cylinder Circuits MSSC

Cylinder Circuits MSSC

10th Grade - Professional Development

12 Qs

Coding Standards Quiz

Coding Standards Quiz

Professional Development

15 Qs

Analog Electronics - Topics 1

Analog Electronics - Topics 1

Professional Development

10 Qs

Basic JavaScript (Henry)

Basic JavaScript (Henry)

Professional Development

10 Qs

Java Static_NonStatic

Java Static_NonStatic

Assessment

Quiz

Education

Professional Development

Medium

Created by

Murali Sukumar

Used 95+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

How to declare a Static variable

int a= 10;

static a= 200;

static int a= 100;

2.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Static variable is a Global variable

True

False

3.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

NonStatic Variable is a Local Variable

True

False

4.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Where can we declare a Static Variable

inside main function

outside main function

5.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Where can we declare a nonStatic Variable

inside main function

outside main function

6.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Where can we declare Local Variable

inside main function

outside main function

7.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Can static and nonStatic variables declared as public

Yes

No

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?