can i declare an object in java as public ? code example Example: java create new object Car mycar = new Car();