Win a copy of Securing DevOps this week in the Security forum!

Wentao Liang

Greenhorn
+ Follow
since Oct 05, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Wentao Liang

I want to know that too.
9 years ago
Please tell me something about the Closures&Callbacks?How do they work?
Thanks!
10 years ago
To call the methods of the anonymous class ,what should I do??
10 years ago

In the preceding code,the one line code I show seems to be useless.
Is it?
10 years ago
Thanks!I have got the reason why I was wrong!
Thanks again for your replies!
10 years ago
Howby!
Just now I create a new class which is inside a finalize() method,when compiling,there is a error. Why I should use the "protected" before the method??
10 years ago
I am amazing....
10 years ago
I can't know why is the flowing code wrong?
Please piont it out.
Regards!
import java.util.*;
public class Test
{
public static void main(String[] args)
{
int storage(String s)
{
return s.length()*2;
}
Scanner sc=new Scanner(System.in);
String str=sc.nextLine();
System.out.println(str.storage());

}
}
10 years ago
It is good for the Thinking in java.
10 years ago
The inner class can hide the implement you do in the superclass!
10 years ago
ArrayList a = new ArrayList();
Object[] obj = new Object[5];
a.add(obj[0]);
a.add(obj[1]);
a.add(obj[2]);
a.add(obj[3]);
a.add(obj[4]);


obj = (Object[])a.toArray();//change
Atention bj[i]
10 years ago
So does the interface!!
I want to take the exam .But I am the greenhorn.What should I do?
Looking forward your Adivices.
Thanks!