stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
JAVA BASICS-II Flashcards | StudBud
Explore
/
JAVA BASICS-II
JAVA BASICS-II
15 terms
·
StudBud Administration
·
100 plays
Imported from external platform
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
What does a class contain?
Only Data
Data & Method
Data & Program code
Only program code
2
_____ is used to find and fix bugs in the Java programs.
JDB
JVM
JDK
JRE
3
Whatt is the output of the following code snippet?
compilation error
2
2.5
3
4
Having compiled source code, It converts to another code called?
Executable code
Byte code
Binary code
None
5
Which operator allocates the memory for an object and returns the address of object?
method
object
class
new
6
What is the output of the following code snippet?
33
32
34
31
7
Which kind of Java programming is?
event driven
Non procedural
object oriented
procedural
8
Which of the following is not a valid identifier in Java?
123test
$test
test123
_test
9
JVM stands for ?
Java Verified Machine
Java Run-time Environment
Java Virtual Machine
Java Development Kit
10
Which of the following is a logical operator in Java?
=
&&
/
++
11
Which type of applications are created through the Java Programming Language?
Enterprise Application & Mobile Application
All of Above
Standalone Application
Web Application
12
In Java functions referred to as
Method
state
Attributes
behavior
13
What is the output of the following code snippet?
infinate loop
1 2 3
0 1 2
0 1 2 3
14
What is the output of the following code snippet?
run time error
a is greater than b
compilation error
a is less than or equal to b
15
What do we call the variables that defined inside methods or blocks?
class variable
Local variable b
Instance variable
static variable