
MSTIP-JavaProgramming-FinalExam

Quiz
•
Computers, Other
•
University
•
Hard
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
Similar Resources on Wayground
100 questions
Тест по программированию

Quiz
•
University
100 questions
PHP TEST

Quiz
•
University
100 questions
Tin Học ứng dụng

Quiz
•
University
100 questions
HTML және Web-технологиялар

Quiz
•
University
103 questions
Еле-еле

Quiz
•
University
100 questions
Django

Quiz
•
University
95 questions
Mid Term Practice AX1

Quiz
•
University
100 questions
Event-Driven

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade