What modifiers are used for interface declaration?
Answers were Sorted based on User's Feedback
Answer / balasubramanian
Access modifier-public
Other modifier-final,abstract
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / srinivas
public modifier is used for interface declaration
| Is This Answer Correct ? | 0 Yes | 1 No |
Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }
What is the internal implementation of set in java?
what is the output ? Math.floor(-2.1) a)2 b)-2 c)-3.0 d)0
What is the default value of the local variables?
Is string a class in java?
What string is utf8?
Explain final, finalize() and finally?
What is bubble sorting in java?
When abstract methods are used?
What are kinds of processors?
Can you make a constructor final in Java?
0 Answers SwanSoft Technologies,
how to use crystal reports in java