Java
T
point
Home
Core Java
Servlet
JSP
Struts2
Mail API
Hibernate
Spring
Android
Design Pattern
Projects
Interview Q
View All Questions
Ask New Question
Java Example
By:
ozaytu***
On:
Sun Jan 15 13:14:47 IST 2017
0
0
0
0
-------------------TypeWeek---------------------------
- String name
-int id
-String []days={"Monday", "Tuesday"," Wednesday", "Thursday"," Friday", "Saturday", "Sunday"};
String[]getWeekDay()+
String getName()+
int getId()+
main(){
TypeWeek t=new TypeWeek();
t.getWeekDay()[1]="FirstDay";
/*
This method has not been done by setMetodu intentionally. But this method can be accessed with getWeekDay and the actual value can be changed. How do we go about this vulnerability in the open Java system.
*/
}
0
0
By:
[email protected]
On:
Tue Jan 17 11:51:47 IST 2017
0
0
0
0
Are You Satisfied :
0Yes
0No