1 1 point Consider the following class declarations. public class Gamma { public double getX() { return 15.523; } public class Delta { public int do Thing() { Gamma item = new Gamma(); int temp = item.getX(); return temp/2; Which of the following best describes why an error occurs when the classes are compiled? The result of the method call item.getX() cannot be assigned to a variable of type int without casting it. The class Delta must be declared as a subclass of Gamma, The class Gamma must be declared as a subclass of Delta. The class Gamma does not have a defined constructor. The getX method cannot be accessed from a class other than Gamma.
