stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
CORE JAVA Flashcards | StudBud
Explore
/
CORE JAVA
CORE JAVA
20 terms
·
StudBud Administration
·
171 plays
Imported from external platform
Flashcards
20 cards
F
Practice quiz
P
Host live
L
Questions
20
Answers
1
Who invented Java Programming
Guido van Rossum
James Gosling
Bjarne Stroustru
Dennis Ritchie
2
Which of the following is not an OOPS concept in Java?
Encapsulation
Inheritance
Compilation
Polymorphism
3
Which of these cannot be used for a variable name in Java?
identifier & keyword
identifier
none of the mentioned
keyword
4
Which keyword supports to interface concepts in java.
Finally
Super
Final
Implements
5
The _______method is used to reload the Applet.
Reload()
Repaint()
Loader()
Repeat()
6
The sleep method declaration should be one of the below type.
Thread.sleep;
Thread.sleep(int)
Thread.sleep(int)
Thread.sleep(object)
7
Which of these keyword must be used to inherit a class in java?
Extends
Extent
Super
This
8
An interface may also contains the below which variables in Java 8 version?
static
abstract
A) Concrete
final
9
Which of these is correct way of inheriting class A by class B?
Class B inherits class A{}
Class B extends class A{}
Class B extends A{}
Class B + A{}
10
The ______is a unit of program in the program execution.
Block
Blass
Thread
Object
11
Which of these keyword is used to create a package?
This
Package
Upper
Super
12
Which of the following is a valid declaration of a char?
String cc = '"\itea"';
char cr = "\u0223";
char ch = '\utea';
char ca = 'tea"';
13
What will be the output of the following Java code?
25
24
32
33
14
Which of these keyword must be used to Applets Concepts?
None of the above
A) applet
this
super
15
Which environment variable is used to set the java path?
JAVA_HOME
MAVEN_HOME
CLASSPATH
JAVA
16
Same function name with different arguments known as .
A) Method Overloading
operator
Overriding
synchronized
17
Which component is used to compile, debug and execute the java programs?
JVM
JDK
JRE
JFT
18
The _________ is the package that provides all the features to handle the events.
java.util
java.awt
java.nio
A) Java.awt.event
19
Which of these keyword must be used to Thread Concepts?
super
this
Thread
extends
20
What will be the output of the following Java program?
Runtime error
5 6 5 6
Compilation error
5 6 5