AppSquadz Internship Test

AppSquadz Internship Test

University

10 Qs

quiz-placeholder

Similar activities

Java Quiz2

Java Quiz2

University

11 Qs

CS1010 Lab 4

CS1010 Lab 4

University

10 Qs

Apuntadores C++

Apuntadores C++

University

11 Qs

Quiz3_DataStruct

Quiz3_DataStruct

University

10 Qs

unit3 pointers

unit3 pointers

University

10 Qs

IEEE_Round2

IEEE_Round2

University

13 Qs

POINTERS

POINTERS

University

10 Qs

Quiz 8: Arrays&Vector

Quiz 8: Arrays&Vector

University

10 Qs

AppSquadz Internship Test

AppSquadz Internship Test

Assessment

Quiz

Computers

University

Medium

Created by

Praveen Mittal

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which four options describe the correct default values for array elements of the types indicated?

int->0

String->"null"

float->0.0f

char->'\u0000

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of these lists contains only Java programming language keywords?

class,if,void,long,int continue

strictfp,constant,super,implements,do

byte,break,assert,switch,include

try,virtual,throw,final volatile,transient

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Whish is a reserved word in the Java programming language?

method

native

subclass

reference

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is a valid keyword in java?

interface

string

float

unsigned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the most restrictive access modifier that will allow members of the one class to have access to members of another class in the same package?

public

abstract

protected

synchronized

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is are legal method declarations?

protected abstract void m1();

static final void m1(){}

synchronized public final void m1(){}

private native void m1();

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You want a class to have access to members of another class in the same package. Which is the most restrictive access that accomplishes this objective?

public

private

protected

default access

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?