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
Comment on method overloading and overriding by citing relevant examples.
asked
Dec 16, 2020
in
JAVA
by
SakshiSharma
#method-overloading
#method-overriding
Java-questions-answers
0
votes
Briefly explain the concept of constructor overloading.
asked
Dec 16, 2020
in
JAVA
by
SakshiSharma
#constructor-overloading
Java-questions-answers
0
votes
Although inheritance is a popular OOPs concept, it is less advantageous than composition. Explain.
asked
Dec 16, 2020
in
JAVA
by
SakshiSharma
#oops-concept
#object-oriented-programming
Java-questions-answers
+1
vote
Apart from the security aspect, what are the reasons behind making strings immutable in Java?
asked
Dec 16, 2020
in
JAVA
by
SakshiSharma
#security-aspect
#strings
#java-strings
Java-questions-answers
+1
vote
Pointers are used in C/ C++. Why does Java not make use of pointers?
asked
Dec 16, 2020
in
JAVA
by
SakshiSharma
#pointers-in-c
#pointers
#use-of-pointers
Java-questions-answers
0
votes
Contiguous memory locations are usually used for storing actual values in an array but not in ArrayList. Explain.
asked
Dec 16, 2020
in
JAVA
by
SakshiSharma
#contiguous-memory
#arraylist
Java-questions-answers
0
votes
What do you understand by an instance variable and a local variable?
asked
Dec 16, 2020
in
JAVA
by
SakshiSharma
#instance-variable
#local-variable
Java-questions-answers
0
votes
What is super in java?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#super-java
#java-super
Java-questions-answers
+1
vote
Why does Java not support pointers?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#java-pointers
#pointers-in-java
Java-questions-answers
0
votes
What is the difference between aggregation and composition?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#aggregation-vs-composition
#composition-vs-aggregation
Java-questions-answers
0
votes
What is composition?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#java-composition
#composition
Java-questions-answers
0
votes
What is aggregation?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#aggregation
#java-aggregation
Java-questions-answers
+1
vote
Why is multiple inheritance not supported in java?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#multiple-inheritance
#java-multiple-inheritance
Java-questions-answers
0
votes
Which class is the superclass for all the classes?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#superclass
#superclass-java
Java-questions-answers
+1
vote
Why is Inheritance used in Java?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#inheritance-use
#java-inheritance-use
Java-questions-answers
0
votes
What is the Inheritance?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#inheritance
#java-inheritance
Java-questions-answers
0
votes
What are the advantages of passing this into a method instead of the current class object itself?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#argument-pass
#
object-class
Java-questions-answers
0
votes
How can constructor chaining be done using this keyword?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#constructor
#this-keyword
Java-questions-answers
0
votes
Can this keyword be used to refer static members?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#this-keyword
#static-members
Java-questions-answers
0
votes
What are the main uses of this keyword?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#this-keyword-use
#use-of-this
Java-questions-answers
0
votes
What is this keyword in java?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#this-keyword
this-java
Java-questions-answers
+1
vote
Can we declare the static variables and methods in an abstract class?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#static-variable
#abstract-class
Java-questions-answers
0
votes
Can we make constructors static?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#static-constructor
#constructor-static-java
Java-questions-answers
+1
vote
Can we make the abstract methods static in Java?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#abstract-methods
#static-java
Java-questions-answers
+1
vote
What is the difference between static (class) method and instance method?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#static-class
static-method
#instance-method
Java-questions-answers
0
votes
What if the static modifier is removed from the signature of the main method?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#static-modifier
#signature
#main-method
Java-questions-answers
0
votes
An expression is a JavaScript object that you pass to the compiled template
asked
Dec 6, 2020
in
JAVA
by
rajeshsharma
#javascript
Java-questions-answers
0
votes
______________ allow(s) you to invoke multiple helpers in a single mustache.
asked
Dec 6, 2020
in
JAVA
by
rajeshsharma
#subexpression
Java-questions-answers
0
votes
There is no connection between aggregate functions and group.
asked
Dec 6, 2020
in
JAVA
by
rajeshsharma
#aggregate-function
Java-questions-answers
0
votes
How to Calculate Palindrome Program in Java
asked
Nov 25, 2020
in
JAVA
by
SakshiSharma
#palindrome-in-java
#java-palindrome
Java-questions-answers
Page:
« prev
1
...
21
22
23
24
25
26
27
28
29
30
31
...
61
next »
...