Answer:
Check the explanation
Explanation:
// Code to copy
public class ConstChain1 {
public static void main(String[] args)
{
new SubClass();
System.out.println();
new SubClass(1);
}
}
class SuperClass{
public SuperClass() {
System.out.println("D");
}
public SuperClass(int i) {
System.out.println("C");
}
}
class SubClass extends SuperClass{
public SubClass() {
this(10);
System.out.println("B");
}
public SubClass(int i) {
super(i);
System.out.println("A");
}
}
Explanation:
Now each time when a object of a subclass is been created it's super class constructor will be executed first then only subclass object is created by executing it's constructor.
Answer:
1111000
Explanation:
perform the following. write from right to left:
- is the number even? then write down a 0
- is the number odd? then write down a 1 and subtract 1
- divide by 2
- repeat until you reach 0.
So for 120:
120 is even, so write down a 0 and continue with 120/2=60
60 is even, so write down a 0 and continue with 60/2=30
30 is even, so write down a 0 and continue with 30/2=15
15 is odd, so write down a 1 and continue with 14/2=7
7 is odd, so write down a 1 and continue with 6/2=3
3 is odd, so write down a 1 and continue with 2/2=1
1 is odd, so write down a 1 and finish with 0
The answer is a. A Vector Graphic
Vector graphic uses polygones that represented by mathematical equations or proper tags that make it very coordination oriented and allow infinite enlargement without losing any quality
the most popular vector graphic format that being used today is SVG