What is the % operator?
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
% is the modulus operator which will results in giving the
remainder of two numbers who stays as operands
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / mohammed salim
% is a modulus operator..And it returns the remainder of
the division operation.
| Is This Answer Correct ? | 3 Yes | 1 No |
What is null data type?
Is Java is 100% pure OOPS? Explain?
What is string in java?
What methodology can be employed to locate substrings inside a string?
What is floating data type?
What is Restrictions in hibernate?
Can we cast any other type to boolean type with type casting?
11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println(”B”); } 16. } 17. public static void main(String[] args) { 18. new B().process(); 19. } What is the result? 1 B 2 The code runs with no output. 3 Compilation fails because of an error in line 12. 4 Compilation fails because of an error in line 15.
What is java english?
we know that every java prog must follows OOPS Principles. Anybody can answer, HOW THE FOLLOWING PROGRAM FOLLOWS OOPS CONCEPTS i.e, Inheritance,Polymarphism,Encapsulation? class a{ public static void main(String args[]){ System.out.println("Hello World"); } }
what is the use of Clonable,and serializable interface?
What are implicit objects in java?