Computer Science, asked by uxhgdhh, 5 months ago

what is intraface!!!​

Answers

Answered by Anonymous
8

Answer:

\huge\pink{\mid{\fbox{\tt{αղsաҽɾ}}\mid}}

ᴀɴ ɪɴᴛʀᴀɴᴇᴛ ɪs ᴀ ᴘʀɪᴠᴀᴛᴇ ɴᴇᴛᴡᴏʀᴋ ᴡʜɪᴄʜ ʙᴇʜᴀᴠᴇs ᴀs ᴛʜᴇ ɪɴᴛᴇʀɴᴇᴛ. ɪɴ ᴏᴛʜᴇʀ ᴡᴏʀᴅs ᴛʜᴇ ɪɴᴛʀᴀɴᴇᴛ ᴀᴘᴘᴀʀᴇɴᴛʟʏ ʟᴏᴏᴋs ʟɪᴋᴇ ᴛʜᴇ ɪɴᴛᴇʀɴᴇᴛ ʙᴜᴛ ᴛʜᴇ ʀᴇᴀʟɪᴛʏ ɪs ɪᴛ ɪs ᴘʀɪᴠᴀᴛᴇʟʏ ᴏᴡɴᴇᴅ ɴᴇᴛᴡᴏʀᴋ. ᴛʜᴇ ᴏʀɢᴀɴɪsᴀᴛɪᴏɴ ʟɪᴋᴇ ɪɴᴅɪᴀɴ ʀᴀɪʟᴡᴀʏ, ᴀʟʟ ᴛʜᴇ ʙᴀɴᴋs, ɪɴsᴜʀᴀɴᴄᴇ ᴄᴏᴍᴘᴀɴʏ, ᴇᴛᴄ. ʜᴀᴠᴇ ʜᴀᴠᴇ ᴛʜᴇɪʀ ᴏᴡɴ ɪɴᴛʀᴀɴᴇᴛ

Answered by anindyaadhikari13
1

Correct Question:-

What is interface?

Answer:-

It is a feature in java where constant and signature or declaration of method is written. Body of the method is not present. An interface is a completely an "abstract class" that is used to group related methods with empty bodies.

Example Program:-

interface X

{

void getName(String name);

}

class Language implements X

{

public void getName(String name)

{

System.out.println("Programming Language: "+name);

}

}

class Main

{

public static void main(String[] args)

{

Language obj = new Language();

obj.getName("Java");

}

}

Similar questions