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 |
Can private class be inherited in java?
Does constructor be static?
What are the two ways to create a thread?
Explain 5 features introduced in jdk 1.7?
What class allows you to read objects directly from a stream?
what is java
What is casting?
solve this is my problem byte a=40,byte b=50 both add value is 90 this is with in range of byte... byte range is -128to 127.... why this pgm gives error like type mismatch.... package javapgms; public class byte1 { public static void main(String args[]) { byte a=40,b=50; byte c=a+b; System.out.println(c); } } note : dont use int k... a,b,c are in byte range... mind it..
What environment variables do I need to set on my machine in order to be able to run java programs?
How do you clear a list in java?
Can we have multiple classes in a single file?
Do I need java on my pc?