Home
(current)
About
Tutorial
Technologies
C#
Deep Learning
Statistics for AIML
Natural Language Processing
Machine Learning
SQL -Structured Query Language
Python
Ethical Hacking
Placement Preparation
Quantitative Aptitude
View All Tutorial
Quiz
C#
SQL -Structured Query Language
Quantitative Aptitude
Java
View All Quiz Course
Q & A
C#
Quantitative Aptitude
Java
View All Q & A course
Programs
Articles
Identity And Access Management
Artificial Intelligence & Machine Learning Project
How to publish your local website on github pages with a custom domain name?
How to download and install Xampp on Window Operating System ?
How To Download And Install MySql Workbench
How to install Pycharm ?
How to install Python ?
How to download and install Visual Studio IDE taking an example of C# (C Sharp)
View All Post
Tools
Program Compiler
Sql Compiler
Replace Multiple Text
Meta Data From Multiple Url
Contact
User
Login
Register
FRESHER BELL ALL LANGUAGE ONLINE COMPILER
Java Multiple Inheritance using Interface
Languages
Java
C
C-99
C++
C++ 14
C++ 17
PHP
Perl
Python 2
Python 3
Ruby
Go Lang
Scala
Bash Shell
SQL
Pascal
C#
VB.NET
Haskell
Objective C
Swift
Groovy
Fortran
Brainf**k
Lua
TCL
Hack
Rust
D
Ada
R Language
Free Basic
Theme
github
xcode
ambiance
monokai
chaos
chrome
Program
interface Bird1{ //Parent Class void fly(); } interface Bird2{//Parent Class void eat(); } public class Parrot implements Bird1,Bird2{ //Child Class public void fly(){ System.out.println("Parrot can Fly "); } public void eat(){ System.out.println("Parrot can eat "); } public static void main(String args[]){ Parrot p=new Parrot(); p.fly(); p.eat(); } }
Run
Clear
Input
Output
Powered By Fresher Bell™
Similar Program
#
Program
Language
1
Java Method Overriding Example
Java
2
Write a program if length of string is even, the reverse the string: MIDDLE LETTER/Reverse first half of the string if string length is ODD
Java
3
Java program to convert string to date
Java
4
Java program to calculate value using base and exponent ( power value ) using for loop
Java
5
Java For Each Loop Example
Java
6
Write a java program so that odd position char will be in uppercase & even will be lowercase
Java
7
Alternate Method 2 :Write a program to find anagram or two words of same letter
Java
8
Java Do While Loop Example 2
Java
9
Write a java program to find alternate sum and difference of a given number
Java
10
Java Logical Operator Example
Java
11
Java Abstract Class Example
Java
12
Write a program to find anagram or two words of same letter
Java
13
Java program to convert decimal to hexadecimal
Java
14
Java Left Shift Operator Program
Java
15
Java program to convert binary to decimal
Java
16
Java program to convert octal to decimal
Java
17
Java Bitwise Or Example
Java
18
Java If Else Condition Example
Java
19
Java Program to add two integer by taking input from user
Java
20
Java Program to multiply two decimal number ( floating number ) by taking input from user
Java
#
Program
Language
Copyright © 2020
Inovatik
- All rights reserved