39 lines
620 B
Java
39 lines
620 B
Java
public class MethFieldVar{
|
|
String s1;// = "";
|
|
String s2;
|
|
|
|
/* public void meth(Integer i, String j, Boolean b){
|
|
//String local = "a";
|
|
//int localL = local.length();
|
|
//int l = s.length();
|
|
String s = null;
|
|
//s = "";
|
|
//return s.length();//l+localL;
|
|
}
|
|
*/
|
|
public void mm(){
|
|
// return "mm";
|
|
}
|
|
public void m2(){
|
|
System.out.println("");
|
|
// Math.abs(1);
|
|
// String lV = "local";
|
|
// s1 = "1";
|
|
// s1.concat("2");
|
|
s2 = s1;
|
|
|
|
mm();
|
|
|
|
Clazz i = new Clazz();
|
|
|
|
Runnable lam = ()->{
|
|
String test = "";
|
|
String b = "b";
|
|
test = b;
|
|
System.out.println(test);
|
|
};
|
|
}
|
|
}
|
|
|
|
class Clazz{}
|