Pretest PO-1 A

Quiz
•
Computers
•
University
•
Hard
Rezki Yuniarti
Used 2+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this framework, all real-world entities are represented by Classes.
Functional Programming
Logical Programming
Object-Oriented Programming
Procedural Programming
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following creates an object of Main class?
Main obj = new Main;
Main obj = new Main();
Main obj = new Mian();
Main obj == new Main();
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the complete syntax of creating a class?
public class Main { }
public class Main() { }
public class Main
public class Main()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Methods are declared within a class.
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
static void myMethod(){ }
What is the name of the method?
static void myMethod
void myMethod
static myMethod
myMethod
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements calls a method greetings and pass a value to that method?
greetings();
greeting("Hello, world!");
greetings("Hello, world!");
greetings(Hello, world!);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is not a Java primitive data type?
float
byte
Boolean
char
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It keeps the data and the code safe from external interference.
Polymorphism
ArrayList
Autoboxing
Encapsulation
Similar Resources on Wayground
13 questions
Object oriented programming in java

Quiz
•
University
12 questions
แบบทดสอบก่อนเรียน (Pretest)

Quiz
•
University
10 questions
Core Java Quiz

Quiz
•
University
10 questions
Introduction to Java

Quiz
•
University
10 questions
Pemrograman Berorientasi Objek

Quiz
•
10th Grade - University
10 questions
Structure of Java Program

Quiz
•
University
12 questions
Java History Characteristics Environment

Quiz
•
University
13 questions
Python_OOP_Intro_Quiz

Quiz
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade