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
How to split a string in java?
answered
Aug 6
in
JAVA
by
rajeshsharma
#split-a-string
#string-in-java
#split-string-in-java
Java-questions-answers
0
votes
Explain Hibernate Architecture?
answered
Jul 25
in
JAVA
by
rajeshsharma
java
hibernate
architecture
0
votes
Which of the following is not a loop in Java?
answered
May 12
in
JAVA
by
rahuljain1
loop
java
0
votes
What is the output of the following code snippet?
answered
May 12
in
JAVA
by
rahuljain1
code
snippet
0
votes
What is the purpose of the ‘this’ keyword in Java?
answered
May 12
in
JAVA
by
rahuljain1
this
keyword
0
votes
What is the difference between a class and an object in Java?
answered
May 12
in
JAVA
by
rahuljain1
object
java
0
votes
Which of the following is not a valid access modifier in Java?
answered
May 12
in
JAVA
by
rahuljain1
valid
access
modifier
java
0
votes
Which of the following is an example of a checked exception in Java?
answered
May 12
in
JAVA
by
rahuljain1
checked
exception
java
0
votes
Which of the following is an example of an unchecked exception in Java?
answered
May 12
in
JAVA
by
rahuljain1
unchecked
exception
java
0
votes
What is the default value of a boolean variable in Java?
answered
May 9
in
JAVA
by
rahuljain1
boolean
variable
0
votes
What is the purpose of the ‘final’ keyword in Java?
answered
May 9
in
JAVA
by
rahuljain1
final
keyword
0
votes
Which of the following is not a primitive data type in Java?
answered
May 9
in
JAVA
by
rahuljain1
primitive
data
type
0
votes
What is the major feature added in Java 10?
answered
May 9
in
JAVA
by
rahuljain1
featuraddedjava10
0
votes
Which method is used to convert a String to a Double-object in Java?
answered
May 9
in
JAVA
by
rahuljain1
stringdouble-object
java
0
votes
Which method is used to convert a String to a double in Java?
answered
May 9
in
JAVA
by
rahuljain1
string
double
java
0
votes
Which method is used to convert a String to an Integer object in Java?
answered
May 9
in
JAVA
by
rahuljain1
stringintegerobject
0
votes
Which method is used to convert a String to an int in Java?
answered
May 9
in
JAVA
by
rahuljain1
stringtoint
java
0
votes
Which class is used to represent an HTTPS connection in Java?
answered
May 9
in
JAVA
by
rahuljain1
https
connection
0
votes
Which class is used to send HTTP requests and receive HTTP responses in Java?
answered
May 9
in
JAVA
by
rahuljain1
http
requests
0
votes
Which class is used to represent a connection to a URL in Java?
answered
May 9
in
JAVA
by
rahuljain1
connection
url
java
0
votes
Which class is used to represent an HTTP connection in Java?
answered
May 9
in
JAVA
by
rahuljain1
http
connection
java
0
votes
Which method is used to read a line of text from the standard input in Java?
answered
May 9
in
JAVA
by
rahuljain1
standard
input
java
0
votes
Which class is used to represent a CompletableFuture in Java?
answered
May 9
in
JAVA
by
rahuljain1
completablefuture
java
0
votes
Which interface is used to represent the result of an asynchronous computation in Java?
answered
May 8
in
JAVA
by
rahuljain1
asynchronous
computation
java
0
votes
Which class is used to represent a thread pool that can schedule tasks for execution at a fixed rate in Java?
answered
May 8
in
JAVA
by
rahuljain1
schedule
tasks
0
votes
Which interface is used to schedule a task for execution at a fixed rate in Java?
answered
May 8
in
JAVA
by
rahuljain1
task
execution
0
votes
Which class is used to schedule a task for execution after a specified delay in Java?
answered
May 8
in
JAVA
by
rahuljain1
task
execution
0
votes
Which interface is used to execute a task asynchronously and return a result in Java?
answered
May 8
in
JAVA
by
rahuljain1
task
asynchronously
returnresult
0
votes
Which class is used to execute a task asynchronously in Java?
answered
May 8
in
JAVA
by
rahuljain1
task
asynchronously
0
votes
Which interface is used to create a thread in Java?
answered
May 8
in
JAVA
by
rahuljain1
createthread
java
To see more, click for all the
questions in this category
.
...