Chủ đề: Vấn đề non-static
-
02-21-2014, 07:00 AM #1Junior Member
- Ngày tham gia
- Apr 2015
- Bài viết
- 0
Vấn đề non-static
mình có đoạn code sau bị lỗi non-static. khắc phục như thế nào?
Mã:public class newclass2 { public static void main(string[] args) { abc(); } public static void abc() { class a[] = this.getclass().getclasses(); for(class f:a) { system.out.println(f.getcanonicalname()); } } }
-
-
02-24-2014, 07:00 AM #3Junior Member
- Ngày tham gia
- Feb 2015
- Bài viết
- 0
Gửi bởi thanhlong90.it
-
03-06-2014, 07:00 AM #4Junior Member
- Ngày tham gia
- Nov 2014
- Bài viết
- 0
bạn thử public static class .... xem nhé
How to make a coconut leaf hat? How to make a coconut leaf hat? Making a coconut leaf hat can be a fun and creative project. Here's a simple guide to making one: Materials Needed: Fresh coconut...
Crafting Tradition: How to Make a Coconut Leaf Hat