Categories
Uncategorized

Interface in java(CIA 3)

import java.util.Scanner;

interface circle

{

public static final double pie=3.14;

void get();

}

interface square

{

void display();

}

class rectangle implements circle,square

{

double length,breadth,radius;

Scanner s=new Scanner(System.in);

public void get()

     {

     System.out.println(“Enter length, breadth and radius respectively”);

     length=s.nextDouble();

     breadth=s.nextDouble();

     radius=s.nextDouble();

     }

public void display()

    {

    double ar;

    ar=length*breadth;

    System.out.println(“Area of rectangle:”+ar);

    ar=length*length;

    System.out.println(“Area of square:”+ar);

    ar=pie*radius*radius;

    System.out.println(“Area of circle:”+ar);

    }

}

class inarea

{

public static void main(String args[])

     {

     rectangle r=new rectangle();

     r.get();

     r.display();

    }

}

140 replies on “Interface in java(CIA 3)”

A person necessarily help to make critically articles I would state.
This is the first time I frequented your website page and
thus far? I surprised with the analysis you made to make this actual post amazing.
Fantastic activity!

I have been surfing online more than 3 hours today, yet I never found any interesting article like yours.

It’s pretty worth enough for me. Personally, if all web
owners and bloggers made good content as you did, the net will be a lot more useful than ever before.

Having check this out I think it is extremely enlightening.
I appreciate you spending some time as well as to place this
informative article together. I remember when i again find myself spending lots of time
both reading and commenting. But just what exactly, it was actually still worthwhile!

excellent submit, very informative. I ponder why other
specialists on this sector don’t realize this.
You should proceed your writing. I am just confident, you might have a huge readers’ base already!

Unquestionably consider that that you simply stated.

Your favorite justification seemed to be in the web the easiest thing to take note of.
I have faith that for your needs, I definitely get annoyed as well as people think of worries
they plainly usually do not understand about. You managed to hit the nail upon the most notable as neatly as defined out the whole
thing without having need side-effect , other folks could take a signal.
Will likely be back to get additional. Thanks

Maybe you have considered publishing an e-book or guest authoring on other websites?

I actually have a blog based on the very same topics you discuss and would really
love to obtain you share some stories/information. I understand my visitors would
enjoy your work. If you’re even remotely interested, feel free
to shoot me an e mail.

I’m really enjoying the design and layout of your own site.

It’s an extremely easy around the eyes rendering it much more pleasant for me
personally in the future here and visit more regularly.
Would you hire out a developer to generate your theme?

Great work!

This is really fascinating, You’re an excessively skilled blogger.
I’ve joined your feed and look forward to in the hunt for extra of your great post.
Also, I’ve shared your web site in my social networks

Does your website have a contact page? I’m having a tricky time locating it but, I’d prefer to send you an e-mail.
I’ve got a bit of recommendations for your blog you may well
be considering hearing. In any case, great website and i also look
ahead to seeing it grow over time.

Hi! I know this is kinda off topic however , I’d figured I’d ask.
Would you be interested in exchanging links or maybe guest writing a blog article or vice-versa?
My blog covers a lot of the same topics as yours and I think we could
greatly benefit from each other. If you happen to be interested feel free to shoot me an email.
I look forward to hearing from you! Superb blog
by the way!

Great post. I was checking continuously this blog and I am inspired!

Very helpful info particularly the remaining phase 🙂 I maintain such information a good deal.
I had been seeking this certain info to get a very long time.
Thanks and good luck.

After looking at several of the blog articles in your site, I honestly just like your means of blogging.

I book-marked it to my bookmark website list and will be checking back anytime soon. Check out
my website at the same time and say how you feel.

Generally I usually do not learn article on blogs, however I want to state that this write-up very compelled me to have a
look at and do so! Your writing taste is amazed me.

Thanks, very nice post.

You are so interesting! I don’t suppose I’ve truly read one particular
thing like that before. So great to get somebody else with
genuine ideas on this subject. Seriously.. many thanks for starting this up.

This website is something that’s needed on the net, someone with some originality!

You can certainly see your expertise inside the work you write.
The sector hopes for more passionate writers such as you who are certainly not
afraid to mention the direction they believe.

Constantly follow your heart.

I’m truly enjoying the design and layout of your own site.
It’s an incredibly easy about the eyes that makes it a lot more enjoyable in my opinion ahead here and
visit on a regular basis. Have you hire out a designer to produce your theme?
Exceptional work!

When someone writes an piece of writing he/she maintains the thought of your user in his/her brain that just how a user can understand it.
So that’s why this post is perfect. Thanks!

I just want to tell you that I am just very new to blogs and definitely liked your blog site. More than likely I’m going to bookmark your website . You really come with perfect stories. Thanks a bunch for revealing your blog.

I enjoy your blog.. very nice colors & theme.

Have you design this web site yourself or would you
employ someone to accomplish it for you? Plz reply
as I’m trying to design my very own blog and would want to learn where u got this from.
appreciate it

I’m pretty pleased to uncover this web site. I have to to
thanks a lot for ones time for this particularly wonderful read!!
I definitely savored every little it and i have you ever bookmarked to
think about new information on your own website.

Good day very nice blog!! Man .. Beautiful ..
Amazing .. I’ll bookmark your blog and take the feeds additionally?
I am happy to search out numerous useful info here within the submit, we’d
like work out extra strategies on this regard,
thanks for sharing. . . . . .

“I like the helpful info you provide in your articles. I’ll bookmark your blog and check again here frequently. I’m quite sure I’ll learn plenty of new stuff right here! Good luck for the next!”

Im not really that a good deal of online reader in all honesty however your blogs really nice, ensure that it stays up!
I’ll go ahead and bookmark your website to come back in the
foreseeable future. Thanks a lot

I simply want to mention I am just all new to weblog and really savored you’re web blog. More than likely I’m going to bookmark your blog post . You really have fantastic article content. Thanks for sharing with us your blog.

This is the right blog for anybody who would like to find
out about this topic. You understand a whole lot its almost hard to argue with you (not that I really will
need toHaHa). You definitely put a brand new spin on a topic which has been discussed
for many years. Wonderful stuff, just excellent!

In reality, they were so committed to twerking they would go to the Supreme Court to defend their 1st amendment appropriate to throw the d.|Soon after the New Directions watch Blaine’s scandalous twerking video,

“Hello there! Do you know if they make any plugins to safeguard against hackers? I’m kinda paranoid about losing everything I’ve worked hard on. Any recommendations?”

Skonczona viagra sprawnosc plciowa dodatkowo deficyt zagadnien z wzwod to finis coraz wiekszej grupy w dzisiejszych czasach zyjacych panow. Odwiedzajac wlasny sprawnie pelen energii serw dysponujesz moznosc wyzbycia sie stresu zas spojonych z przedtem zaburzen wzwodow zas skutecznego zabicia podstepnych zahamowan utrudniajacych Twoje stosunki plciowe. Przekazywane przy uzyciu nas konsultacje nielekarskie niewiedzione stanowia lekami na potencje za pomoca orzeczonych koneserow.

I just want to tell you that I am very new to blogs and truly loved you’re page. More than likely I’m want to bookmark your blog post . You actually come with remarkable articles. Thanks a lot for sharing with us your blog site.

Thanks on your marvelous posting! I certainly enjoyed reading it, you may be a great author. I will always bookmark your blog and will often come back in the foreseeable future. I want to encourage one to continue your great work, have a nice evening!|

As the article describes, it’s easy to achieve fitness results you can be happy with if you work hard. You don’t need to worry about how low your level of fitness is. If you follow the information that has been provided in this article, you should be able to get the results you desire.

Your body requires plenty of oxygen while working out, so it’s important to get lots of air by taking deep breaths that cause your stomach to rise when you breathe in. This also increases your lungs capacity.

I just want to tell you that I am beginner to blogging and site-building and certainly liked your web site. Likely I’m likely to bookmark your blog . You really have tremendous posts. Thanks a bunch for revealing your web site.

Vitamins A and E help with your acne. These will increase your body’s elasticity and produce collagen. Vitamin E will help your skin to become smoother and works wonders for the scars that form after acne.

I simply want to say I am just all new to blogging and really loved your web site. Likely I’m likely to bookmark your blog . You definitely have outstanding articles. Bless you for sharing with us your website page.

Are you aware that deficiencies in vitamin D, vitamin D and Omega-3 fatty acid may cause depression? Omega-3 is fast becoming the most popular supplement for a good reason.It can support your brain health as well as other functions of your body. Magnesium is one supplement that can help keep your body calm.

I simply want to tell you that I’m new to blogging and definitely liked your blog site. More than likely I’m going to bookmark your site . You certainly have really good well written articles. Appreciate it for sharing with us your blog site.

In modern fast-paced times, people often neglect their bodies eating from dollar menus and other low quality sources of food which deprive it of the necessary vitamins and minerals it needs to thrive. Get yourself some supplements to make sure you’re getting enough vitamins and minerals every day.

Write more, thats all I have to say. Literally, it seems as though you relied on the video
to make your point. You definitely know what youre talking about,
why throw away your intelligence on just posting videos to your site when you could be giving us something enlightening to read?

Comments are closed.