My Code :: public class Solution { public static void main(String[] args) { Dog Max = new Dog(); Dog Bella = new Dog(); Dog Jack = new Dog(); //write your code here } public static class Dog { public String name; } } Question is :: Why condition ''Each Dog object must be assigned a name'' is not getting fulfilled here ? I think i m missing something.