MSTIP-JavaProgramming-FinalExam

MSTIP-JavaProgramming-FinalExam

University

100 Qs

quiz-placeholder

Similar activities

Basic To String Test

Basic To String Test

University

100 Qs

Python

Python

University

100 Qs

MOCK QUIZ 2 Quation Solutions Private Limited

MOCK QUIZ 2 Quation Solutions Private Limited

University

100 Qs

Programming in Java

Programming in Java

University

101 Qs

NETBEANS java 200-300

NETBEANS java 200-300

University

101 Qs

Internet and Mobile Programming Final Review

Internet and Mobile Programming Final Review

University

96 Qs

Javascript

Javascript

7th Grade - Professional Development

105 Qs

 ສອບເສັງກາງພາກ C programming 1CEEE

ສອບເສັງກາງພາກ C programming 1CEEE

University

99 Qs

MSTIP-JavaProgramming-FinalExam

MSTIP-JavaProgramming-FinalExam

Assessment

Quiz

Computers, Other

University

Hard

Created by

ALVIN CERTEZA

Used 9+ times

FREE Resource

100 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

1. Which of this method is given parameter via command line arguments?

a) main()

b) recursive() method

c) Any method

d) System defined methods

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are the Type Conversions available in Java language?

A) Narrowing Type Conversion

B) Widening Type Conversion

A and B

D) None of the above

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the below Java code snippet?

char ch = 'A';//ASCII 65

int a = ch + 1;

ch = (char)a;

System.out.println(ch);

A) 66

B) A

C) B

D) 65

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which type of loop is best known for its boolean condition that controls entry to the loop?

A. do-while loop

B. for (traditional)

C. for-each

D. while

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the Output of the below code:

public class Demo{

public static void main(String[] arr){

}

public static void main(String arr){

}

}

a) Nothing

b) Error

C) Finite

d) Hii

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

char is 2 byte in storage?

True

False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Name the data type: '3'

int

char

String

None of the above

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?