Answer:
public class Date{
Public Date(int month,int day,int year){
}
}
void main(){
Date datep=new Date(3,12,2006);
}
Explanation:
Here we declared a class "Date" and defined one public constructor which will take month,day and year. In main we created an object to that Date class by invoking this parameterized constructor and assigned that object to "dateap" Date variable
Answer: b. My name is BobBob
Explanation:
- $foo = 'Bob'; // Assigns foo variable the value Bob
- $bar = $foo; // Assigns the value of foo to bar
- $bar = "My name is $bar"; //changes the $bar this is the way to include variables directly in the string.
- print $bar; // this prints My name is and moves to the variable $bar which prints the value of $bar which is the value of $foo i.e. Bob
- print $foo; // prints another Bob
No its measured in Hertz Hz
A. B)
B. B) 1837 Douglass joins the East Baltimore Improvement Society
C. A) offers effects when moving from one slide to the next.
Hope this helps!!