How do you use final keywords and final variables in Java?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
Java programmers are unable to alter the value of variables of basic data types when they use final keywords with them.
When final is used with non-primitive variables, the members of the referred object cannot be altered.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
Java programmers are unable to alter the value of variables of basic data types when they use final keywords with them.
When final is used with non-primitive variables, the members of the referred object cannot be altered
Is This Answer Correct ? | 0 Yes | 0 No |
I was asked to draw the class diagram for the below scenario which should obey OOPS concept. A Portal is to be developed for a school , which has 3 main divisions viz , Education , Admin & Trust. Each division has 2 sub divisions Kinder Garden & Higer Secondary.
What is inheritance?
5 Answers Accenture, Hexaware, Syntel,
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
Explain naming conventions for packages?
Hi buddy, well i got that there is always a default constructor with abstract class. OK. But why not with interface? Thanks in advance.
Can you call a private data from an inner class?
What are the concepts of 'OOPS'?
Can an interface be defined inside a class?
What is difference between core java and java ee?
What is the applet security manager, and what does it provide?
What are JVM.JRE, J2EE, JNI?
What are the differences between getting and load method?