Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
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?
asked
May 7, 2021
in
JAVA
by
sharadyadav1986
Q:
Can you access the private method from outside the class?
#java
private-method
Java-questions-answers
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
+1
vote
Q: This object can be used to access other implicit objects in JSP.
asked
May 29, 2020
in
JAVA
by
Hodge
#jsp
#java
Java-questions-answers
+1
vote
Q: Which are the modules of Data Access/ integration layer in Spring?
asked
Jun 2, 2020
in
JAVA
by
Indian
#spring
#java
Java-questions-answers
+1
vote
Q: Difference between Default and Protected access specifiers.
asked
May 24, 2019
in
JAVA
by
rajeshsharma
#interviewquestionandanswer
#javaquestion
#javainterview
#javaanswer
#javaquestionanswer
#java
Java-questions-answers
0
votes
Q: Which of the following holds data retrieved from a database after you execute an SQL query using Statement objects?
asked
May 21, 2020
in
JAVA
by
GeorgeBell
#java
Java-questions-answers
+2
votes
Q: Which is the correct implementation class of BeanFactory in JAVA Spring?
asked
Jun 2, 2020
in
JAVA
by
Indian
#java
#spring
Java-questions-answers
+1
vote
Q: Request is instance of which class in JSP
asked
May 29, 2020
in
JAVA
by
Hodge
#jsp
#java
Java-questions-answers
+1
vote
Q: response is instance of which class?
asked
May 29, 2020
in
JAVA
by
Hodge
#java
#jsp
Java-questions-answers
+1
vote
Q: session is instance of which class in JSP?
asked
May 29, 2020
in
JAVA
by
Hodge
#jsp
#java
Java-questions-answers
0
votes
Q: Which of the following is correct about ResultSet class of JDBC?
asked
May 21, 2020
in
JAVA
by
GeorgeBell
#jdbc
#java
Java-questions-answers
0
votes
Q: Which of the following is correct about Statement class of JDBC?
asked
May 21, 2020
in
JAVA
by
GeorgeBell
#jdbc
#java
Java-questions-answers
...