
Which class cannot be subclass (or extended) in java? abstract class parent class Final class None of above Answer: Option C AbstractSubclass is an example of a subclass which is abstract MiddleClass is an example of a “parent class” (by Read More …
Which class cannot be subclass (or extended) in java? abstract class parent class Final class None of above Answer: Option C AbstractSubclass is an example of a subclass which is abstract MiddleClass is an example of a “parent class” (by Read More …
Java interview questions and answers Top 20 Frequently asked Interview questions in Core Java Here we have list of important questions with answers for Core java interview. Free online study material for IT companies Interview. 1. When do you override Read More …
Looking for the answer for Difference between execute, executeQuery, executeUpdate . First of all i want to tell you that these are the dml statements in JDBC . The names of these statements itself explain : executeUpdate() -> database UPDATE statements Read More …
Final class in Java here we have best answer for this question. A final class is simply a class that can’t be extended. (This does not mean that all references to objects of the class would act as if they Read More …
Fibonacci Series : 0 0 1 1 2 3 5 8 13 21 34 Program To Print Fibonacci Series in Java Language in two ways First is with the help of for loop and another one is with the help Read More …
Abstract class Interface 1) An abstract class can have method body (non-abstract methods). Interface have only abstract methods. 2) An abstract class can have instance variables. An interface cannot have instance variables. 3) An abstract class can have constructor. Interface Read More …
There are so many differences between final , finally and finalize in java language. important differences are given below Final Finally Finalize It is a Keyword It is a Block It is a Method It is used to apply restrictions Read More …