public abstract interface Frobnicate { public void twiddle(String s); } Which is a correct class? - Study24x7
Social learning Network

Login

New to Study24X7 ?

 Join Now
39 followers study24x7 10 Dec 2020 03:02 PM study24x7 study24x7

public abstract interface Frobnicate { public void twiddle(String s); } Which is a correct class?

A

public abstract class Frob implements Frobnicate { public abstract void twiddle(String s) { } }

B

public abstract class Frob implements Frobnicate { }

C

public class Frob extends Frobnicate { public void twiddle(Integer i) { } }

D

public class Frob implements Frobnicate { public void twiddle(Integer i) { } }

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles