Hello @Nitesh, you are pretty much there. The only mistake you are doing is assigning the num inside the loop.
public class WhileEven {
    public static void main(String[] args) {
        int i=0;
        int num=0;
        System.out.println("Even numbers");
        while(i<=10)
        {
            System.out.println(num);
            i+=1;
            num+=2;
        }
    }
}
Now what was happening is that every time you were inside the loop the num gets assigned to 0. and you get the miscellaneous output.