Home
About Us
Privacy Policy
Disclaimer
Contact Us
Breaking News
Home
Web Development
JavaScript
php
Computer
DLD
English
Functional English
Programing
JavaScript
php
Java
C
Mega Menu
Web Development
JavaScript
php
Computer
DLD
English
Functional English
Programing
JavaScript
php
Java
C
Mega Menu
Variables in PHP. Variables are used to store data, like string of text
July 11, 2020
php
Write an HTML document that contains an input 1ext box of collect a student name and have a checkbox to select the sport he likes watching form baseball, basketball, football and volleyball form will be submitted to file sport.php. write a PHP script that displays the name of the student and the sport he likes.
July 14, 2019
JavaScript
Write Javascript function that validate the following form fields using reguler expression, (First Name, Last Name, Username, Password, Email, Phone ) Phone field contain only numbers
July 14, 2019
JavaScript
writes a program that animate the background color of a document using JavaScript.
July 14, 2019
Home
programing
inheritance example 5 (lecture 7.5)
inheritance example 5 (lecture 7.5)
by -
Brain Light
on -
April 04, 2018
class Animal{
void eat(){System.out.println("eating...");}
}
class Dog extends Animal{
void bark(){System.out.println("barking...");}
}
class TestInheritance{
public static void main(String args[]){
Dog d=new Dog();
d.bark();
d.eat();
}}
Source Lecture (Inheritance)
Next Lecture
Previous lecture
Post a Comment
0 Comments
Social Plugin
Popular Posts
Facebook
Powered by Blogger
0 Comments
Your Comment is Submitted