Skip to content
Snippets Groups Projects
Commit 3ee95870 authored by VIGNESH VIJAYAKUMAR's avatar VIGNESH VIJAYAKUMAR
Browse files

Encapsulation class

parent bf714ed4
No related branches found
No related tags found
No related merge requests found
public class Encls{
private String name;
public void setData(String name){
this.name = name;
}
public String getData(){
return this.name;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment