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
Can you access the private method from outside the class?
Home
JAVA
Can you access the private method from outside the class?
0
votes
asked
May 7, 2021
in
JAVA
by
sharadyadav1986
Can you access the private method from outside the class?
#java
private-method
Java-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 7, 2021
by
sharadyadav1986
Yes, by changing the runtime behavior of a class if the class is not secured.
Related questions
+1
vote
Q: jspInit() method of HttpJspPage class can be overridden.
asked
May 29, 2020
in
JAVA
by
Hodge
#java
#jsp
Java-questions-answers
0
votes
Q: jspDestroy() method of HttpJspPage class can be overridden. in JSP
asked
May 29, 2020
in
JAVA
by
Hodge
#jsp
#java
Java-questions-answers
+1
vote
Q: What all access modifiers are allowed for top class ?
asked
Jun 17, 2019
in
JAVA
by
reins.robin
#java
#java-script
#java-interview
#java-question
#java-interview-question
Java-questions-answers
0
votes
Q: What is the correct signature of jspInit() method of HttpJspPage class?
asked
May 29, 2020
in
JAVA
by
Hodge
#java
#jsp
Java-questions-answers
+1
vote
Q: What is the correct signature of _jspService() method of HttpJspPage class?
asked
May 29, 2020
in
JAVA
by
Hodge
#java
#jsp
Java-questions-answers
+1
vote
Q: _jspService() method of HttpJspPage class should not be overridden. A - True B - False
asked
May 29, 2020
in
JAVA
by
Hodge
#jsp
#java
Java-questions-answers
+1
vote
Q: _jspService() method of HttpJspPage class should not be overridden.
asked
May 29, 2020
in
JAVA
by
Hodge
#jsp
#java
Java-questions-answers
+1
vote
Q: What is the correct signature of jspDestroy() method of HttpJspPage class?
asked
May 29, 2020
in
JAVA
by
Hodge
#java
#jsp
Java-questions-answers
0
votes
Q: What is correct syntax for main method of a java class?
asked
May 18, 2020
in
JAVA
by
AdilsonLima
#java
Java-questions-answers
0
votes
Q: Can we define private and protected modifiers for the members in interfaces?
asked
May 2, 2021
in
JAVA
by
sharadyadav1986
#java
interface
protected-members
Java-questions-answers
...