Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
JAVA Interview Questions and Answers
Home
Questions
JAVA
0
votes
Q: What is the purpose of garbage collection in Java, and when is it used?
asked
Jul 3, 2023
in
JAVA
by
Robin
garbagecollection
0
votes
Q: What is the purpose Class.forName method?
asked
Jul 3, 2023
in
JAVA
by
Robin
classfornamemethod
0
votes
Q: What is the design pattern that Java uses for all Swing components?
asked
Jul 3, 2023
in
JAVA
by
Robin
swingcomponents
javaswing
components
0
votes
Q: How are the JSP requests handled?
asked
Jul 3, 2023
in
JAVA
by
Robin
jsp
requests
java
0
votes
Q: What do you know about the big-O notation and can you give some examples with respect to different data structures?
asked
Jul 3, 2023
in
JAVA
by
Robin
big-o
notation
java
0
votes
Q: What are Expressions?
asked
Jul 3, 2023
in
JAVA
by
Robin
java
expressions
0
votes
Q: What is the difference between processes and threads?
asked
Jul 3, 2023
in
JAVA
by
Robin
java-processes
java-threads
0
votes
Q: What are the Data Types supported by Java? What is Autoboxing and Unboxing?
asked
Jul 2, 2023
in
JAVA
by
rajeshsharma
datatypesjava
jsppage
abstract
continue
for
new
switch
assert
default
goto
package
synchronized
boolean
do
if
private
this
break
double
implements
protected
throw
byte
else
import
public
throws
case
enum
instanceof
return
transient
catch
extends
int
short
try
char
final
interface
static
void
class
finally
long
strictfp
volatile
const
float
native
super
while
0
votes
Q: What are the basic interfaces of Java Collections Framework?
asked
Jul 2, 2023
in
JAVA
by
rajeshsharma
javacollectionsframework
0
votes
Q: How HashMap works in Java?
asked
Jul 2, 2023
in
JAVA
by
rajeshsharma
hashmap
jsppage
abstract
continue
for
new
switch
assert
default
goto
package
synchronized
boolean
do
if
private
this
break
double
implements
protected
throw
byte
else
import
public
throws
case
enum
instanceof
return
transient
catch
extends
int
short
try
char
final
interface
static
void
class
finally
long
strictfp
volatile
const
float
native
super
while
0
votes
Q: What is an Java Applet?
asked
Jul 2, 2023
in
JAVA
by
rajeshsharma
java
applet
0
votes
Q: What is an Iterator?
asked
Jul 2, 2023
in
JAVA
by
rajeshsharma
java-iterator
0
votes
Q: When does an Object becomes eligible for Garbage collection in Java ?
asked
Jul 2, 2023
in
JAVA
by
rajeshsharma
garbagecollection
0
votes
Q: What is the importance of finally block in exception handling?
asked
Jul 2, 2023
in
JAVA
by
rajeshsharma
exceptionhandling
jsppage
abstract
continue
for
new
switch
assert
default
goto
package
synchronized
boolean
do
if
private
this
break
double
implements
protected
throw
byte
else
import
public
throws
case
enum
instanceof
return
transient
catch
extends
int
short
try
char
final
interface
static
void
class
finally
long
strictfp
volatile
const
float
native
super
while
0
votes
Q: What does the “static” keyword mean? Can you override private or static method in Java?
asked
Jul 2, 2023
in
JAVA
by
rajeshsharma
static-keyword
jsppage
abstract
continue
for
new
switch
assert
default
goto
package
synchronized
boolean
do
if
private
this
break
double
implements
protected
throw
byte
else
import
public
throws
case
enum
instanceof
return
transient
catch
extends
int
short
try
char
final
interface
static
void
class
finally
long
strictfp
volatile
const
float
native
super
while
0
votes
Q: What is JDBC?
asked
Jul 2, 2023
in
JAVA
by
rajeshsharma
jdbc
java
jsppage
abstract
continue
for
new
switch
assert
default
goto
package
synchronized
boolean
do
if
private
this
break
double
implements
protected
throw
byte
else
import
public
throws
case
enum
instanceof
return
transient
catch
extends
int
short
try
char
final
interface
static
void
class
finally
long
strictfp
volatile
const
float
native
super
while
0
votes
Q: What does System.gc() and Runtime.gc() methods do?
asked
Jul 2, 2023
in
JAVA
by
rajeshsharma
system-gc
runtime-gc
0
votes
Q: What are Directives?
asked
Jul 2, 2023
in
JAVA
by
rajeshsharma
directives
0
votes
Q: What is a JSP Page?
asked
Jul 1, 2023
in
JAVA
by
sharadyadav1986
jsppage
abstract
continue
for
new
switch
assert
default
goto
package
synchronized
boolean
do
if
private
this
break
double
implements
protected
throw
byte
else
import
public
throws
case
enum
instanceof
return
transient
catch
extends
int
short
try
char
final
interface
static
void
class
finally
long
strictfp
volatile
const
float
native
super
while
0
votes
Q: What is the difference between an Applet and a Java Application?
asked
Jul 1, 2023
in
JAVA
by
sharadyadav1986
javaapplication
applet
abstract
continue
for
new
switch
assert
default
goto
package
synchronized
boolean
do
if
private
this
break
double
implements
protected
throw
byte
else
import
public
throws
case
enum
instanceof
return
transient
catch
extends
int
short
try
char
final
interface
static
void
class
finally
long
strictfp
volatile
const
float
native
super
while
0
votes
Q: What is JVM? Why is Java called the “Platform Independent Programming Language”?
asked
Jul 1, 2023
in
JAVA
by
sharadyadav1986
platformindependentprogramminglanguage
abstract
continue
for
new
switch
assert
default
goto
package
synchronized
boolean
do
if
private
this
break
double
implements
protected
throw
byte
else
import
public
throws
case
enum
instanceof
return
transient
catch
extends
int
short
try
char
final
interface
static
void
class
finally
long
strictfp
volatile
const
float
native
super
while
0
votes
Q: What are the two types of Exceptions in Java? Which are the differences between them?
asked
Jul 1, 2023
in
JAVA
by
sharadyadav1986
java-exceptions
abstract
continue
for
new
switch
assert
default
goto
package
synchronized
boolean
do
if
private
this
break
double
implements
protected
throw
byte
else
import
public
throws
case
enum
instanceof
return
transient
catch
extends
int
short
try
char
final
interface
static
void
class
finally
long
strictfp
volatile
const
float
native
super
while
0
votes
Q: What is X.509?
asked
May 14, 2023
in
JAVA
by
john ganales
x509
ssl
0
votes
Q: What do you understand by symmetric and asymmetric encryption?
asked
May 14, 2023
in
JAVA
by
john ganales
symmetric
asymmetric
encryption
0
votes
Q: Can you explain what encryption is?
asked
May 14, 2023
in
JAVA
by
john ganales
encryption
0
votes
Q: What is the purpose of digital certificates?
asked
May 14, 2023
in
JAVA
by
john ganales
digitalcertificates
0
votes
Q: What is public key cryptography?
asked
May 14, 2023
in
JAVA
by
john ganales
publickeycryptography
0
votes
Q: What’s the difference between transport layer security and secure sockets layer?
asked
May 14, 2023
in
JAVA
by
john ganales
transport
layer
security
socketslayer
0
votes
Q: How does the SSL/TLS protocol work?
asked
May 14, 2023
in
JAVA
by
john ganales
ssltlsprotocol
0
votes
Q: Why do browsers and servers need to perform an SSL handshake?
asked
May 14, 2023
in
JAVA
by
john ganales
ssl
handshake
browsers
servers
Page:
« prev
1
2
3
4
5
6
7
...
57
next »
...