Why isn’t there operator overloading?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

hi to all,i have a question on static block. i saved below as test.java class test extends a { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p as static test static but if i change base class as test class then class test { static { System.out.println("test static"); } public static void main(String []dfs) { } } class a extends test { static { System.out.println("a static"); } public static void main(String []asdf) { } } o/p test static explain me why "a static" wasn't print in second code when it is in derived class

1 Answers  


what are literals in java?

2 Answers  


What is variable explain with example?

0 Answers  


What is stream api in java8?

0 Answers  


Why is string class considered immutable?

0 Answers  






Who is founder of java?

0 Answers  


What is time complexity algorithm?

0 Answers  


Why use string handling in Java?

0 Answers   HCL,


Explain java coding standards for variables ?

0 Answers  


What are the 6 mandatory procedures for iso 9001?

0 Answers  


what are depricated methods ?

5 Answers   Satyam,


What is a vararg?

0 Answers  


Categories