+ 1

How many type in inner-classses?(like static member class)

21st Oct 2016, 3:38 PM
Kyaw Moe Han
3 ответов
+ 1
there are two types of inner class as normal class and anonymous clasd
30th Oct 2016, 4:34 PM
Nisha Khatoon
Nisha Khatoon - avatar
+ 1
class Hand { public class Person{ public void shake() System.out.println("Hi"); } }
1st Feb 2017, 8:23 PM
Towhid Hasnein
Towhid Hasnein - avatar
0
Rearrange the code to have an inner class Hand, which has a method called "shake" that prints "Hi". System.out.println("Hi"); } } } class Hand { public class Person { public void shake() {
3rd Nov 2016, 8:03 AM
ABINAYA SRI.A.M
ABINAYA SRI.A.M - avatar